Skip to main content

ausankey

Uses matplotlib to create simple Sankey diagrams flowing only from left to right.

PyPI version Coverage Status

Python package Jekyll Pages Publish release

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

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)

Source distribution for ausankey 1.9
File Size Uploaded
ausankey-1.9.tar.gz 36.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ausankey 1.9
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

This release

1.9 This release

2 release files

1.8

2 release files

1.7

2 release files

1.6

2 release files

1.5

2 release files

1.4

2 release files

1.3

2 release files

1.2.1

2 release files

1.2

2 release files

1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page