We’re happy to announce the release of GroupDocs.Editor for Python v26.5, available as of May 2026. This is the first public release of GroupDocs.Editor for Python via .NET, shipped as a self‑contained Python wheel on PyPI. It brings the full document‑editing capabilities of the underlying .NET library to Python: load a document, convert it to clean, editable HTML/CSS, edit that markup programmatically or in any WYSIWYG editor, then save it back to the original format — or convert it to another — with a single pip install and no MS Office, OpenOffice, or separate .NET runtime required.

What’s new in this release

  • [New feature] HTML round‑trip editing (EDTPY-1)
  • [New feature] Pythonic API surface with auto‑mapped naming conventions (EDTPY-2)
  • [New feature] Multi‑format support across Word processing, spreadsheets, presentations, PDF, email, eBooks, and text/markup formats (EDTPY-3)
  • [New feature] Format conversion via HTML intermediate (EDTPY-4)
  • [New feature] Granular editing (worksheet/slide/page range) with pagination and language metadata toggles (EDTPY-5)
  • [New feature] Resource extraction (images, fonts, CSS, audio) and folder persistence (EDTPY-6)
  • [New feature] Document introspection via get_document_info() (EDTPY-7)
  • [New feature] Form field inspection and update via editor.form_field_manager (EDTPY-8)
  • [New feature] Stream loading and context‑manager protocol for deterministic disposal (EDTPY-9)
  • [New feature] AI Agent & LLM Friendly: bundled AGENTS.md, MCP server, and machine‑readable docs (EDTPY-10)

Public API changes

The entire .NET API is exposed through Python‑native naming. Classes use PascalCase, methods and properties use snake_case (auto‑mapped to the underlying .NET PascalCase), and enum values use UPPER_SNAKE_CASE.

Classes

  • Editor — נקודת כניסה; פתיחה לפי נתיב או זרם, edit(), save(), get_document_info(), form_field_manager
  • EditableDocument — ייצוג HTML/CSS; get_content(), get_body_content(), get_embedded_html(), get_css_content(), save(), איסופי משאבים (images, fonts, css, audio, all_resources), ופקטוריות from_markup() / from_markup_and_resource_folder() / from_file()
  • FormFieldManager — קריאה ועדכון של שדות טופס ב‑Word processing
  • License, Metered — ממשקי רישוי

Options

  • Load: WordProcessingLoadOptions, SpreadsheetLoadOptions, PresentationLoadOptions, PdfLoadOptions
  • Edit: WordProcessingEditOptions, SpreadsheetEditOptions, PresentationEditOptions, PdfEditOptions, EbookEditOptions, EmailEditOptions, MarkdownEditOptions, TextEditOptions, XmlEditOptions, DelimitedTextEditOptions
  • Save: WordProcessingSaveOptions, SpreadsheetSaveOptions, PresentationSaveOptions, PdfSaveOptions, HtmlSaveOptions, MhtmlSaveOptions, MarkdownSaveOptions, XpsSaveOptions, TextSaveOptions, EbookSaveOptions, EmailSaveOptions, DelimitedTextSaveOptions

Enums

  • WordProcessingFormats, SpreadsheetFormats, PresentationFormats, FixedLayoutFormats, EBookFormats, EmailFormats, TextualFormats, FontExtractionOptions, FontEmbeddingOptions

Exceptions

  • PasswordRequiredException, IncorrectPasswordException, EncryptedException, InvalidFormatException

New features

HTML Round-Trip Editing

המרת כל מסמך נתמך ל‑HTML/CSS שניתן לעריכה ושמירתו חזרה לפורמט המקורי ללא אובדן דיוק — זרימת העבודה המרכזית של GroupDocs.Editor. ניתן לערוך את ה‑HTML באופן תכנותי או בכל עורך WYSIWYG של צד שלישי כגון CKEditor או TinyMCE.

Pythonic API Surface

ה‑API המלא של .NET נחשף באמצעות שמות טבעיים ל‑Python. מחלקות משתמשות ב‑PascalCase, שיטות ו‑properties ב‑snake_case (מתורגמות אוטומטית ל‑PascalCase של .NET), וערכי enum ב‑UPPER_SNAKE_CASE.

Multi-Format Support

API אחיד אחד עבור Word processing, spreadsheets, presentations, PDF, email, eBooks, ו‑formats של טקסט/markup.

Format Conversion via HTML

אין קריאת “convert” נפרדת — שמירת EditableDocument עם *SaveOptions שונים ממירה את המסמך דרך הביניים HTML. קלט זהה, פלט שונה.

Granular Editing

עריכת גיליון עבודה יחיד, שקופית יחידה, או טווח עמודים — כולל אפשרות להחלפת פגינציה ומטא‑נתוני שפה.

Resource Extraction

EditableDocument חושף את התמונות, הפונטים, ה‑CSS והאודיו שהוצאו כאוספים ניתנים לאיטרציה, ויכול לשמור את ה‑HTML יחד עם כל המשאבים בתיקייה.

Document Introspection

קריאת פורמט, מספר עמודים, גודל, ומצב הצפנה ללא צורך במעבר עריכה מלא.

Form Fields

בדיקה ועדכון של שדות טופס ב‑Word processing דרך editor.form_field_manager.

Streams and Context Managers

טעינה מכל זרם בינרי והסתמכות על פרוטוקול מנהל ההקשר (context‑manager) לשחרור קבוע של משאבי המסמך הטבעיים.

AI Agent & LLM Friendly

  • AGENTS.md משולב בתוך ה‑wheel המותקן — Claude Code, Cursor, ו‑GitHub Copilot מגלים אוטומטית את משטח ה‑API, דפוסי השימוש, ורמזי פתרון בעיות.
  • MCP server — הפנה את כלי ה‑AI שלך אל https://docs.groupdocs.com/mcp לקבלת תיעוד לפי דרישה.
  • Machine‑readable docs ב‑https://docs.groupdocs.com/editor/python-net/llms-full.txt עבור RAG והקשר LLM.

Code example

from groupdocs.editor import Editor, EditableDocument
from groupdocs.editor.formats import WordProcessingFormats
from groupdocs.editor.options import WordProcessingSaveOptions

with Editor("document.docx") as editor:
    editable = editor.edit()                       # document -> editable HTML
    html = editable.get_embedded_html()
    edited = EditableDocument.from_markup(html.replace("Hello", "Goodbye"))
    editor.save(edited, "document.docx", WordProcessingSaveOptions(WordProcessingFormats.DOCX))

How to get the update

PyPI

התקנה או עדכון באמצעות:

pip install groupdocs-editor-net

Direct download

הורד את ה‑wheel מהדף GroupDocs.Editor for Python via .NET 26.5.

Resources