Skip to main content

pdfrender — Python SDK

HTML and CSS to PDF API and MCP server. WeasyPrint with page headers, footers and page numbers, no headless browser. Hosted in Germany.

pip install pdfrender

Get an API key and pass it to the client:

import os

from pdfrender import AuthenticatedClient
from pdfrender.api.account import get_me

client = AuthenticatedClient(
    base_url="https://api.pdfrender.dev",
    token=os.environ["PDFRENDER_API_KEY"],
    auth_header_name="X-API-Key",
    prefix="",
)
print(get_me.sync(client=client))

Every operation is a module with sync, sync_detailed, asyncio and asyncio_detailed; file fields take a pdfrender.types.File(payload=..., file_name=..., mime_type=...).

Operations

Operation Module What it does
GET /v1/me pdfrender.api.account.get_me Your plan, remaining requests, and remaining credits
POST /v1/render pdfrender.api.render.render_html_to_pdf Render an HTML document to a PDF

Generated with openapi-python-client from openapi.sdk.json. API reference: https://pdfrender.dev/docs · Support: https://pdfrender.dev/support

Metadata

Release files for pdfrender 1.0.11

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

Source distribution (sdist)

Source distribution for pdfrender 1.0.11
File Size Uploaded Provenance Actions
pdfrender-1.0.11.tar.gz 10.6 kB With provenance Details for pdfrender-1.0.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pdfrender 1.0.11
File Interpreter ABI Platform Actions
pdfrender-1.0.11-py3-none-any.whl Python 3 none any Details for pdfrender-1.0.11-py3-none-any.whl

Total release size: 28.5 kB

Release files / pdfrender-1.0.11.tar.gz

Download URL pdfrender-1.0.11.tar.gz
Size 10.6 kB
Tags Source
SHA-256 checksum
How to use checksums
902d7a9bbd6e171f283f416d4f439572925942eca49b815913ae82a2362c151f
BLAKE2b-256 checksum
How to use checksums
41dd6e55aead21e9fc608aa7e971c2b77b617cff93ee689701fca8d46a8d21a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

Release files / pdfrender-1.0.11-py3-none-any.whl

Download URL pdfrender-1.0.11-py3-none-any.whl
Size 17.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f5bf7147f09f63397f67b4d8a2614c076e30556565e3d14ef864f1bb46e9ea12
BLAKE2b-256 checksum
How to use checksums
6c1435778d138f8d4828bfc9cac0fcffc6b7493d925c9a42629288f645fe778e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

Security for pdfrender 1.0.11

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pdfrender-1.0.11.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 28, 2026.

Transparency log

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.

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