Skip to main content

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.3 (2019-06-27)

  • Fixes error with latest svglib release. [href]

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

Metadata

Release files for onegov.pdf 0.5.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for onegov.pdf 0.5.3
File Size Uploaded
onegov.pdf-0.5.3.tar.gz 56.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for onegov.pdf 0.5.3
File Interpreter ABI Platform
onegov.pdf-0.5.3-py3-none-any.whl Python 3 none any Details

Total release size: 113.3 kB

Release files / onegov.pdf-0.5.3.tar.gz

Download URL onegov.pdf-0.5.3.tar.gz
Size 56.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c0c079bbcd89347796942b29ef36ec2d1b12a98de18638198c78f6ffa80b0807
BLAKE2b-256 checksum
How to use checksums
adc9ab945a1252f4ec2275f46e2eb27ececd7f144e06e96c9303a6fac2c2e628
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.3

Release files / onegov.pdf-0.5.3-py3-none-any.whl

Download URL onegov.pdf-0.5.3-py3-none-any.whl
Size 56.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e0a70f65aaea38cb5c48e86c7d6f662334e75540b32c759d34cfbd2775f40fab
BLAKE2b-256 checksum
How to use checksums
6325b52bfa65f186b79884762d05f198c7b103a23cbdd8cb752d27884f5d9c12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.3

Release history Release notifications | RSS feed

This release

0.5.3 This release

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page