prisma-flowchart
prisma-flowchart is the PyPI distribution for the Python library that
generates PRISMA 2020 flow
diagrams from the existing PRISMA template CSV or from Python objects.
The current R implementation remains in PRISMA2020-main/, and
this package reimplements the core public-library workflow in Python:
- load the PRISMA template CSV
- validate and normalize the data
- render an interactive HTML or SVG diagram
- export static PNG or PDF assets
- automate the same workflow from a CLI
Install
pip install prisma-flowchart
Quickstart
from prisma_flow_diagram import load_prisma_csv, render_prisma
data = load_prisma_csv("PRISMA.csv")
diagram = render_prisma(data, interactive=True, previous=False, other=True)
diagram.save("prisma.html")
diagram.save("prisma.svg")
diagram.save("prisma.png")
CLI
prisma-flow render PRISMA.csv prisma.html --interactive --no-previous
Python Import
The distribution name is prisma-flowchart, but the import package remains:
import prisma_flow_diagram
Included Template
from prisma_flow_diagram import get_template_csv_path
template_path = get_template_csv_path()
Scope
Version 0.1.0 intentionally targets the core workflow:
- CSV ingestion compatible with the shipped PRISMA template
- programmatic construction through
FlowData - interactive HTML/SVG output with links and tooltips
- static SVG/PNG/PDF export
The following are intentionally deferred:
- Shiny-equivalent web UI
- ZIP, PS, or WEBP export parity
- deprecated R compatibility aliases
- every style knob exposed by the R package
Release Automation
Trusted Publisher workflows are included for both TestPyPI and PyPI:
The exact setup steps are documented in
docs/publishing.md.
Metadata
Release files for prisma-flowchart 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| prisma_flowchart-0.1.1.tar.gz | 16.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| prisma_flowchart-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.6 kB
Release files / prisma_flowchart-0.1.1.tar.gz
| Download URL | prisma_flowchart-0.1.1.tar.gz |
|---|---|
| Size | 16.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0f7b9994bc4099399176423ac8cfa91f3d4b15837ba52fe43769273bcf5c132b
|
|
BLAKE2b-256 checksum How to use checksums |
fc4d5fea12a946407007e113e6ef57084e011aca3b0440e7170b18d1d069815b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 11, 2026.
Transparency logRelease files / prisma_flowchart-0.1.1-py3-none-any.whl
| Download URL | prisma_flowchart-0.1.1-py3-none-any.whl |
|---|---|
| Size | 16.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a98e471fe16b5c272a5206c28d124a0b477134b1eb0b268dc67a4c9f50b4abfe
|
|
BLAKE2b-256 checksum How to use checksums |
4d523b67c1785547bc1d68e2d3a37b0cb3cf13d362677e298d8a163bdc27c93c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Mar 11, 2026.
Transparency log