reportdesigner (Python)
Render ReportDesigner reports to PDF, HTML, Excel and Word from Python: Django, Flask, FastAPI, Celery jobs or plain scripts. One wheel with the native Rust engine inside; no dependencies.
pip install reportdesigner
Python 3.8 or newer. Wheels carry the engine for Windows, Linux (x64, arm64) and macOS.
Quick start
import json
from reportdesigner import ReportEngine
engine = ReportEngine() # one per process; thread-safe
report = json.load(open("invoice.report.json", encoding="utf-8"))
pdf = engine.render_pdf(report, parameters={"Region": "EU"}, data={"invoices": rows}) # bytes
html = engine.render_html(report, parameters={"Region": "EU"}, data={"invoices": rows}) # str
xlsx = engine.render_xlsx(report, data={"invoices": rows}) # bytes
docx = engine.render_docx(report, data={"invoices": rows}) # bytes
open("invoice.pdf", "wb").write(pdf)
Options on every render_*: parameters, data, subreports, now. engine.render(request_dict, "pdf") takes a complete request document. Errors raise ReportError. Decimal, datetime, UUID and bytes values are converted for you.
Data
Pass rows you already have in data (Django ORM .values(), SQLAlchemy rows as dicts, DataFrame.to_dict("records")). For live SQL there is a ready-made provider for any DB-API driver (pyodbc, sqlite3, psycopg, ...); the report's @Name query parameters are bound for you:
import pyodbc, sqlite3
from reportdesigner import ReportEngine, SqlProvider
sql = SqlProvider({
"main": lambda: pyodbc.connect(CONN_STR), # factory, opened and closed per query
"local": sqlite3.connect("cache.db", check_same_thread=False), # or an existing connection
})
engine = ReportEngine(data_source=sql)
A custom callback is ReportEngine(data_source=lambda ds, params: rows).
Fonts
Built-in fonts cover Latin text. For other scripts (Bengali, Arabic, Hindi, CJK ...) add a font once at startup; text in the report then uses it, with automatic fallback between fonts:
engine.add_font(open("NotoSansBengali-Regular.ttf", "rb").read())
What you get
- Real report features: bands and groups, running totals and summaries, parameters, expressions, subreports, cross-tabs, charts, barcodes and QR codes, sparklines, images, conditional formatting, page headers and footers.
- Four outputs from one definition: HTML, PDF, Excel (.xlsx) and Word (.docx).
- Real-world text: embedded subset fonts, Bengali / Arabic / Indic shaping, right-to-left and mixed-direction lines, font fallback.
- Nothing else to install: no browser, no LibreOffice, no system fonts, no network access. The engine does not read files; you pass data in.
- Identical output everywhere: HTML and PDF are byte-for-byte the same in every language (verified against golden files in CI).
- Visual designer: reports are JSON files created in the ReportDesigner designer (runs in any browser), or written by hand.
Framework guides
Django, Flask and FastAPI examples: https://github.com/arifulalam/ReportDesigner/blob/main/docs/python.md.
Other languages
The same engine is available for .NET, Node.js, Python, Rust, Java and PHP, and for any other language through a small C interface. Guides for each language and its frameworks: https://github.com/arifulalam/ReportDesigner/blob/main/docs.
Links
- Documentation: https://github.com/arifulalam/ReportDesigner/blob/main/docs
- Source and issues: https://github.com/arifulalam/ReportDesigner
- Changelog: https://github.com/arifulalam/ReportDesigner/blob/main/CHANGELOG.md
Licence
Apache-2.0. See LICENSE.
Metadata
Release files for reportdesigner 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| reportdesigner-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for reportdesigner-0.5.0-py3-none-any.whl |
Release files / reportdesigner-0.5.0-py3-none-any.whl
| Download URL | reportdesigner-0.5.0-py3-none-any.whl |
|---|---|
| Size | 9.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f7a740492138f9864be89365df9d777a54dc851865bdbabf17df97e9c3dadbda
|
|
BLAKE2b-256 checksum How to use checksums |
1dd3dda4d4496e453d084c1345664a95d54899af70c5aba81593311017d08b94
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logSecurity for reportdesigner 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
1 file in this release has been uploaded with provenance metadata.
Attestation for reportdesigner-0.5.0-py3-none-any.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 28, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.