Skip to content
forked from T0ha/ezodf

ezodf is a Python package to create new or open existing OpenDocument (ODF) files to extract, add, modify or delete document data, forked from dead project https://bitbucket.org/mozman/ezodf

License

Notifications You must be signed in to change notification settings

moonrabbit/ezodf

This branch is 30 commits behind T0ha/ezodf:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8087b2a · Mar 16, 2015
Feb 26, 2015
Nov 28, 2014
Mar 15, 2015
Oct 17, 2014
Feb 26, 2015
Aug 27, 2014
Dec 1, 2014
Oct 10, 2014
Jul 27, 2013
Jul 2, 2014
Nov 24, 2014
Dec 1, 2014
Nov 24, 2014
Feb 11, 2011
Aug 2, 2012
Dec 1, 2014
Nov 24, 2014
Jan 27, 2015

Repository files navigation

EzODF.py

https://travis-ci.org/T0ha/ezodf.svg?branch=master

If you want to support us

https://api.flattr.com/button/flattr-badge-large.png

Abstract

ezodf is a Python package to create new or open existing OpenDocument (ODF) files to extract, add, modify or delete document data.

a simple example:

from ezodf import newdoc, Paragraph, Heading, Sheet

odt = newdoc(doctype='odt', filename='text.odt')
odt.body += Heading("Chapter 1")
odt.body += Paragraph("This is a paragraph.")
odt.save()

ods = newdoc(doctype='ods', filename='spreadsheet.ods')
sheet = Sheet('SHEET', size=(10, 10))
ods.sheets += sheet
sheet['A1'].set_value("cell with text")
sheet['B2'].set_value(3.141592)
sheet['C3'].set_value(100, currency='USD')
sheet['D4'].formula = "of:=SUM([.B2];[.C3])"
pi = sheet[1, 1].value
ods.save()

for more examples see: /examples folder

Dependencies

For CPython 2.6 compatibility:

The target platform is CPython 2.7 and CPython 3.2+, work on compability with CPython 2.6 is in progress.

Installation

with pip:

pip install ezodf

or from source:

python setup.py install

Documentation

http://packages.python.org/ezodf

send feedback to t0hashvein@gmail..com

ezodf can be found on GitHub at:

https://github.com/T0ha/ezodf

About

ezodf is a Python package to create new or open existing OpenDocument (ODF) files to extract, add, modify or delete document data, forked from dead project https://bitbucket.org/mozman/ezodf

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.9%
  • Other 0.1%