Name | pdfino JSON |
Version |
0.0.1
JSON |
| download |
home_page | |
Summary | An opinionated thin wrapper around the ReportLab Toolkit. |
upload_time | 2023-11-10 16:58:04 |
maintainer | |
docs_url | None |
author | Eneko Illarramendi |
requires_python | >=3.7,<4 |
license | MIT |
keywords |
pdf
reportlab
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
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
Raw data
{
"_id": null,
"home_page": "",
"name": "pdfino",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7,<4",
"maintainer_email": "",
"keywords": "pdf,reportlab",
"author": "Eneko Illarramendi",
"author_email": "eneko@illarra.com",
"download_url": "https://files.pythonhosted.org/packages/21/90/f9698d996784ff190cce696995940a6a09796fb6e835afb23852eb931fe8/pdfino-0.0.1.tar.gz",
"platform": null,
"description": "PDFINO\n======\n\n[![github-tests-badge]][github-tests]\n[![github-mypy-badge]][github-mypy]\n[![codecov-badge]][codecov]\n[![pypi-badge]][pypi]\n[![pypi-versions]][pypi]\n[![license-badge]](LICENSE)\n\n\n### Basic usage\n\n```python\nfrom pdfino import Document\n\npdf = Document()\npdf.h1(\"This is a heading\")\npdf.p(\"Hello world!\", align=\"center\", classes=[\"mb-md\"])\npdf.p(\"This is a paragraph.\", classes=[\"mb-md\"])\npdf.p(\"This is another paragraph.\", classes=[\"mb-md\"])\npdf.get_django_response(\"hello.pdf\")\n```\n\n### Run the tests\n\n```bash\npoetry run pytest --cov=pdfino --cov-report=term\n```\n\n\n### Style guide\n\nTab size is 4 spaces. Max line length is 120. You should run `ruff` before committing any change.\n\n```bash\npoetry run ruff format . && poetry run ruff check pdfino\n```\n\n\n[codecov]: https://codecov.io/gh/eillarra/pdfino\n[codecov-badge]: https://codecov.io/gh/eillarra/pdfino/branch/master/graph/badge.svg\n[github-mypy]: https://github.com/eillarra/pdfino/actions?query=workflow%3Amypy\n[github-mypy-badge]: https://github.com/eillarra/pdfino/workflows/mypy/badge.svg\n[github-tests]: https://github.com/eillarra/pdfino/actions?query=workflow%3Atests\n[github-tests-badge]: https://github.com/eillarra/pdfino/workflows/tests/badge.svg\n[license-badge]: https://img.shields.io/badge/license-MIT-blue.svg\n[pypi]: https://pypi.org/project/pdfino/\n[pypi-badge]: https://badge.fury.io/py/pdfino.svg\n[pypi-versions]: https://img.shields.io/pypi/pyversions/pdfino.svg\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "An opinionated thin wrapper around the ReportLab Toolkit.",
"version": "0.0.1",
"project_urls": null,
"split_keywords": [
"pdf",
"reportlab"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "67db6689f71c6950bb93aba8510e862bce4bd882c7a2164f22880b511df77001",
"md5": "5c4319c9787ba4a8ac218f569e23d1c3",
"sha256": "59732cafc3a6bbe6ff65826e7348e1765848167d8eea1bed635bc98b6a72968b"
},
"downloads": -1,
"filename": "pdfino-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5c4319c9787ba4a8ac218f569e23d1c3",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7,<4",
"size": 3654,
"upload_time": "2023-11-10T16:58:02",
"upload_time_iso_8601": "2023-11-10T16:58:02.629418Z",
"url": "https://files.pythonhosted.org/packages/67/db/6689f71c6950bb93aba8510e862bce4bd882c7a2164f22880b511df77001/pdfino-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "2190f9698d996784ff190cce696995940a6a09796fb6e835afb23852eb931fe8",
"md5": "ea1c2278182b9163c6049a1e320a5736",
"sha256": "b436e97f06659f58779aecdd5f4b1a216e9a8561311cb11cf71247ae617d71f3"
},
"downloads": -1,
"filename": "pdfino-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "ea1c2278182b9163c6049a1e320a5736",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7,<4",
"size": 3000,
"upload_time": "2023-11-10T16:58:04",
"upload_time_iso_8601": "2023-11-10T16:58:04.378920Z",
"url": "https://files.pythonhosted.org/packages/21/90/f9698d996784ff190cce696995940a6a09796fb6e835afb23852eb931fe8/pdfino-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-11-10 16:58:04",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "pdfino"
}