Metadata-Version: 2.4
Name: marqius-pdfkit
Version: 0.1.0
Summary: Explicit Marqius executable configuration for Python pdfkit
License-Expression: MIT
Project-URL: Homepage, https://marqius.com/wkhtmltopdf/
Project-URL: Documentation, https://marqius.com/blog/migrate-python-pdfkit-off-wkhtmltopdf/
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pdfkit<2,>=1
Dynamic: license-file

# marqius-pdfkit

MIT-licensed configuration for Python pdfkit. It uses a locally installed Marqius executable. Follow the [Python migration guide](https://marqius.com/blog/migrate-python-pdfkit-off-wkhtmltopdf/) to install the converter and check your first PDF.

```python
import pdfkit
from marqius_pdfkit import configuration

config = configuration("/usr/bin/marqius-wkhtmltopdf")
pdfkit.from_string(html, "invoice.pdf", configuration=config)
```

Call `configuration()` to read `WKHTMLTOPDF_BINARY` from the application's environment. The helper passes the path to pdfkit. The converter has its own [licence](https://marqius.com/wkhtmltopdf/licence-agreement/).
