Metadata-Version: 2.1
Name: pdfino
Version: 0.0.1
Summary: An opinionated thin wrapper around the ReportLab Toolkit.
License: MIT
Keywords: pdf,reportlab
Author: Eneko Illarramendi
Author-email: eneko@illarra.com
Requires-Python: >=3.7,<4
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Requires-Dist: reportlab (>4)
Requires-Dist: svglib
Description-Content-Type: text/markdown

PDFINO
======

[![github-tests-badge]][github-tests]
[![github-mypy-badge]][github-mypy]
[![codecov-badge]][codecov]
[![pypi-badge]][pypi]
[![pypi-versions]][pypi]
[![license-badge]](LICENSE)


### Basic usage

```python
from pdfino import Document

pdf = Document()
pdf.h1("This is a heading")
pdf.p("Hello world!", align="center", classes=["mb-md"])
pdf.p("This is a paragraph.", classes=["mb-md"])
pdf.p("This is another paragraph.", classes=["mb-md"])
pdf.get_django_response("hello.pdf")
```

### Run the tests

```bash
poetry run pytest --cov=pdfino --cov-report=term
```


### Style guide

Tab size is 4 spaces. Max line length is 120. You should run `ruff` before committing any change.

```bash
poetry run ruff format . && poetry run ruff check pdfino
```


[codecov]: https://codecov.io/gh/eillarra/pdfino
[codecov-badge]: https://codecov.io/gh/eillarra/pdfino/branch/master/graph/badge.svg
[github-mypy]: https://github.com/eillarra/pdfino/actions?query=workflow%3Amypy
[github-mypy-badge]: https://github.com/eillarra/pdfino/workflows/mypy/badge.svg
[github-tests]: https://github.com/eillarra/pdfino/actions?query=workflow%3Atests
[github-tests-badge]: https://github.com/eillarra/pdfino/workflows/tests/badge.svg
[license-badge]: https://img.shields.io/badge/license-MIT-blue.svg
[pypi]: https://pypi.org/project/pdfino/
[pypi-badge]: https://badge.fury.io/py/pdfino.svg
[pypi-versions]: https://img.shields.io/pypi/pyversions/pdfino.svg

