odfdo
Python library for OpenDocument Format
Decision gist · record as of 2026-08-14
Yes. odfdo is actively maintained, has minimal dependencies, supports current Python versions, carries no known vulnerabilities, and is licensed permissively. Install it if you need to work with ODF files programmatically—it's the primary Python library for this task and comes with both a clean API and practical command-line tools.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; lxml must be installed (automatically handled by pip).
- Low friction installation with only two runtime dependencies (lxml and typing-extensions).
- Actively maintained with a release on 2026-08-14 and recent commits.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache License 2.0 (permissive), allowing commercial and private use with minimal restrictions.
last release 2026-08-14 (0 days) · last repo commit 2026-08-14 · 135 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 146,680 downloads/mo, #11,092 on PyPI
Alternatives
Verify before relying
pip install odfdo
from odfdo import Document, Paragraph
doc = Document('text')
doc.body.append(Paragraph("Hello world!"))
doc.save("hello.odt")- Performance characteristics when working with large ODF files or complex document structures.
- Completeness of ODF 1.4 feature support relative to the full specification.
What it is and what it does
odfdo is a Python library for programmatically working with OpenDocument Format files—the ISO/IEC 26300 standard used by LibreOffice and other office suites. It lets you create new ODF documents from scratch, load and modify existing ones, and manipulate their content including text, tables, styles, and metadata. The library saves documents as ODF 1.4 and can read documents from ODF 1.0 through 1.4.
The package is built on lxml for XML handling and comes with a command-line toolkit (odfdo-diff, odfdo-markdown, odfdo-replace, odfdo-csv, and others) for common tasks like converting documents to Markdown, finding and replacing text, importing/exporting CSV data, and managing styles. It's designed for developers who need to automate document generation or manipulation without requiring LibreOffice itself.
Use it for
- Generate reports or invoices as .odt or .ods files programmatically from application data.
- Parse and extract text or table data from existing ODF documents for processing or migration.
- Batch convert ODF files to other formats (e.g., Markdown via odfdo-markdown) or between ODF versions.
- Create spreadsheets from CSV data or export spreadsheet tables to CSV for downstream processing.
- Automate document styling and metadata updates across multiple ODF files using the command-line utilities.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
odfdo is actively maintained, has minimal dependencies, supports current Python versions, carries no known vulnerabilities, and is licensed permissively. Install it if you need to work with ODF files programmatically—it's the primary Python library for this task and comes with both a clean API and practical command-line tools.
Install
odfdo on PyPI
Before you install
Low friction installation with only two runtime dependencies (lxml and typing-extensions). Actively maintained with a release on 2026-08-14 and recent commits. Tested across Python 3.10 through 3.14.
Requires Python 3.10 or later; lxml must be installed (automatically handled by pip).
License in practice
Licensed under Apache License 2.0 (permissive), allowing commercial and private use with minimal restrictions.
Quickstart
pip install odfdo
from odfdo import Document, Paragraph
doc = Document('text')
doc.body.append(Paragraph("Hello world!"))
doc.save("hello.odt")
Verify before relying
- Performance characteristics when working with large ODF files or complex document structures.
- Completeness of ODF 1.4 feature support relative to the full specification.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release <4,>=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packageslxmltyping-extensions |
| Maintenance | Actively maintained 0 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 146,680 / month, #11,092 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries :: Python Modules |
Evidence: odfdo-3.24.4-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “odt ods odp library”
- odfdoodfdo is a Python library for creating, parsing, and editing…
- py3o.templateMerges data into LibreOffice/OpenOffice templates (ODT, ODS) to…
- ezodfezodf creates, opens, and modifies OpenDocument Format (ODF)…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also ezodf · odfpy · py3o.template · pyexcel-ezodf · pyexcel-ods3 · onyx-devtools · aspose-slides · odg-client · pyhwp · docling