You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Søren Roug 574f0fafad Updated to new dev0 version 11 months ago
contrib Use defusedxml which protects against a bunch of XML-vulnerabilities. 4 years ago
csv2ods Make it compatible with Python 2.6. 7 years ago
doc built developer's library reference for release-1.2.4 8 years ago
examples Update datatable.py 1 year ago
grammar Use defusedxml which protects against a bunch of XML-vulnerabilities. 4 years ago
mailodf Make it compatible with Python 2.6. 7 years ago
manual Update the manual to odf 1.1 13 years ago
odf Updated to new dev0 version 11 months ago
odf2mht Make it compatible with Python 2.6. 7 years ago
odf2xhtml Make it compatible with Python 2.6. 7 years ago
odf2xml Make it compatible with Python 2.6. 7 years ago
odfimgimport Make it compatible with Python 2.6. 7 years ago
odflint Make it compatible with Python 2.6. 7 years ago
odfmeta * fixed a lot of issues due to inconsistencies of the code initially 8 years ago
odfoutline * fixed a lot of issues due to inconsistencies of the code initially 8 years ago
odfuserfield Make it compatible with Python 2.6. 7 years ago
samples Unittest for XMLGenerator 14 years ago
tests Fix bug in __replaceGenerator() 11 months ago
xml2odf * fixed a lot of issues due to inconsistencies of the code initially 8 years ago
.gitignore Add support for Python 3.7. 4 years ago
.travis.yml Added Support for Linux On power 2 years ago
APACHE-LICENSE-2.0.txt Added the Apache license 13 years ago
ChangeLog Update to version 1.3.0 8 years ago
GPL-LICENSE-2.txt Reinstated the GPL license as an option. 8 years ago
HOWTODIST Add scale-to-X and scale-to-Y attributes to page-layout-properties 3 years ago
MANIFEST.in MANIFEST.in: Add ChangeLog 3 years ago
README.md Removed obsolete ideas 1 year ago
api-for-odfpy.odt Typo 13 years ago
config.dox Don't put timestamp in HTML footer. 6 years ago
setup.cfg Add `tox` as test runner + update Travis configuration. 5 years ago
setup.py Updated to new dev0 version 11 months ago
tox.ini Add support for Python 3.7. 4 years ago

README.md

ODFPY

This is a collection of utility programs written in Python to manipulate OpenDocument 1.2 files.

How to proceed: Each application has its own directory. In there, look at the manual pages. The Python-based tools need the odf library. Just make a symbolic link like this: ln -s ../odf odf ... or type: make

For your own use of the odf library, see api-for-odfpy.odt

INSTALLATION

First you get the package.

$ git clone https://github.com/eea/odfpy.git

Then you can build and install the library for Python2 and Python3:

$ python setup.py build
$ python3 setup.py build
$ su
# python setup.py install
# python3 setup.py install

The library is incompatible with PyXML.

RUNNING TESTS

Install tox via pip when running the tests for the first time:

$ pip install tox

Run the tests for all supported python versions:

$ tox

REDISTRIBUTION LICENSE

This project, with the exception of the OpenDocument schemas, are Copyright (C) 2006-2014, Daniel Carrera, Alex Hudson, Søren Roug, Thomas Zander, Roman Fordinal, Michael Howitz and Georges Khaznadar.

It is distributed under both GNU General Public License v.2 or (at your option) any later version or APACHE License v.2. See GPL-LICENSE-2.txt and APACHE-LICENSE-2.0.txt.

The OpenDocument RelaxNG Schemas are Copyright © OASIS Open 2005. See the schema files for their copyright notice.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.