Skip to main content

PDF for OneGov.

Project description

Run the Tests

Install tox and run it:

pip install tox
tox

Limit the tests to a specific python version:

tox -e py27

Conventions

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

tox -e pep8

Onegov PDF uses Semantic Versioning

Build Status

Build Status

Coverage

Project Coverage

Latest PyPI Release

Latest PyPI Release

License

onegov.pdf is released under GPLv2

Changelog

0.5.2 (2019-02-01)

  • Fixes tests. [msom]

0.5.1 (2018-12-09)

  • Updates requirements. [msom]

0.5.0 (2018-11-28)

  • Allows to add SVG header logos. [msom]

0.4.0 (2018-10-30)

  • Allows to add table of contents to PDFs. [msom]

  • Allows to add h5 and h6 headings to PDFs. [msom]

  • Allows to add a header by level. [msom]

  • Allows to add images to PDFs. [msom]

  • Allows to add a creation date to the header. [msom]

  • Adds an option to linkify the html when adding to PDFs. [msom]

0.3.5 (2018-10-04)

  • Adds missing html5lib dependency. [href]

0.3.4 (2018-05-21)

  • Fixes adding mini html for an empty string throwing an error. [msom]

0.3.3 (2018-01-18)

  • Fixes handling of whitespace in mini html. [msom]

0.3.2 (2018-01-11)

  • Adds support for indentation of lists. [msom]

  • Fixes handling of whitespace in mini html. [msom]

0.3.1 (2018-01-10)

  • Requires Python 3.6. [href]

  • Adds compatibility with onegov.file. [msom]

0.3.0 (2017-11-17)

  • Rewrites the mini_html function to use list flowables and a HTML sanitizer/ cleaner. [msom]

  • Adds h4. [msom]

0.2.0 (2017-11-14)

  • Adds a generic header and footer. [msom]

0.1.1 (2017-11-13)

  • Adds lexwork PDF signer. [msom]

0.1.0 (2017-11-13)

  • Initial Release

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

onegov.pdf-0.5.2.tar.gz (56.4 kB view details)

Uploaded Source

Built Distribution

onegov.pdf-0.5.2-py3-none-any.whl (56.8 kB view details)

Uploaded Python 3

File details

Details for the file onegov.pdf-0.5.2.tar.gz.

File metadata

  • Download URL: onegov.pdf-0.5.2.tar.gz
  • Upload date:
  • Size: 56.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.2 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.3

File hashes

Hashes for onegov.pdf-0.5.2.tar.gz
Algorithm Hash digest
SHA256 6c65d24e0faeff1d0129012f25af3a4535e0c528422777871d2dc51692c90ce1
MD5 81fa1ee694f93185a7d8166c701b44d5
BLAKE2b-256 5cd6bc50cc9b642abe6ad3a8371d8254167f2694b17e87a48c40cd066dbd0fe4

See more details on using hashes here.

File details

Details for the file onegov.pdf-0.5.2-py3-none-any.whl.

File metadata

  • Download URL: onegov.pdf-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 56.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.2 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.3

File hashes

Hashes for onegov.pdf-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b40839001bf4c4f7d5ef64b1fe82238c18657e525ceb60ab40b07e09adc5fa84
MD5 55b67204e7ce8cd3ef8792828c2d21b8
BLAKE2b-256 282594de1084e65e630ece7448f36bc4dec8ed20b64bdc055a8747e8f70a9a8d

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