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 hashes)

Uploaded Source

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