Skip to main content

Python client for the PDFire.io API.

Project description

PDFire.io logo

PDFire Python

GitHub

This package provides a client for the PDFire.io API. Read the Documentation for a list of available options.

Installation

pip install pdfire

Basic usage

from pdfire import Client, ConversionParams

client = Client('YOUR-API-KEY')

pdf = client.convert(ConversionParams(
  url = 'https://google.com',
  margin = 0,
  format = 'A4',
))

pdf.save_to('/path/on/disk.pdf')

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pdfire, version 2.0.0
Filename, size File type Python version Upload date Hashes
Filename, size pdfire-2.0.0-py3-none-any.whl (8.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pdfire-2.0.0.tar.gz (6.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page