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.

このリリースの新機能

  • [New feature] HTML ラウンドトリップ編集 (EDTPY-1)
  • [New feature] Pythonic API インターフェース(自動マッピングされた命名規則) (EDTPY-2)
  • [New feature] ワードプロセッシング、スプレッドシート、プレゼンテーション、PDF、メール、eBook、テキスト/マークアップ形式を横断するマルチフォーマットサポート (EDTPY-3)
  • [New feature] HTML 中間形式によるフォーマット変換 (EDTPY-4)
  • [New feature] ページネーションと言語メタデータ切替が可能な細粒度編集(ワークシート/スライド/ページ範囲) (EDTPY-5)
  • [New feature] 画像、フォント、CSS、オーディオのリソース抽出とフォルダー永続化 (EDTPY-6)
  • [New feature] get_document_info() によるドキュメント内省 (EDTPY-7)
  • [New feature] editor.form_field_manager を介したフォームフィールドの検査と更新 (EDTPY-8)
  • [New feature] ストリーム読み込みと決定的破棄のためのコンテキストマネージャプロトコル (EDTPY-9)
  • [New feature] AI エージェント & LLM フレンドリー:バンドルされた AGENTS.md、MCP サーバー、機械可読ドキュメント (EDTPY-10)

公開APIの変更

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.

クラス

  • Editor — エントリーポイント;パスまたはストリームで開き、edit()save()get_document_info()form_field_manager
  • EditableDocument — HTML/CSS 表現;get_content()get_body_content()get_embedded_html()get_css_content()save()、リソースコレクション(imagesfontscssaudioall_resources)および from_markup() / from_markup_and_resource_folder() / from_file() ファクトリ
  • FormFieldManager — Word‑processing フォームフィールドの読み取りと更新
  • LicenseMetered — ライセンス API

オプション

  • Load: WordProcessingLoadOptionsSpreadsheetLoadOptionsPresentationLoadOptionsPdfLoadOptions
  • Edit: WordProcessingEditOptionsSpreadsheetEditOptionsPresentationEditOptionsPdfEditOptionsEbookEditOptionsEmailEditOptionsMarkdownEditOptionsTextEditOptionsXmlEditOptionsDelimitedTextEditOptions
  • Save: WordProcessingSaveOptionsSpreadsheetSaveOptionsPresentationSaveOptionsPdfSaveOptionsHtmlSaveOptionsMhtmlSaveOptionsMarkdownSaveOptionsXpsSaveOptionsTextSaveOptionsEbookSaveOptionsEmailSaveOptionsDelimitedTextSaveOptions

列挙型

  • WordProcessingFormatsSpreadsheetFormatsPresentationFormatsFixedLayoutFormatsEBookFormatsEmailFormatsTextualFormatsFontExtractionOptionsFontEmbeddingOptions

例外

  • PasswordRequiredExceptionIncorrectPasswordExceptionEncryptedExceptionInvalidFormatException

新機能

HTML ラウンドトリップ編集

任意のサポート対象ドキュメントを編集可能な HTML/CSS に変換し、忠実度を失うことなく元の形式に戻すことができます — これが GroupDocs.Editor のコアワークフローです。HTML はプログラムからでも、CKEditor や TinyMCE などのサードパーティ WYSIWYG エディタでも編集可能です。

Pythonic API インターフェース

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.

マルチフォーマットサポート

Word プロセッシング、スプレッドシート、プレゼンテーション、PDF、メール、eBook、テキスト/マークアップ形式を横断する統一 API。

HTML を介したフォーマット変換

別個の “convert” 呼び出しは不要です — 異なる *SaveOptionsEditableDocument を保存すると、HTML 中間形式を経由して変換されます。同じ入力で異なる出力が得られます。

細粒度編集

ワークブックの単一ワークシート、デッキの単一スライド、またはページ範囲を編集し、ページネーションと語彙メタデータの切替が可能です。

リソース抽出

EditableDocument は抽出された画像、フォント、CSS、オーディオをイテラブルコレクションとして公開し、HTML とすべてのリソースをフォルダーに永続化できます。

ドキュメント内省

フル編集パスを行わずに、フォーマット、ページ数、サイズ、暗号化状態を取得できます。

フォームフィールド

editor.form_field_manager を通じて Word‑processing フォームフィールドを検査・更新できます。

ストリームとコンテキストマネ