Skip to main content

A library to create PDF reports for the Canton of Zug

Project description

Usage

Create a subclass of ReportZug and provide the populate method. To generate the PDF, call build.

SVG

This package uses svglib which does not run properly with Python 3. To use SVG files with Python 2, install the svglib package. To use this package with Python 3, make sure get_logo of your report return None.

Run the Tests

Install tox and run it:

pip install tox
tox

Limit the tests to a specific python version:

tox -e py27

Conventions

Kantonzugpdf follows PEP8 as close as possible. To test for it run:

tox -e pep8

Kantonzugpdf uses Semantic Versioning

Build Status

Build Status

Coverage

Project Coverage

Latests PyPI Release

Latest PyPI Release

License

kantonzugpdf is released under GPLv2

Changelog

0.2.1 (2015-05-07)

  • Include missing resources. [msom]

0.2 (2015-05-07)

  • Use and embed a free font to better support unicode characters #1. [msom]

0.1.2 (2015-01-21)

  • Fix description in setup.py”. [msom]

0.1.1 (2015-01-21)

  • Update readme. [msom]

0.1.0 (2015-01-21)

  • Initial release. [msom]

Project details


Download files

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

Source Distribution

kantonzugpdf-0.2.1.tar.gz (1.7 MB view details)

Uploaded Source

File details

Details for the file kantonzugpdf-0.2.1.tar.gz.

File metadata

File hashes

Hashes for kantonzugpdf-0.2.1.tar.gz
Algorithm Hash digest
SHA256 1d66bcfc50b0aba3797bdda0d9a7b23a78690f8b47615740abe3a17cf0a682d6
MD5 d412e111b01476e7b9f4b20f7a38496e
BLAKE2b-256 d6c4082622c4b0ef1fb98d638687b91a9dc8db6b253086a3738964559750492d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page