Skip to main content

Installation

Use markpdf-py when you want the Python client for scripts, services, notebooks, FastAPI/Django apps, workers, or automation.

Install

The package installed from PyPI is markpdf-py; the Python import remains markpdf:

Configure the API key

Set the key in your environment:
Then create the client:
You can also pass the key explicitly in server-only code:

API endpoint

The production API endpoint is:

Next step

Continue with Quickstart.