Eunoia 
Python bindings for the Eunoia, a Rust library for fitting area-proportional Euler and Venn diagrams. Sister package to the R package eulerr.
Install
pip install eunoia
Quickstart
import eunoia as eu
import matplotlib.pyplot as plt
# Disjoint (per-region) input is the default.
fit = eu.euler({"A": 10, "B": 5, "A&B": 3})
print(fit)
# EulerFit (2 circles, diag_error=2.776e-17, stress=5.887e-33, loss=5.887e-33)
# original fitted residual regionError
# A 10 10 0 0
# B 5 5 0 0
# A&B 3 3 8.882e-16 2.776e-17
fit.plot()
plt.show()
euler() also accepts inclusive counts, DataFrames, and NumPy arrays; shape=
switches between circles, ellipses, squares, and rectangles; venn() draws
topological diagrams; plot(glyphs=True) adds one countable dot per unit;
plot(members={"mode": "packed"}) packs retained member names into their
regions; and eunoia.options(...) sets global plotting defaults. See the
documentation for the full API.
Documentation
Full documentation, including narrative guides and the API reference, lives at jolars.github.io/eunoia-py.
Ecosystem
This package is the Python member of the Eunoia family. The same Rust core powers bindings in several other languages:
| Language | Package | Install |
|---|---|---|
| Rust | eunoia (repo) |
cargo add eunoia |
| JavaScript | @jolars/eunoia (repo) |
npm install @jolars/eunoia |
| Julia | Eunoia.jl (repo) |
] add Eunoia |
| R | eulerr (repo) |
install.packages("eulerr") |
Documentation for the whole family lives at eunoia.bz/docs/; the Rust API reference is at docs.rs/eunoia.
Citation
If you use Eunoia for Python in your research, please cite the paper:
Larsson, J., & Lee, N. M. (2026). Eunoia: Area-Proportional Euler and Venn Diagrams in Rust, Julia, Python, R, and JavaScript (arXiv:2611.02198). arXiv. https://doi.org/10.48550/arXiv.2611.02198
@misc{larsson2026f,
title = {Eunoia: {{Area}}-Proportional {{Euler}} and {{Venn}} Diagrams in {{Rust}}, {{Julia}}, {{Python}}, {{R}}, and {{JavaScript}}},
shorttitle = {Eunoia},
author = {Larsson, Johan and Lee, Nicole M.},
year = {2026},
month = nov,
number = {arXiv:2611.02198},
eprint = {2611.02198},
primaryclass = {stat.CO},
publisher = {arXiv},
doi = {10.48550/arXiv.2611.02198},
archiveprefix = {arXiv}
}
BibLaTeX
@online{larsson2026f,
title = {Eunoia: {{Area}}-Proportional {{Euler}} and {{Venn}} Diagrams in {{Rust}}, {{Julia}}, {{Python}}, {{R}}, and {{JavaScript}}},
shorttitle = {Eunoia},
author = {Larsson, Johan and Lee, Nicole M.},
date = {2026-11-01},
eprint = {2611.02198},
eprinttype = {arXiv},
eprintclass = {stat.CO},
doi = {10.48550/arXiv.2611.02198},
pubstate = {prepublished}
}
For reproducibility, also cite the software release you used. Select that
release in the Zenodo archive and
export its citation. The concept DOI 10.5281/zenodo.20650005 identifies Eunoia
for Python across all releases.
CITATION.cff contains the software metadata and preferred paper citation. The Eunoia citation page renders the paper in APA, BibTeX, BibLaTeX, and other formats.
License
Metadata
Release files for eunoia 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| eunoia-1.0.0.tar.gz | 1.1 MB | With provenance | Details for eunoia-1.0.0.tar.gz |
Built distributions (wheels)
Total release size: 10.9 MB
Release files / eunoia-1.0.0.tar.gz
| Download URL | eunoia-1.0.0.tar.gz |
|---|---|
| Size | 1.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c7a843b747202cd3f4e014dfeaa7f01c81ae04b0302208707d53edf5733a594f
|
|
BLAKE2b-256 checksum How to use checksums |
50650645ed4449e927feb4482576fcfba0a5d63460b24e62471b7ed3301d25d9
|
| 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 11, 2026.
Transparency logRelease files / eunoia-1.0.0-cp311-abi3-win_amd64.whl
| Download URL | eunoia-1.0.0-cp311-abi3-win_amd64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.11 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
402fa564c815db28f202ae9e381ff918199f274bcfbace7ca809c86aca2f4d5e
|
|
BLAKE2b-256 checksum How to use checksums |
d352890d48c0edf7a4910c5cd2a57574c36b85e464507d1f4aacb3f8a0090b5f
|
| 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 11, 2026.
Transparency logRelease files / eunoia-1.0.0-cp311-abi3-musllinux_1_2_x86_64.whl
| Download URL | eunoia-1.0.0-cp311-abi3-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 1.7 MB |
| Tags | CPython 3.11 Linux musl 1.2+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
76d2dfa71e1785c4faea9042745c37e9a51040c80dd6cb805d2be0e3f265b382
|
|
BLAKE2b-256 checksum How to use checksums |
efb6290af1c5e8d0a22841d7e60b4dafcbcc0ca3b27fe45cde0698aa70e55e7e
|
| 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 11, 2026.
Transparency logRelease files / eunoia-1.0.0-cp311-abi3-musllinux_1_2_aarch64.whl
| Download URL | eunoia-1.0.0-cp311-abi3-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.11 Linux musl 1.2+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
db3234c11c014b8e9ed4c8b558c4d7629cc1f11d4364dde94e1568b83912ebae
|
|
BLAKE2b-256 checksum How to use checksums |
2ed893218885f4ea1cdda84147237649076cb0916b787aba7f4443e6cd0ead0b
|
| 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 11, 2026.
Transparency logRelease files / eunoia-1.0.0-cp311-abi3-manylinux_2_28_x86_64.whl
| Download URL | eunoia-1.0.0-cp311-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 1.4 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
be214198f9d0d33353a8f5895572cbe7b5830d3100cf3f659cd2f5ec802c91c5
|
|
BLAKE2b-256 checksum How to use checksums |
112fd7d3277e4ee026bb60e05e9d23a90086d0742740d7eec2c553b399ba84a2
|
| 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 11, 2026.
Transparency logRelease files / eunoia-1.0.0-cp311-abi3-manylinux_2_28_aarch64.whl
| Download URL | eunoia-1.0.0-cp311-abi3-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
96b212d1b07f61b62da5377e0e91fa1406f23bb2542aae63ca24fa07aa818750
|
|
BLAKE2b-256 checksum How to use checksums |
061ff1453bda070d462dec52e22d62eb7e451b8a7e865d6687be943d39dee838
|
| 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 11, 2026.
Transparency logRelease files / eunoia-1.0.0-cp311-abi3-macosx_11_0_arm64.whl
| Download URL | eunoia-1.0.0-cp311-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.11 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
eb15b78cc50ff358e78a8e786bf741c69e0851bf2fd94ccfb463f3065643e263
|
|
BLAKE2b-256 checksum How to use checksums |
effe70e16530797a7031e3b0f22ac52478057092f05e7600bd3b39bf954a1070
|
| 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 11, 2026.
Transparency logRelease files / eunoia-1.0.0-cp311-abi3-macosx_10_12_x86_64.whl
| Download URL | eunoia-1.0.0-cp311-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 1.3 MB |
| Tags | CPython 3.11 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
3c8bb6660c35387f761759f399d3d7ab8780415031fab0b2443966977f239833
|
|
BLAKE2b-256 checksum How to use checksums |
3af29ffd9abbbc8f04952eb359139013e4539b709428cd002b6d98d023bdcc8c
|
| 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 11, 2026.
Transparency logSecurity for eunoia 1.0.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
All 8 files in this release have been uploaded with provenance metadata.
Attestation for eunoia-1.0.0.tar.gz
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 11, 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.