ausankey
Uses matplotlib to create simple Sankey diagrams flowing only from left to right.
This package is available on PyPi and can be installed via:
pip install ausankey
User documentation for the repository is published via GitHub Pages: https://avc-adelaide.github.io/ausankey/
Code documentation by Mkdocs is available here: https://avc-adelaide.github.io/ausankey/reference/
Minimal example
import ausankey as sky
import matplotlib.pyplot as plt
import pandas as pd
data = pd.DataFrame([
("a",1.0,"ab",2.0,"a",1.0),
("a",1.0,"ba",0.8,"ba",0.4),
("c",1.5,"cd",0.5,"d",2.0),
("b",0.5,"ba",0.8,"ba",0.4),
("b",0.5,"ab",0.8,"a",1.0),
("d",2.0,"cd",0.4,"d",1.0),
("e",1.0,"e",1.0,"e",3.0),
])
plt.figure()
sky.sankey(
data,
sort = "top",
titles = ["Stage 1","Stage 2","Stage 3"],
valign = "center",
)
plt.show()
If you are a uv user, this will get you started:
cd ausankey-example && mkdir ausankey-example
uv init --bare
uv add ausankey
uv run ausankey-example.py
(with ausankey-example.py given above.)
Requirements
- Python 3.x
- matplotlib
- numpy
- pandas
Release files for ausankey 1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ausankey-1.9.tar.gz | 36.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ausankey-1.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 73.3 kB
Release files / ausankey-1.9.tar.gz
| Download URL | ausankey-1.9.tar.gz |
|---|---|
| Size | 36.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
10da7124dcb407d3343dce669599769d069adb8b48edfb8c5e331308846cb1eb
|
|
BLAKE2b-256 checksum How to use checksums |
8b236e9992ade5599e6483628e20e61d2ae1b894a4a93811869d4e961253fd64
|
| 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 Jan 14, 2026.
Transparency logRelease files / ausankey-1.9-py3-none-any.whl
| Download URL | ausankey-1.9-py3-none-any.whl |
|---|---|
| Size | 36.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
184d76fa000f5c608a219a17612df5e38ce8d0d96c09a1881afb4bf86a3a9b50
|
|
BLAKE2b-256 checksum How to use checksums |
f6b275cfa31dbb89fa8e244be8a5894be3932d6139a5d67a9a4486e271473329
|
| 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 Jan 14, 2026.
Transparency log