Skip to main content

InkPy - provide tool to fill Django style template in odt file

Project description

Django app provide interface to fill Django style template in odt file, and additionally convert odt to pdf file. Can be run synchronously or asynchronously mode.


This tool provide interface to fill Django style template in odt file. Your task is to provide a python script which takes 2 arguments: odt file path, and the path to save the file pdf.

The recommended way is to use the services LibreOffice /, which provides conversion from odt file to pdf from the console or Python script.

We recommend to use the library PyODConverter:

We need also to define the value in the configuration file, and add the application to INSTALLED_APPS:

    'script_path': '/path/to/your/convert/',
    'tmp_dir': '/tmp/inkpy'

To install LibreOffice in Ubuntu use:

$ sudo apt-get install libreoffice libreoffice-common openjdk-7-jre unoconv

To run LibreOffice service use:

$ soffice --nologo --headless --nofirststartwizard --accept='socket,host=,port=2002,tcpNoDelay=1;urp;StarOffice.Service'

Change Log


Released on June 3, 2014

This is the feature relese.

  • expanded generate_pdf function with locale param,
  • travis-ci support,


Released on May 14, 2014

This is the bugfix release.

  • bugfix installation error,


Released on March 14, 2014

This is the alpha release of Inkpy.

  • alpha release

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for inkpy, version 0.1.0-alpha
Filename, size File type Python version Upload date Hashes
Filename, size inkpy-0.1.0-alpha.tar.gz (7.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page