ezodf


Nameezodf JSON
Version 0.3.2 PyPI version JSON
download
home_pagehttps://github.com/T0ha/ezodf
SummaryA Python package to create/manipulate OpenDocumentFormat files.
upload_time2015-12-14 06:48:55
maintainer
docs_urlhttps://pythonhosted.org/ezodf/
authorAnton Shvein
requires_python
licenseMIT License
keywords odf opendocumentformat openoffice libreoffice
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            EzODF.py
--------

.. image:: https://travis-ci.org/T0ha/ezodf.svg?branch=master
    :target: https://travis-ci.org/T0ha/ezodf
If you want to support us

.. image:: https://api.flattr.com/button/flattr-badge-large.png
    :target: https://flattr.com/submit/auto?user_id=t0ha&url=https://github.com/T0ha/ezodf&title=ezodf&language=python&tags=github&category=software

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
============

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

NEWS
====

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/T0ha/ezodf",
    "name": "ezodf",
    "maintainer": "",
    "docs_url": "https://pythonhosted.org/ezodf/",
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "ODF,OpenDocumentFormat,OpenOffice,LibreOffice",
    "author": "Anton Shvein",
    "author_email": "t0hashvein@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/6f/c5/e966935c26d58d7e3d962270be61be972409084374d4093f478d1f82e8af/ezodf-0.3.2.tar.gz",
    "platform": "OS Independent",
    "description": "EzODF.py\n--------\n\n.. image:: https://travis-ci.org/T0ha/ezodf.svg?branch=master\n    :target: https://travis-ci.org/T0ha/ezodf\nIf you want to support us\n\n.. image:: https://api.flattr.com/button/flattr-badge-large.png\n    :target: https://flattr.com/submit/auto?user_id=t0ha&url=https://github.com/T0ha/ezodf&title=ezodf&language=python&tags=github&category=software\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\nwith pip::\n\n    pip install ezodf\n\nor from source::\n\n    python setup.py install\n\nDocumentation\n=============\n\nhttp://packages.python.org/ezodf\n\nsend feedback to t0hashvein@gmail..com\n\nezodf can be found on GitHub at:\n\nhttps://github.com/T0ha/ezodf\n\nNEWS\n====\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",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "A Python package to create/manipulate OpenDocumentFormat files.",
    "version": "0.3.2",
    "project_urls": {
        "Download": "https://github.com/T0ha/ezodf/releases",
        "Homepage": "https://github.com/T0ha/ezodf"
    },
    "split_keywords": [
        "odf",
        "opendocumentformat",
        "openoffice",
        "libreoffice"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6fc5e966935c26d58d7e3d962270be61be972409084374d4093f478d1f82e8af",
                "md5": "b12670b60b49d3c35338fd46493071fc",
                "sha256": "000da534f689c6d55297a08f9e2ed7eada9810d194d31d164388162fb391122d"
            },
            "downloads": -1,
            "filename": "ezodf-0.3.2.tar.gz",
            "has_sig": false,
            "md5_digest": "b12670b60b49d3c35338fd46493071fc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 125940,
            "upload_time": "2015-12-14T06:48:55",
            "upload_time_iso_8601": "2015-12-14T06:48:55.187272Z",
            "url": "https://files.pythonhosted.org/packages/6f/c5/e966935c26d58d7e3d962270be61be972409084374d4093f478d1f82e8af/ezodf-0.3.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2015-12-14 06:48:55",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "T0ha",
    "github_project": "ezodf",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "tox": true,
    "lcname": "ezodf"
}
        
Elapsed time: 3.32513s