Skip to main content

PDFCrowd Python SDK

The Python SDK provides API clients for converting HTML, PDF, and images. It supports Python 2.7 and Python 3 and has no third-party runtime dependencies.

python -m pip install pdfcrowd

See the Python documentation for authentication, conversion examples, and API references.

Error codes

Starting with version 7.0.1, status and reason codes parsed from API errors are integers. Compare error.getStatusCode() with 400, rather than "400"; use integer comparisons for error.getReasonCode() too. An error without a supplied or parsed status retains None, and an error without a parsed reason retains -1. Error messages and string output are preserved.

Migrating converter commands

Starting with version 7.0.0, this package contains only the Python API. The html2pdf, html2image, image2pdf, image2image, pdf2pdf, pdf2html, pdf2text, and pdf2image commands are provided by pdfcrowd-cli. The CLI requires Python 3.8 or later; the SDK continues to support Python 2.7.

Install the CLI with pipx:

pipx install pdfcrowd-cli
html2pdf --help

Or install it in your Python virtual environment:

python -m pip install pdfcrowd-cli
html2pdf --help

The CLI installs a compatible SDK automatically. Python applications that import pdfcrowd continue to use the API clients directly.

Metadata

Release files for pdfcrowd 7.0.1

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

Source distribution (sdist)

Source distribution for pdfcrowd 7.0.1
File Size Uploaded Provenance Actions
pdfcrowd-7.0.1.tar.gz 29.8 kB Without provenance Details for pdfcrowd-7.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pdfcrowd 7.0.1
File Interpreter ABI Platform Actions
pdfcrowd-7.0.1-py2.py3-none-any.whl Python 2, Python 3 none any Details for pdfcrowd-7.0.1-py2.py3-none-any.whl

Total release size: 57.0 kB

Release files / pdfcrowd-7.0.1.tar.gz

Download URL pdfcrowd-7.0.1.tar.gz
Size 29.8 kB
Tags Source
SHA-256 checksum
How to use checksums
13a022b812627a1a3b26b93b822e9f8285ea63aab2d3b3fa96f1fc82a14e7332
BLAKE2b-256 checksum
How to use checksums
21ed1efd4c0745cb1174f5d3f8879ce1ae781bf9d3995669aafc9d221a72689c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / pdfcrowd-7.0.1-py2.py3-none-any.whl

Download URL pdfcrowd-7.0.1-py2.py3-none-any.whl
Size 27.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
6698a486c63f9eae9487fbe55385bf168e0b3bf645667e270f614d7cd8244e81
BLAKE2b-256 checksum
How to use checksums
00a446b1d3675783c14d78035fca9e4b5ad1610c7377df8adce55dc1554ef5c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Security for pdfcrowd 7.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

7.0.1 This release

2 release files No provenance

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