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 — خواندن و به‌روزرسانی فیلدهای فرم در پردازش متن
  • License، Metered — APIهای لایسنس

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 از طریق نام‌گذاری بومی پایتون در دسترس است. کلاس‌ها از PascalCase استفاده می‌کنند، متدها و ویژگی‌ها از snake_case (به‌صورت خودکار به PascalCase .NET زیرین نگاشت می‌شوند) و مقادیر enum از UPPER_SNAKE_CASE.

Multi-Format Support

یک API یکپارچه برای پردازش متن، صفحات گسترده، ارائه‌ها، PDF، ایمیل، eBooks و فرمت‌های متن/نشانه‌گذاری.

Format Conversion via HTML

فراخوانی جداگانهٔ “convert” وجود ندارد — ذخیرهٔ یک EditableDocument با *SaveOptions متفاوت، به‌صورت خودکار از طریق واسط HTML تبدیل می‌شود. ورودی یکسان، خروجی متفاوت.

Granular Editing

ویرایش یک کاربرگ واحد از یک کتاب‌کار، یک اسلاید واحد از یک ارائه، یا یک بازهٔ صفحات — و امکان تغییر حالت صفحه‌بندی و متادیتای زبان.

Resource Extraction

یک EditableDocument تصاویر، فونت‌ها، CSS و صداهای استخراج‌شده را به‌صورت مجموعه‌های قابل تکرار ارائه می‌دهد و می‌تواند HTML به‌همراه تمام منابع را در یک پوشه ذخیره کند.

Document Introspection

بدون نیاز به یک پاس کامل ویرایش، می‌توانید فرمت، تعداد صفحات، اندازه و وضعیت رمزنگاری سند را بخوانید.

Form Fields

فیلدهای فرم پردازش متن را از طریق editor.form_field_manager بررسی و به‌روزرسانی کنید.

Streams and Context Managers

از هر استریم باینری بارگذاری کنید و با استفاده از پروتکل context‑manager، تخلیهٔ تعیین‌پذیر هندل‌های بومی سند را تضمین کنید.

AI Agent & LLM Friendly

  • AGENTS.md داخل چرخ‌دندهٔ نصب‌شده — Claude Code، Cursor و GitHub Copilot به‌صورت خودکار سطح API، الگوهای استفاده و نکات عیب‌یابی را کشف می‌کنند.
  • MCP server — ابزار هوش مصنوعی خود را به 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

چرخ‌دنده را از صفحهٔ GroupDocs.Editor for Python via .NET 26.5 دانلود کنید.

Resources