odfpy 0.9
Python API and tools to manipulate OpenDocument files
Latest Version: 0.9.1
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.
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
Take also a look at the contrib folder.
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| odfpy-0.9.tar.gz (md5) | Source | 2009-03-15 12:26:06.552238 | 345KB | 1409 | |
- Author: Soren Roug <soren roug at eea europa eu>
- Home Page: http://opendocumentfellowship.com/development/projects/odfpy
-
Categories
- Development Status :: 5 - Production/Stable
- Environment :: Console
- Intended Audience :: Developers
- Intended Audience :: End Users/Desktop
- Intended Audience :: System Administrators
- License :: OSI Approved :: GNU General Public License (GPL)
- Operating System :: MacOS :: MacOS X
- Operating System :: Microsoft :: Windows
- Operating System :: POSIX
- Programming Language :: Python
- Topic :: Office/Business
- Topic :: Software Development :: Libraries :: Python Modules
- Package Index Owner: fccoelho, icemac, roug
- Package Index Maintainer: icemac, roug
- DOAP record: odfpy-0.9.xml
Log in to rate this package.
