Metadata-Version: 2.3
Name: folio-pdf
Version: 0.0.0
Summary: A PDF library for Python powered by bindings to github.com/carlos7ags/folio in GO
Author: Gbenga Adeyi
Author-email: Gbenga Adeyi <adeyigbenga005@gmail.com>
Requires-Python: >=3.10
Description-Content-Type: text/markdown

# Folio PDF

A PDF library for Python powered by bindings to [https://github.com/carlos7ags/folio](https://github.com/carlos7ags/folio) PDF library for Go: layout engine, HTML to PDF, forms, signatures, barcodes, and PDF/A.

Folio PDF only currently supports the following functions `html_to_pdf`, `html_to_buffer` & `parse_css_length` and is still in development.


## Usage

```
```python
from folio_pdf import html_to_pdf

html = '''
<h1 style="color: red;">Hello, world!</h1>
'''
html_to_pdf(html, "result.pdf")
# see generated result.pdf the generated pdf
```
