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 (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.tar.gz (8.7 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: kantonzugpdf-0.2.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for kantonzugpdf-0.2.tar.gz
Algorithm Hash digest
SHA256 39c9db047474f0508268b193745bd31a7c06ba84638ffa3f64c0924db2f4989f
MD5 85529d3a84da3537647ebd250e7fdfaf
BLAKE2b-256 ec1b1f1af9c34d198c4d544eb494a9e8b4dbce4ed29aa3c29048cb0cae398b61

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