Python API and tools to manipulate OpenDocument files
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:
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.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|odfpy-1.3.5-py2.7.egg (285.8 kB) Copy SHA256 Checksum SHA256||2.7||Egg||Jun 11, 2017|
|odfpy-1.3.5.tar.gz (492.8 kB) Copy SHA256 Checksum SHA256||–||Source||Jun 11, 2017|