EzODF.py maintained by pyexcel
----------------------------------
.. image:: https://raw.githubusercontent.com/pyexcel/pyexcel.github.io/master/images/patreon.png
:target: https://www.patreon.com/pyexcel
.. image:: https://api.travis-ci.org/pyexcel/pyexcel-ezodf.svg?branch=master
:target: http://travis-ci.org/pyexcel/pyexcel-ezodf
.. image:: https://codecov.io/gh/pyexcel/pyexcel-ezodf/branch/master/graph/badge.svg
:target: https://codecov.io/gh/pyexcel/pyexcel-ezodf
.. image:: https://img.shields.io/gitter/room/gitterHQ/gitter.svg
:target: https://gitter.im/pyexcel/Lobby
Maintenance
=============
Since `T0ha/ezodf <https://github.com/T0ha/ezodf/>`_ was not updated for too long, **pyexcel**
tries to cover up the **holiday** period until @T0ha will come back to continue. **pyexcel**
is happy to push the changes if requested.
If you are a developer and are interested in this project, please apply for co-maintenanceship.
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
============
* lxml <http://codespeak.net/lxml/> for painless serialisation with prefix
declaration (xlmns:prefix="global:namespace:specifier") in the root element.
Declarations for unused prefixes are also possible.
* nose <https://nose.readthedocs.org> for testing
For CPython 2.6 compatibility:
* weakrefset <https://pypi.python.org/pypi/weakrefset> for fixing incompatibility with
weakref module before 2.7
* unittest2 <https://pypi.python.org/pypi/unittest2> for asserts like in python 2.7+
The target platform is CPython 2.7 and CPython 3.2+, work on compability with
CPython 2.6 is in progress.
Installation
============
You can install pyexcel-ezodf via pip:
.. code-block:: bash
$ pip install pyexcel-ezodf
or clone it and install it:
.. code-block:: bash
$ git clone https://github.com/pyexcel/pyexcel-ezodf.git
$ cd pyexcel-ezodf
$ python setup.py install
Documentation
=============
http://packages.python.org/ezodf
Author
================
Manfred Moitzi
Contributors
================
`Anton Shvein <https://github.com/T0ha>`_
`chfw <https://github.com/chfw>`_
`Jona <https://github.com/jonadem>`_
NEWS
====
Version 0.3.4 - 23 October 2017
* added CONTRIBUTORS.rst into tar ball
Version 0.3.3 - 17 Auguest 2017
Package name is now changed to pyexcel-ezodf but you do not need to
change your code. You stiil import it as `ezodf`
* `issue 1 <https://github.com/pyexcel/pyexcel-ezodf/issues/1>`_,
stream alike object(except StringIO) cannot be handled
* `issue 3 <https://github.com/pyexcel/pyexcel-ezodf/issues/3>`_,
`ezodf PR 21 <https://github.com/T0ha/ezodf/pull/21>`_ license.rst -> license.txt
* `issue 4 <https://github.com/pyexcel/pyexcel-ezodf/issues/4>`_,
`ezodf PR 20 <https://github.com/T0ha/ezodf/pull/20>`_ cell.value_as()
* `issue 5 <https://github.com/pyexcel/pyexcel-ezodf/issues/5>`_,
`ezodf issue 23 <https://github.com/T0ha/ezodf/pull/23>`_
restore the support for fodt and fods
* `issue 6 <https://github.com/pyexcel/pyexcel-ezodf/issues/6>`_,
`ezodf PR 17 <https://github.com/T0ha/ezodf/pull/17>`_ add Python 3.5 to test matrix
* `PR 18 <https://github.com/T0ha/ezodf/pull/18>`_,
Use cStringIO as default but keep StringIO as optional
Version 0.3.2 - December 2015
* Support wheels and python3
Version 0.3.1 - December 2015
* File-like objects utilisation improved
Version 0.3.0 - November 2014
* Maitainer changed
* Simple variables and user fields support added
* Tests system changed to nose
* Travis CI support added
* Python 2.6 - 3.4 support added
Version 0.2.5 - Juli 2012
* Alpha version
* license changed to MIT license
* development stopped - for now
Version 0.2.4 - June 2012
* Alpha version
* can open tables with many repeated rows/cols, 3 opening strategies are supported
* tested: on Win7/Ubuntu 32-Bit with CPython 2.7 and CPython 3.2
Version 0.2.3 - January 2012
* Alpha version
* tested: on Windows7 32 Bit with CPython 2.7 and CPython 3.2
Version 0.2.2 - March 2011
* Alpha version
* Spreadsheet: added cell-span management
* tested with Python 3.2 - OK
* added tobytes() method to all document classes
* opendoc() accept the zip-file content as 'bytes' instead of the filename
as parameter 'filename'
* newdoc() accept the zip-file content as 'bytes' instead of the filename
as parameter 'template'
Version 0.2.1 - 06 February 2011
* Alpha version
* added basic spreadsheet support
* Spreadsheet: added sheet, row, column and cell management
Version 0.2.0 - 18 January 2011
* Alpha version
* create new empty odt, ods, odp, odg file
* added template support - can create ott, ots, otp, otg files
* open documents - ezodf.opendoc(filename)
* create new documents - ezdof.newdoc(doctype, filename, template)
* Text: added Paragraph, Heading, Span, Hyperlink, List, Section objects
Version 0.1.0 - 02 January 2011
* Pre-Alpha version
* open/saveas ODF documents
* modify meta data
Raw data
{
"_id": null,
"home_page": "https://github.com/pyexcel/pyexcel-ezodf",
"name": "pyexcel-ezodf",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "ODF",
"author": "Manfred Moitzi",
"author_email": "mozman@gmx.at",
"download_url": "https://files.pythonhosted.org/packages/a6/8d/aba802912a3ffbaf6c3ae7f3208206f0811b72e48adff86edd0f933bb9d7/pyexcel-ezodf-0.3.4.tar.gz",
"platform": "",
"description": "EzODF.py maintained by pyexcel\n----------------------------------\n\n.. image:: https://raw.githubusercontent.com/pyexcel/pyexcel.github.io/master/images/patreon.png\n :target: https://www.patreon.com/pyexcel\n\n.. image:: https://api.travis-ci.org/pyexcel/pyexcel-ezodf.svg?branch=master\n :target: http://travis-ci.org/pyexcel/pyexcel-ezodf\n\n.. image:: https://codecov.io/gh/pyexcel/pyexcel-ezodf/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/pyexcel/pyexcel-ezodf\n\n.. image:: https://img.shields.io/gitter/room/gitterHQ/gitter.svg\n :target: https://gitter.im/pyexcel/Lobby\n\nMaintenance\n=============\n\nSince `T0ha/ezodf <https://github.com/T0ha/ezodf/>`_ was not updated for too long, **pyexcel**\ntries to cover up the **holiday** period until @T0ha will come back to continue. **pyexcel**\nis happy to push the changes if requested.\n\nIf you are a developer and are interested in this project, please apply for co-maintenanceship.\n\n\nAbstract\n========\n\n**ezodf** is a Python package to create new or open existing OpenDocument\n(ODF) files to extract, add, modify or delete document data.\n\na simple example::\n\n from ezodf import newdoc, Paragraph, Heading, Sheet\n\n odt = newdoc(doctype='odt', filename='text.odt')\n odt.body += Heading(\"Chapter 1\")\n odt.body += Paragraph(\"This is a paragraph.\")\n odt.save()\n\n ods = newdoc(doctype='ods', filename='spreadsheet.ods')\n sheet = Sheet('SHEET', size=(10, 10))\n ods.sheets += sheet\n sheet['A1'].set_value(\"cell with text\")\n sheet['B2'].set_value(3.141592)\n sheet['C3'].set_value(100, currency='USD')\n sheet['D4'].formula = \"of:=SUM([.B2];[.C3])\"\n pi = sheet[1, 1].value\n ods.save()\n\nfor more examples see: /examples folder\n\nDependencies\n============\n\n* lxml <http://codespeak.net/lxml/> for painless serialisation with prefix\n declaration (xlmns:prefix=\"global:namespace:specifier\") in the root element.\n Declarations for unused prefixes are also possible.\n\n* nose <https://nose.readthedocs.org> for testing\n\nFor CPython 2.6 compatibility:\n\n* weakrefset <https://pypi.python.org/pypi/weakrefset> for fixing incompatibility with\n weakref module before 2.7\n\n* unittest2 <https://pypi.python.org/pypi/unittest2> for asserts like in python 2.7+\n\nThe target platform is CPython 2.7 and CPython 3.2+, work on compability with \nCPython 2.6 is in progress.\n\nInstallation\n============\n\n\nYou can install pyexcel-ezodf via pip:\n\n.. code-block:: bash\n\n $ pip install pyexcel-ezodf\n\n\nor clone it and install it:\n\n.. code-block:: bash\n\n $ git clone https://github.com/pyexcel/pyexcel-ezodf.git\n $ cd pyexcel-ezodf\n $ python setup.py install\n\nDocumentation\n=============\n\nhttp://packages.python.org/ezodf\n\nAuthor\n================\n\nManfred Moitzi\n\nContributors\n================\n\n`Anton Shvein <https://github.com/T0ha>`_\n`chfw <https://github.com/chfw>`_\n`Jona <https://github.com/jonadem>`_\n\n\nNEWS\n====\n\nVersion 0.3.4 - 23 October 2017\n\n * added CONTRIBUTORS.rst into tar ball\n\nVersion 0.3.3 - 17 Auguest 2017\n\nPackage name is now changed to pyexcel-ezodf but you do not need to\nchange your code. You stiil import it as `ezodf`\n\n * `issue 1 <https://github.com/pyexcel/pyexcel-ezodf/issues/1>`_,\n\tstream alike object(except StringIO) cannot be handled\n * `issue 3 <https://github.com/pyexcel/pyexcel-ezodf/issues/3>`_,\n `ezodf PR 21 <https://github.com/T0ha/ezodf/pull/21>`_ license.rst -> license.txt\n * `issue 4 <https://github.com/pyexcel/pyexcel-ezodf/issues/4>`_,\n `ezodf PR 20 <https://github.com/T0ha/ezodf/pull/20>`_ cell.value_as()\n * `issue 5 <https://github.com/pyexcel/pyexcel-ezodf/issues/5>`_,\n\t`ezodf issue 23 <https://github.com/T0ha/ezodf/pull/23>`_\n restore the support for fodt and fods\n * `issue 6 <https://github.com/pyexcel/pyexcel-ezodf/issues/6>`_,\n `ezodf PR 17 <https://github.com/T0ha/ezodf/pull/17>`_ add Python 3.5 to test matrix\n * `PR 18 <https://github.com/T0ha/ezodf/pull/18>`_,\n\tUse cStringIO as default but keep StringIO as optional\n\nVersion 0.3.2 - December 2015\n\n * Support wheels and python3\n\nVersion 0.3.1 - December 2015\n\n * File-like objects utilisation improved\n\nVersion 0.3.0 - November 2014\n\n * Maitainer changed\n * Simple variables and user fields support added\n * Tests system changed to nose\n * Travis CI support added\n * Python 2.6 - 3.4 support added\n\nVersion 0.2.5 - Juli 2012\n\n * Alpha version\n * license changed to MIT license\n * development stopped - for now\n\nVersion 0.2.4 - June 2012\n\n * Alpha version\n * can open tables with many repeated rows/cols, 3 opening strategies are supported\n * tested: on Win7/Ubuntu 32-Bit with CPython 2.7 and CPython 3.2\n\nVersion 0.2.3 - January 2012\n\n * Alpha version\n * tested: on Windows7 32 Bit with CPython 2.7 and CPython 3.2\n\nVersion 0.2.2 - March 2011\n\n * Alpha version\n * Spreadsheet: added cell-span management\n * tested with Python 3.2 - OK\n * added tobytes() method to all document classes\n * opendoc() accept the zip-file content as 'bytes' instead of the filename\n as parameter 'filename'\n * newdoc() accept the zip-file content as 'bytes' instead of the filename\n as parameter 'template'\n\nVersion 0.2.1 - 06 February 2011\n\n * Alpha version\n * added basic spreadsheet support\n * Spreadsheet: added sheet, row, column and cell management\n\nVersion 0.2.0 - 18 January 2011\n\n * Alpha version\n * create new empty odt, ods, odp, odg file\n * added template support - can create ott, ots, otp, otg files\n * open documents - ezodf.opendoc(filename)\n * create new documents - ezdof.newdoc(doctype, filename, template)\n * Text: added Paragraph, Heading, Span, Hyperlink, List, Section objects\n\nVersion 0.1.0 - 02 January 2011\n\n * Pre-Alpha version\n * open/saveas ODF documents\n * modify meta data\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A Python package to create/manipulate OpenDocumentFormat files",
"version": "0.3.4",
"project_urls": {
"Download": "https://github.com/pyexcel/pyexcel-ezodf/archive/0.3.4.tar.gz",
"Homepage": "https://github.com/pyexcel/pyexcel-ezodf"
},
"split_keywords": [
"odf"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5bfd4a1583b47a7527669f5c9d45c031c3b4ae35a4cd34b2113ed98b1b9f1bce",
"md5": "99764abbefe5096beb0cc31a792b9e45",
"sha256": "a74ac7636a015fff31d35c5350dc5ad347ba98ecb453de4dbcbb9a9168434e8c"
},
"downloads": -1,
"filename": "pyexcel_ezodf-0.3.4-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "99764abbefe5096beb0cc31a792b9e45",
"packagetype": "bdist_wheel",
"python_version": "3.5",
"requires_python": null,
"size": 53861,
"upload_time": "2017-10-23T17:29:33",
"upload_time_iso_8601": "2017-10-23T17:29:33.750170Z",
"url": "https://files.pythonhosted.org/packages/5b/fd/4a1583b47a7527669f5c9d45c031c3b4ae35a4cd34b2113ed98b1b9f1bce/pyexcel_ezodf-0.3.4-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a68daba802912a3ffbaf6c3ae7f3208206f0811b72e48adff86edd0f933bb9d7",
"md5": "b1aa1ab668149449bbd910d4c06e5192",
"sha256": "972eeea9b0e4bab60dfc5cdcb7378cc7ba5e070a0b7282746c0182c5de011ff1"
},
"downloads": -1,
"filename": "pyexcel-ezodf-0.3.4.tar.gz",
"has_sig": false,
"md5_digest": "b1aa1ab668149449bbd910d4c06e5192",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 138679,
"upload_time": "2017-10-23T17:29:13",
"upload_time_iso_8601": "2017-10-23T17:29:13.894107Z",
"url": "https://files.pythonhosted.org/packages/a6/8d/aba802912a3ffbaf6c3ae7f3208206f0811b72e48adff86edd0f933bb9d7/pyexcel-ezodf-0.3.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2017-10-23 17:29:13",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "pyexcel",
"github_project": "pyexcel-ezodf",
"travis_ci": true,
"coveralls": false,
"github_actions": false,
"requirements": [],
"tox": true,
"lcname": "pyexcel-ezodf"
}