Skip to main content

The Pdfcrowd API lets you easily create PDF from web pages or raw HTML code in your Python applications.

To use the API, you need an account on pdfcrowd.com, if you don’t have one you can sign up here. This will give you a username and an API key.

An example:

import pdfcrowd

try:
    # create an API client instance
    client = pdfcrowd.Client("username", "apikey")

    # convert a web page and store the generated PDF into a pdf variable
    pdf = client.convertURI('http://example.com')

    # convert an HTML string and save the result to a file
    html="<html><body>In-memory HTML.</body></html>"
    client.convertHtml(html, open('html.pdf', 'wb'))

    # convert an HTML file
    client.convertFile('/path/to/local/file.html', open('file.pdf', 'wb'))

except pdfcrowd.Error, why:
    print 'Failed:', why

Metadata

Release files for pdfcrowd 2.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 pdfcrowd 2.3
File Size Uploaded Provenance Actions
pdfcrowd-2.3.tar.gz 5.5 kB Without provenance Details for pdfcrowd-2.3.tar.gz

Release files / pdfcrowd-2.3.tar.gz

Download URL pdfcrowd-2.3.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
86f9a5121c6ec1a1e796b89bb114bc2e6bc270fb57d5cef8b6874b7c2e1c0524
BLAKE2b-256 checksum
How to use checksums
037329cd862dd38172ff7834ae4fcba768074859e9ee3be256842a64e2039112
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for pdfcrowd 2.3

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

2.3 This release

1 release file 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