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— entry point; open by path or stream,edit(),save(),get_document_info(),form_field_managerEditableDocument— HTML/CSS representation;get_content(),get_body_content(),get_embedded_html(),get_css_content(),save(), resource collections (images,fonts,css,audio,all_resources), and thefrom_markup()/from_markup_and_resource_folder()/from_file()factoriesFormFieldManager— read and update Word‑processing form fieldsLicense,Metered— licensing APIs
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 editor ของบุคคลที่สามเช่น CKEditor หรือ TinyMCE
Pythonic API Surface
API ทั้งหมดของ .NET ถูกเปิดเผยผ่านการตั้งชื่อแบบ Python‑native. คลาสใช้ PascalCase, เมธอดและพร็อพเพอร์ตี้ใช้ snake_case (แมปอัตโนมัติไปยัง .NET PascalCase), และค่า enum ใช้ UPPER_SNAKE_CASE
Multi‑Format Support
API เดียวที่ทำงานร่วมกันสำหรับ Word processing, spreadsheets, presentations, PDF, email, eBooks, และรูปแบบข้อความ/markup ต่าง ๆ
Format Conversion via HTML
ไม่มีเมธอด “convert” แยกต่างหาก — การบันทึก EditableDocument ด้วย *SaveOptions ที่ต่างกันจะทำการแปลงผ่านขั้นตอน HTML โดยอัตโนมัติ ใช้อินพุตเดียว ผลลัพธ์ต่างกันตามตัวเลือกการบันทึก
Granular Editing
แก้ไขแผ่นงานเดียวของ workbook, สไลด์เดียวของ presentation, หรือช่วงหน้าใดหน้าหนึ่ง — พร้อมสลับการแบ่งหน้าและเมตาดาต้าภาษา
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
Install or upgrade via:
pip install groupdocs-editor-net
Direct download
Download the wheel from the