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

License

kantonzugpdf is released under GPLv2

Changelog

0.3 (2012-12-14)

  • Add support for markup paragraphs and images. [msom]

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.3.tar.gz (1.7 MB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: kantonzugpdf-0.3.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for kantonzugpdf-0.3.tar.gz
Algorithm Hash digest
SHA256 54820c8c4d249cf62157d3560b0c2a2d42292c1caef2960ccbd8a2346a6429fd
MD5 020b95060dcc1ac71e482286376ceadb
BLAKE2b-256 7c7e70769d2985d8bde100d50f5e26337966ae966c06b05d45005adfc2a405b2

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