Package odfpy

Python library for manipulating OpenDocument files

https://joinup.ec.europa.eu/software/odfpy/home

Odfpy aims to be a complete API for OpenDocument in Python. Unlike
other more convenient APIs, this one is essentially an abstraction
layer just above the XML format. 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, but could be improved in its
understanding of data types.

General Commands (Section 1)
csv2ods
This program reads a file in CSV format - table of columns delimited by commas, tabs or any other character. It then creates a spreadsheet. If a value looks...
mailodf
mailodf is a program that will create a MIME-encapsulated web archive and then sends it as an email. Most email programs that understand HTML understands this...
odf2mht
Odf2mht is a program that will create a MIME-encapsulated web archive (.mht) format where images are preserved. The file can be read by Internet Explorer...
odf2xhtml
odf2xhtml is a program that will create a webpage (.html) from the input file and will write the webpage to stdout. "Path" is assumed to be an OpenDocument file...
odf2xml
OpenDocument can be a complete office document in a single XML file. The script will take an OpenDocument and create an XML file This is mainly useful XML...
odfimgimport
If you copy and paste html from your webbrowser to your word processor, the pictures in the pasted text will still load the images from the Internet. This...
odflint
odflint is a program that will check an ODF file and give warning if it finds something suspect. It is not able to make a full validation due to the complexity...
odfmeta
odfmeta is a program that will list or change the metadata in an OpenDocument file. This is useful for version control systems. You can change title, keywords...
odfoutline
odfoutline is a simple program that will show the headings in the file and the level the heading is. “Path” is assumed to be an OpenDocument file of text...
odfuserfield
Odfuserfield is a program that will list or change the user variable declarations in an OpenDocument file. There are two kinds of variables in OpenDocument...
xml2odf
OpenDocument can be a complete office document in a single XML file. The script will take such a document and create a package. This is mainly useful as a...