Area-proportional Euler and Venn diagrams
Project description
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; 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.
License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file eunoia-0.5.0.tar.gz.
File metadata
- Download URL: eunoia-0.5.0.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e311f0c77baa3a3e90a9e0a01d5942197b1ac06148e98c860e6c546a5be6362
|
|
| MD5 |
cf6e44946b28364f36c5032d3e4ad45e
|
|
| BLAKE2b-256 |
a51f84f3a79ad520815b1410a8c6cd1ecb0d35cfffea123d5fc8a5875fed5c4b
|
Provenance
The following attestation bundles were made for eunoia-0.5.0.tar.gz:
Publisher:
publish.yml on jolars/eunoia-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
eunoia-0.5.0.tar.gz -
Subject digest:
9e311f0c77baa3a3e90a9e0a01d5942197b1ac06148e98c860e6c546a5be6362 - Sigstore transparency entry: 2019523990
- Sigstore integration time:
-
Permalink:
jolars/eunoia-py@41a3c08e919da6beacbe5282fc4974ffceb3167d -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/jolars
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@41a3c08e919da6beacbe5282fc4974ffceb3167d -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file eunoia-0.5.0-cp311-abi3-win_amd64.whl.
File metadata
- Download URL: eunoia-0.5.0-cp311-abi3-win_amd64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.11+, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a164627988f95049d33226db3ca9c7cc34f1949c0afaeac9ffec8d24b3c0c42
|
|
| MD5 |
a708ef50f8d76b6e502e733bb4b4fcae
|
|
| BLAKE2b-256 |
d4bde0174b870988fba9a8b16975a4ea0040b49b4f92519d809023a50c4f24f2
|
Provenance
The following attestation bundles were made for eunoia-0.5.0-cp311-abi3-win_amd64.whl:
Publisher:
publish.yml on jolars/eunoia-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
eunoia-0.5.0-cp311-abi3-win_amd64.whl -
Subject digest:
3a164627988f95049d33226db3ca9c7cc34f1949c0afaeac9ffec8d24b3c0c42 - Sigstore transparency entry: 2019524091
- Sigstore integration time:
-
Permalink:
jolars/eunoia-py@41a3c08e919da6beacbe5282fc4974ffceb3167d -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/jolars
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@41a3c08e919da6beacbe5282fc4974ffceb3167d -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file eunoia-0.5.0-cp311-abi3-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: eunoia-0.5.0-cp311-abi3-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.11+, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae2c96d435cc2332d8aa3ef8d1bbddce1932e167814cdbc58e19a292f2113c1f
|
|
| MD5 |
b3af8848dc50677504eee36181b72e54
|
|
| BLAKE2b-256 |
490efe0de0df4e4be8121136e6afce6d328341c4f13f86b6dca86ccf64acc55c
|
Provenance
The following attestation bundles were made for eunoia-0.5.0-cp311-abi3-musllinux_1_2_x86_64.whl:
Publisher:
publish.yml on jolars/eunoia-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
eunoia-0.5.0-cp311-abi3-musllinux_1_2_x86_64.whl -
Subject digest:
ae2c96d435cc2332d8aa3ef8d1bbddce1932e167814cdbc58e19a292f2113c1f - Sigstore transparency entry: 2019524318
- Sigstore integration time:
-
Permalink:
jolars/eunoia-py@41a3c08e919da6beacbe5282fc4974ffceb3167d -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/jolars
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@41a3c08e919da6beacbe5282fc4974ffceb3167d -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file eunoia-0.5.0-cp311-abi3-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: eunoia-0.5.0-cp311-abi3-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.11+, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ea274be22d87f4c9414cc715803603e57a15827a45cdd48d1adb9b44584c26e
|
|
| MD5 |
9e628e36357364550be6bd8725e2881b
|
|
| BLAKE2b-256 |
63f9127b8a897fd221a3a0c30dbea57caa21f84dcf7985a42ac87cf075a9ff4e
|
Provenance
The following attestation bundles were made for eunoia-0.5.0-cp311-abi3-musllinux_1_2_aarch64.whl:
Publisher:
publish.yml on jolars/eunoia-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
eunoia-0.5.0-cp311-abi3-musllinux_1_2_aarch64.whl -
Subject digest:
9ea274be22d87f4c9414cc715803603e57a15827a45cdd48d1adb9b44584c26e - Sigstore transparency entry: 2019524426
- Sigstore integration time:
-
Permalink:
jolars/eunoia-py@41a3c08e919da6beacbe5282fc4974ffceb3167d -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/jolars
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@41a3c08e919da6beacbe5282fc4974ffceb3167d -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file eunoia-0.5.0-cp311-abi3-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: eunoia-0.5.0-cp311-abi3-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.11+, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38412605584d805dbe6238504b991c89e5b9c0df7dafbb3f762aa29348ea5778
|
|
| MD5 |
a7fe0878dba4f4eaefe59896af3d84bb
|
|
| BLAKE2b-256 |
118ad7b5cb700948d0d9d9003e220992d591968eac4757b19ae35b85f8398cab
|
Provenance
The following attestation bundles were made for eunoia-0.5.0-cp311-abi3-manylinux_2_28_x86_64.whl:
Publisher:
publish.yml on jolars/eunoia-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
eunoia-0.5.0-cp311-abi3-manylinux_2_28_x86_64.whl -
Subject digest:
38412605584d805dbe6238504b991c89e5b9c0df7dafbb3f762aa29348ea5778 - Sigstore transparency entry: 2019524222
- Sigstore integration time:
-
Permalink:
jolars/eunoia-py@41a3c08e919da6beacbe5282fc4974ffceb3167d -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/jolars
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@41a3c08e919da6beacbe5282fc4974ffceb3167d -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file eunoia-0.5.0-cp311-abi3-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: eunoia-0.5.0-cp311-abi3-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 938.7 kB
- Tags: CPython 3.11+, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7159412cd03b4d1be4b981e573322564939c31128284298d6fb898f40a56cb4b
|
|
| MD5 |
51fdba2db00367f9121f9dec02642ca5
|
|
| BLAKE2b-256 |
5d023b6bef901535bef0256505b9f94fc35fdfc95086088e332b290dd6e364a8
|
Provenance
The following attestation bundles were made for eunoia-0.5.0-cp311-abi3-manylinux_2_28_aarch64.whl:
Publisher:
publish.yml on jolars/eunoia-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
eunoia-0.5.0-cp311-abi3-manylinux_2_28_aarch64.whl -
Subject digest:
7159412cd03b4d1be4b981e573322564939c31128284298d6fb898f40a56cb4b - Sigstore transparency entry: 2019524181
- Sigstore integration time:
-
Permalink:
jolars/eunoia-py@41a3c08e919da6beacbe5282fc4974ffceb3167d -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/jolars
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@41a3c08e919da6beacbe5282fc4974ffceb3167d -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file eunoia-0.5.0-cp311-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: eunoia-0.5.0-cp311-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 908.8 kB
- Tags: CPython 3.11+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
469fd2ecb70e6698290ce02f557889a9ebc4607c875cc7e71a9d3f564424da91
|
|
| MD5 |
be840fb6bc55e91d2478b08b0517ea21
|
|
| BLAKE2b-256 |
a7424aaa958929de780e7758638e4ab775c32ee334ed091b3810c8f7a58bfa2f
|
Provenance
The following attestation bundles were made for eunoia-0.5.0-cp311-abi3-macosx_11_0_arm64.whl:
Publisher:
publish.yml on jolars/eunoia-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
eunoia-0.5.0-cp311-abi3-macosx_11_0_arm64.whl -
Subject digest:
469fd2ecb70e6698290ce02f557889a9ebc4607c875cc7e71a9d3f564424da91 - Sigstore transparency entry: 2019524040
- Sigstore integration time:
-
Permalink:
jolars/eunoia-py@41a3c08e919da6beacbe5282fc4974ffceb3167d -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/jolars
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@41a3c08e919da6beacbe5282fc4974ffceb3167d -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file eunoia-0.5.0-cp311-abi3-macosx_10_12_x86_64.whl.
File metadata
- Download URL: eunoia-0.5.0-cp311-abi3-macosx_10_12_x86_64.whl
- Upload date:
- Size: 1.0 MB
- Tags: CPython 3.11+, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db62ac534a096ac75d408fea203cc39ba98389aaf91c7b5e6e2538e9038b8de2
|
|
| MD5 |
44ebf00bdac6e1aa0e1365113f5aa8a3
|
|
| BLAKE2b-256 |
46bedf58906177bf613656c6e7655c50b936ad68332ff2cf229e7ff22dd13b34
|
Provenance
The following attestation bundles were made for eunoia-0.5.0-cp311-abi3-macosx_10_12_x86_64.whl:
Publisher:
publish.yml on jolars/eunoia-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
eunoia-0.5.0-cp311-abi3-macosx_10_12_x86_64.whl -
Subject digest:
db62ac534a096ac75d408fea203cc39ba98389aaf91c7b5e6e2538e9038b8de2 - Sigstore transparency entry: 2019524396
- Sigstore integration time:
-
Permalink:
jolars/eunoia-py@41a3c08e919da6beacbe5282fc4974ffceb3167d -
Branch / Tag:
refs/tags/v0.5.0 - Owner: https://github.com/jolars
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@41a3c08e919da6beacbe5282fc4974ffceb3167d -
Trigger Event:
workflow_dispatch
-
Statement type: