berhoelODF

Lightweight and limited access to odf files using lxml.

It is just used by me for a limited project of converting a spreadsheet to Django data. For me this package works much faster than odfpy. Just loading my 5.7MB ods file took 1.5 minutes. This package is based on lxml, and lxml parses the XML in 2 seconds, the whole processing to Django takes about 1.5 minutes.

If you have other requirements, the code should be easily extensible.

Installation

pip install berhoelodf

Availability

The latest version should be available at my GitLab repository, the package is avaliable at pypi via pip install berhoelodf.

Documentation

Documentation is hosted on höllmanns.de.

berhoel.odf

Give access to ods files.

berhoel.odf.Odf

Base class for OpenDocument Format files.

berhoel.odf.OdfXml

Base XML handling class for ODF processing.

berhoel.odf.ods

Processing ods (OpenDocument spreadsheets).

berhoel.odf.ods.Ods

Processing ODS files.

berhoel.odf.ods.Table

Representation of spreadsheet table.

berhoel.odf.ods.Row

Representing table row.

berhoel.odf.ods.Cell

Representing a cell in a table row.

berhoel.odf.ods.P

Representing a paragraph in a cell.

Indices and tables