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.

Source Distribution

pdfire-2.0.0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

pdfire-2.0.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file pdfire-2.0.0.tar.gz.

File metadata

  • Download URL: pdfire-2.0.0.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.6

File hashes

Hashes for pdfire-2.0.0.tar.gz
Algorithm Hash digest
SHA256 8f23d9ee33c0000e1f75f2f6b7f40c8cd9f312977d333890a006da4d923af65d
MD5 3f830f63312f52ad40d082c01ffdd20c
BLAKE2b-256 0a9f4160d23732bacdd7633400f9ab3bf60565cc066c7b6d73d13595993d31ab

See more details on using hashes here.

File details

Details for the file pdfire-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: pdfire-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.6

File hashes

Hashes for pdfire-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 86343bcd74c052c4f9343ee9fe64fd100e52896e64e7d94e12d05ba4b5a7af90
MD5 e0bf06c4137317b3f208ee6090ec70e1
BLAKE2b-256 a4cd5dde8f1f1a5a561be0bcb58c53aa6f4fa4e510bec41e5a051df3be12170e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page