Skip to main content

Odfpy is a library to read and write OpenDocument v. 1.2 files. The main focus has been to prevent the programmer from creating invalid documents. It has checks that raise an exception if the programmer adds an invalid element, adds an attribute unknown to the grammar, forgets to add a required attribute or adds text to an element that doesn’t allow it.

These checks and the API itself were generated from the RelaxNG schema, and then hand-edited. Therefore the API is complete and can handle all ODF constructions.

In addition to the API, there are a few scripts:

  • csv2odf - Create OpenDocument spreadsheet from comma separated values

  • mailodf - Email ODF file as HTML archive

  • odf2xhtml - Convert ODF to (X)HTML

  • odf2mht - Convert ODF to HTML archive

  • odf2xml - Create OpenDocument XML file from OD? package

  • odfimgimport - Import external images

  • odflint - Check ODF file for problems

  • odfmeta - List or change the metadata of an ODF file

  • odfoutline - Show outline of OpenDocument

  • odfuserfield - List or change the user-field declarations in an ODF file

  • xml2odf - Create OD? package from OpenDocument in XML form

The source code is at https://github.com/eea/odfpy

Visit https://github.com/eea/odfpy/wiki for documentation and examples.

The code at https://joinup.ec.europa.eu/software/odfpy/home is obsolete.

Metadata

Release files for odfpy 1.3.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for odfpy 1.3.5
File Size Uploaded
odfpy-1.3.5.tar.gz 492.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for odfpy 1.3.5
File Interpreter ABI Platform
odfpy-1.3.5-py2.7.egg Legacy Egg format - - Details

Total release size: 778.6 kB

Release files / odfpy-1.3.5.tar.gz

Download URL odfpy-1.3.5.tar.gz
Size 492.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6f8163f8464868cff9421a058f25566e41d73c8f7e849c021b86630941b44366
BLAKE2b-256 checksum
How to use checksums
9d321428fe19eba9e3ebedd00194ecb2c7261d7114aa72c9aed019097b746066
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / odfpy-1.3.5-py2.7.egg

Download URL odfpy-1.3.5-py2.7.egg
Size 285.8 kB
Tags Egg
SHA-256 checksum
How to use checksums
6db9bb1c9ea2d55d60e508a1318fd285442a8342b785704ea08598a260875a83
BLAKE2b-256 checksum
How to use checksums
b3881879154ac9525508956887a49451d5aa3727b3a6616986655fe99d8d3039
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

1.4.1

2 release files

1.4.0

2 release files

1.3.6

2 release files

This release

1.3.5 This release

2 release files

1.3.4

2 release files

1.3.3

1 release file

1.3.2

1 release file

1.3.1

1 release file

1.3.0

1 release file

1.2.0dev

0.9.6

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page