Skip to main content

Eunoia

CI PyPI version

Python bindings for the Eunoia, a Rust library for fitting area-proportional Euler and Venn diagrams. Sister package to the R package eulerr.

Euler circles, ellipses, and a Venn diagram fitted with Eunoia

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.

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eunoia-0.6.0.tar.gz (1.1 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

eunoia-0.6.0-cp311-abi3-win_amd64.whl (1.2 MB view details)

Uploaded CPython 3.11+Windows x86-64

eunoia-0.6.0-cp311-abi3-musllinux_1_2_x86_64.whl (1.4 MB view details)

Uploaded CPython 3.11+musllinux: musl 1.2+ x86-64

eunoia-0.6.0-cp311-abi3-musllinux_1_2_aarch64.whl (1.2 MB view details)

Uploaded CPython 3.11+musllinux: musl 1.2+ ARM64

eunoia-0.6.0-cp311-abi3-manylinux_2_28_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.28+ x86-64

eunoia-0.6.0-cp311-abi3-manylinux_2_28_aarch64.whl (1.0 MB view details)

Uploaded CPython 3.11+manylinux: glibc 2.28+ ARM64

eunoia-0.6.0-cp311-abi3-macosx_11_0_arm64.whl (1.0 MB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

eunoia-0.6.0-cp311-abi3-macosx_10_12_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.11+macOS 10.12+ x86-64

File details

Details for the file eunoia-0.6.0.tar.gz.

File metadata

  • Download URL: eunoia-0.6.0.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for eunoia-0.6.0.tar.gz
Algorithm Hash digest
SHA256 74862ab935c592ebbba3dab65b87aae354fcc1cb520154e90232105734af28d2
MD5 b312fb6a0b84f6d107a68b772ddf7805
BLAKE2b-256 2dd433c4d7d61aa8f0cd1769fb46acb3d01d57cc1ea372c197593ac7da6c0938

See more details on using hashes here.

Provenance

The following attestation bundles were made for eunoia-0.6.0.tar.gz:

Publisher: publish.yml on jolars/eunoia-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file eunoia-0.6.0-cp311-abi3-win_amd64.whl.

File metadata

  • Download URL: eunoia-0.6.0-cp311-abi3-win_amd64.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: CPython 3.11+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for eunoia-0.6.0-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 583a5767df571359694559509f87719ce1e5b558a2a0c9baa8a2a26efd789741
MD5 21eedf1e03206ea8c26ea8e6867b8ebf
BLAKE2b-256 163345301672c6a26fd2fe241a33629dd1e5bf2aad1d876b3d528c4e115b9c6c

See more details on using hashes here.

Provenance

The following attestation bundles were made for eunoia-0.6.0-cp311-abi3-win_amd64.whl:

Publisher: publish.yml on jolars/eunoia-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file eunoia-0.6.0-cp311-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for eunoia-0.6.0-cp311-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 5942a138504e3b4d3fb8c34a79d2f179560487c8c7e87a6240fdeff5d23d16fd
MD5 ac2a7946441d4c6648e0495a17896e8d
BLAKE2b-256 9823e38104ce2f5e76e96e060bb4b5e8ba9155c3cc0cb6989920cef2ecaee086

See more details on using hashes here.

Provenance

The following attestation bundles were made for eunoia-0.6.0-cp311-abi3-musllinux_1_2_x86_64.whl:

Publisher: publish.yml on jolars/eunoia-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file eunoia-0.6.0-cp311-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for eunoia-0.6.0-cp311-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 b9d4032b482ba5f15fd4926efa2b399fb674ce8b70a01f48e3d760fed4f9d20b
MD5 3f1a973e62b7fdb4e2a3a6a0711123d8
BLAKE2b-256 b0c13d040fb3615c3666a02f50b164450092c82c7cc808fcba14ce47f1400c6b

See more details on using hashes here.

Provenance

The following attestation bundles were made for eunoia-0.6.0-cp311-abi3-musllinux_1_2_aarch64.whl:

Publisher: publish.yml on jolars/eunoia-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file eunoia-0.6.0-cp311-abi3-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for eunoia-0.6.0-cp311-abi3-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 74b7edd90427aa8f4fbd6f5abfd6c7fd3dc1ee9ffed90c5931da5225753aaa66
MD5 60084cd94192e76c406a5178026a6f5b
BLAKE2b-256 04a96fb8245b28e2c9219e66d32986a0157f303aac812ada8585953651886e06

See more details on using hashes here.

Provenance

The following attestation bundles were made for eunoia-0.6.0-cp311-abi3-manylinux_2_28_x86_64.whl:

Publisher: publish.yml on jolars/eunoia-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file eunoia-0.6.0-cp311-abi3-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for eunoia-0.6.0-cp311-abi3-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 87c7ede1feff57656149c45ba307aadb9b019ebcaed6b6042a99cdbe26e7fabd
MD5 19eaa255d1856a616e2a9a763f70cb57
BLAKE2b-256 c0a51a11dde79a2ac16bfba37753dac63395483e0cd96afee4655cbc6229c8ea

See more details on using hashes here.

Provenance

The following attestation bundles were made for eunoia-0.6.0-cp311-abi3-manylinux_2_28_aarch64.whl:

Publisher: publish.yml on jolars/eunoia-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file eunoia-0.6.0-cp311-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for eunoia-0.6.0-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d0ec7b7f1901f8e245d4bb359ab1e2d5c195699169838d6d1867238b0c92d096
MD5 93a666c1e79139a7ea23ee1663293bc6
BLAKE2b-256 5e3a59eb3aa4f47c21977e7668bd2d8e4517d141cbb1511c46a0579d2c950c7d

See more details on using hashes here.

Provenance

The following attestation bundles were made for eunoia-0.6.0-cp311-abi3-macosx_11_0_arm64.whl:

Publisher: publish.yml on jolars/eunoia-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file eunoia-0.6.0-cp311-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for eunoia-0.6.0-cp311-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 4385daa86bc2badca4738e395d27d0589af236f1e95a3f0754e7c6f845ef0dac
MD5 3e789f659d6ca51dfdb02daa141fbf1e
BLAKE2b-256 09a29aae144656698fce810b1da0fe5d8aed5d6cc4288a8eacde20d72b839d8b

See more details on using hashes here.

Provenance

The following attestation bundles were made for eunoia-0.6.0-cp311-abi3-macosx_10_12_x86_64.whl:

Publisher: publish.yml on jolars/eunoia-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.6.0 This release

8 files

0.5.0

8 files

0.4.0

8 files

0.3.0

8 files

0.2.0

8 files

0.1.0

8 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