Metadata-Version: 2.0
Name: chrome-printtopdf
Version: 0.0.1
Summary: Get PDFs from URLs using chrome
Home-page: https://github.com/stefanw/chrome-printtopdf
Author: Stefan Wehrmeyer
Author-email: mail@stefanwehrmeyer.com
License: MIT
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Utilities
Requires-Dist: aiohttp

# Chrome-PrintToPDF

Latest Chrome Browser supports getting PDFs for websites.

## Install

Requires Python 3.5+

    pip install chrome-printtopdf


## Usage

```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())
```


