Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.

Configurations

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 / OpenOffice.org, which provides conversion from odt file to pdf from the console or Python script.

We recommend to use the library PyODConverter: https://github.com/dieselpoweredkitten/pyodconverter

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

INKPY = {
    'script_path': '/path/to/your/convert/script.py',
    'tmp_dir': '/tmp/inkpy'
}
INSTALLED_APPS = INSTALLED_APPS + ['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=127.0.0.1,port=2002,tcpNoDelay=1;urp;StarOffice.Service'

Change Log

0.0.1-alpha

Released on March 14, 2014

This is the alpha release of Inkpy.

  • alpha release

Metadata

Release files for inkpy 0.0.1-alpha

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for inkpy 0.0.1-alpha
File Size Uploaded
inkpy-0.0.1-alpha.tar.gz 5.5 kB Details

Release files / inkpy-0.0.1-alpha.tar.gz

Download URL inkpy-0.0.1-alpha.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
123993a744874a03d2d37c102e426b0a37ab3386373583e3ef90238fb4c7cc13
BLAKE2b-256 checksum
How to use checksums
260e7d9fd60d58c37983252631cfb6085bc0efefa4e2ec5718b75171e2ad18f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page