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.
Release files for odfpy 1.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| odfpy-1.4.1.tar.gz | 717.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| odfpy-1.4.1-py2.7.egg | Legacy Egg format | - | - | Details |
Total release size: 1.0 MB
Release files / odfpy-1.4.1.tar.gz
| Download URL | odfpy-1.4.1.tar.gz |
|---|---|
| Size | 717.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
db766a6e59c5103212f3cc92ec8dd50a0f3a02790233ed0b52148b70d3c438ec
|
|
BLAKE2b-256 checksum How to use checksums |
97738ade73f6749177003f7ce3304f524774adda96e6aaab30ea79fd8fda7934
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/2.7
|
Release files / odfpy-1.4.1-py2.7.egg
| Download URL | odfpy-1.4.1-py2.7.egg |
|---|---|
| Size | 288.2 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
fc3b8d1bc098eba4a0fda865a76d9d1e577c4ceec771426bcb169a82c5e9dfe0
|
|
BLAKE2b-256 checksum How to use checksums |
b13fbf579dd4819d017620b3dd6101624dcfe553f1977630e6dc63d358905a70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/2.7
|