Metadata-Version: 2.1
Name: pyhtml2pdf
Version: 0.0.1
Summary: Simple python wrapper to convert HTML to PDF with headless Chrome via selenium.
Home-page: https://github.com/kumaF/pyhtml2pdf
Author: Kumara Fernando
Author-email: mklmfernando@gmail.com
License: UNKNOWN
Description: # pyhtml2pdf
        Simple python wrapper to convert HTML to PDF with headless Chrome via selenium.
        
        ## Install
        ```
        pip install pyhtml2pdf
        ```
        
        ## Example
        
        **Use with website url**
        
        ```
        from pyhtml2pdf import converter
        
        converter.convert('https://pypi.org', 'sample.pdf')
        ```
        
        **Use with html file from local machine**
        
        ```
        import os
        from pyhtml2pdf import converter
        
        path = os.path.abspath('index.html')
        converter.convert(f'file:///{path}', 'sample.pdf')
        ```
        
        Inspired the work from https://github.com/maxvst/python-selenium-chrome-html-to-pdf-converter.git
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
