Skip to main content
# Chrome-PrintToPDF

Latest Chrome Browser supports getting PDFs for websites.

## Install

Requires Python 3.5+

pip install chrome-printtopdf


## Usage

On the command line:

python -m chrome_printtopdf /path/to/chrome-bin http://example.org/ out.pdf

As a library. Have a look at the source for `asyncio` API.
```python
from chrome_printtopdf import get_pdf_with_chrome_sync

pdf_file = get_pdf_with_chrome_sync('http://example.org',
chrome_binary='/path/to/chrome-bin')

with open('example.org.pdf', 'wb') as f:
f.write(pdf_file.read())
```

Release files for chrome-printtopdf 0.0.2

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

Built distribution (wheel)

Table of built distributions (wheels) for chrome-printtopdf 0.0.2
File Interpreter ABI Platform
chrome_printtopdf-0.0.2-py3-none-any.whl Python 3 none any Details

Release files / chrome_printtopdf-0.0.2-py3-none-any.whl

Download URL chrome_printtopdf-0.0.2-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
03363b81137728ab203a37b48511c36278757152fa0019230383d8960572bde8
BLAKE2b-256 checksum
How to use checksums
02c3b0731be0c8b709d1eb4ef0eacf0af61603210023e74702f1e35225c26d7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

0.0.1

2 release files

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