Skip to main content

Hedonic

hedonic detects communities in igraph graphs as a hedonic game: wrap a graph in Game and call community_hedonic(). One method returns either a disjoint partition or an overlapping cover.

The detector is a small C core compiled into the package (hedonic._core). The only dependencies are the standard igraph package and NumPy, so hedonic installs next to any igraph 1.x you already use. Python 3.12 or newer.

TL;DR

pip install hedonic
from hedonic import Game

h = Game(g)  # g: an igraph graph (convert NetworkX, edge lists, ... through igraph)
partition = h.community_hedonic(max_memberships=1)                        # disjoint
cover = h.community_hedonic(max_memberships=3, initial_membership=None)  # overlapping
  • from hedonic import Game is the public API.
  • max_memberships=1 puts each vertex in exactly one community and returns an igraph.VertexClustering.
  • max_memberships>1 lets each vertex join up to that many communities and returns an igraph.VertexCover.
  • Every call runs until no vertex can certainly improve by moving: the result is an equilibrium of the game, with a certified bound on what any vertex could still gain (equilibrium_slack, 0 when the arithmetic is exact). There is nothing to tune: no iteration budget, no round cap, no tolerance.
  • A Game remembers its last result and, when initial_membership is omitted, starts the next call from it. Pass initial_membership=None for a fresh start (see Continuing from the last result).

What this is

A hedonic game is a coalition-formation game: each vertex is a player, each community is a coalition, and a player prefers the coalition that improves its payoff. Here the payoff is the Constant Potts Model (CPM) score at a resolution γ (by default, the graph density): a vertex gains from its neighbours inside a community and pays γ for every member.

community_hedonic() visits the vertices in random order and lets each one take its best response: move to the community it prefers (disjoint), or choose the set of at most max_memberships communities it prefers (overlapping, where a vertex's weight is split evenly over its communities). After a move it revisits the vertex's neighbours, and it stops only when every vertex has been visited, without moving, since the last move. That is a Nash equilibrium: no vertex can improve its payoff alone.

The computation is in floating point, so the core proves each step instead of trusting it: every payoff it compares carries a rigorous bound of its rounding error, and a vertex moves only when its computed gain exceeds that bound. Every move therefore raises the exact CPM potential, and the process always stops. The result reports equilibrium_slack in result._hedonic_provenance: no vertex can raise its exact payoff by more than the slack times the total edge weight (normalized like the quality). It is exactly 0 when the arithmetic is exact (for instance unit weights at resolution 0, 1/2 or 1), so the result is then an exact Nash equilibrium; on complete DBLP and Amazon at other resolutions it is about 1e-21 for partitions and 1e-17 for covers. native/README.md gives the bounds, the termination argument and the proof that the best set of communities is a prefix of the sorted gains.

Game is an igraph.Graph subclass: after wrapping, the usual igraph API (h.vcount(), h.density(), shortest paths, and so on) is still available.

Installation

python -m pip install hedonic

With uv:

uv add hedonic

Wheels are built for Linux (x86_64, aarch64), macOS (x86_64, arm64) and Windows (AMD64, ARM64). Elsewhere pip builds the C core from the source distribution, which needs a C11 compiler.

Game.evaluate_against(..., method="one_to_one_f1") uses SciPy; install it with the metrics extra: pip install "hedonic[metrics]".

Tutorial

1. Wrap a graph as a Game

Game copies an existing igraph.Graph, or is constructed the same way as an igraph graph. Other libraries convert through igraph first.

import igraph as ig
from hedonic import Game

# Famous example graph (Zachary's karate club)
h = Game(ig.Graph.Famous("Zachary"))

# Equivalent shortcut: Graph class methods return a Game
h = Game.Famous("Zachary")

# Edge list
h = Game(n=4, edges=[(0, 1), (1, 2), (2, 3), (3, 0)])

# Adjacency matrix
h = Game(ig.Graph.Adjacency([[0, 1, 1], [1, 0, 1], [1, 1, 0]], mode="undirected"))

# NetworkX (networkx is not a dependency)
import networkx as nx

h = Game(ig.Graph.from_networkx(nx.karate_club_graph()))

Wrapping preserves the graph's directionality and its vertex, edge and graph attributes, and to_igraph() preserves them on the way back. The detector requires an undirected graph, so a directed input is rejected explicitly rather than silently converted.

2. Detect communities

h = Game.Famous("Zachary")

# Disjoint: each vertex has one community id
partition = h.community_hedonic(max_memberships=1, seed=0)
print(partition.membership[:8])
print(partition.sizes())         # community sizes

# Overlapping: each vertex has a list of community ids (length <= max_memberships)
cover = h.community_hedonic(max_memberships=3, initial_membership=None, seed=0)
print(cover.membership[:4])

Iterate communities as lists of vertex ids:

for community in partition:          # disjoint clusters
    print(list(community))

for community in cover:              # overlapping clusters
    print(list(community))

To start an overlapping run from a disjoint partition, pass the partition as the start:

partition = h.community_hedonic(max_memberships=1, initial_membership=None)
cover = h.community_hedonic(
    max_memberships=3,
    initial_membership=list(partition.membership),
)

Continuing from the last result

Every call stores its result in h.memberships, one list of labels per vertex. When initial_membership is omitted, the next call starts from that state, so repeated calls continue from the previous equilibrium:

initial_membership Start state
omitted the stored h.memberships, or singletons if nothing is stored
None a fresh default start (singletons, or a feasible start under count limits)
a list that partition or cover

Because the stored state is reused, switching from an overlapping call back to max_memberships=1 without initial_membership=None fails: the stored cover has vertices in several communities. You can also assign h.memberships yourself.

3. Parameters

Parameter Default Role
max_memberships 1 1 = partition; >1 = cover with that per-vertex cap; -1 = no practical per-vertex cap
resolution graph density CPM γ. Smaller γ gives larger communities
allow_isolation False Allow a vertex to open a new, empty community
initial_membership stored state See Continuing from the last result
max_communities None Random disjoint start over [0, max_communities) when no start is given; not an output limit
edge_weights unweighted Edge weights (sequence or edge-attribute name)
node_weights unweighted Vertex weights (sequence or vertex-attribute name) in the crowding term γ w_u w_v
max_total_communities None At most K occupied communities, in the result and in every state visited
n_communities None Exactly K occupied communities
seed None Seed of the visiting order (see below)

Everything after allow_isolation is keyword-only.

Reproducible runs. With seed=, the visiting order is drawn from random.Random(seed), so the same graph, parameters, start and seed give the same result:

a = h.community_hedonic(initial_membership=None, seed=7)
b = h.community_hedonic(initial_membership=None, seed=7)
assert a.membership == b.membership

Without a seed, the order is drawn from Python's random module, which is also python-igraph's default generator, so random.seed(...) before the call makes it repeatable too.

Community-count limits. max_total_communities=K keeps the number of occupied communities at most K, and n_communities=K keeps it exactly K:

partition = h.community_hedonic(initial_membership=None, n_communities=2)
cover = h.community_hedonic(initial_membership=None, max_memberships=3,
                            max_total_communities=4)

Both must be positive integers, and n_communities must not exceed max_total_communities. Without a start state, a deterministic feasible start is built; a supplied start that violates a limit is rejected, never silently repaired. The result is then an equilibrium over the moves the limit allows.

What the result carries. Besides the communities, a result has _hedonic_provenance (versions, effective parameters, count mode, and equilibrium_slack) and _hedonic_native_quality, the potential of the returned state.

4. Scoring against a reference

evaluate_against scores the stored result against a known cover or partition:

h = Game.Famous("Zachary")
h.community_hedonic(seed=0)
truth = [0] * 17 + [1] * 17          # any flat partition, cover or VertexClustering
print(h.evaluate_against(truth, method="f1"))

Methods: f1 (symmetric best match), one_to_one_f1 (needs SciPy), jaccard, omega, node_micro_f1 and size_weighted_community_f1. The underlying functions are in hedonic.metrics.

5. Worked example

import igraph as ig
from hedonic import Game

h = Game(ig.Graph.Famous("Zachary"))

partition = h.community_hedonic(max_memberships=1, seed=0)
print(f"{h.vcount()} vertices, {h.ecount()} edges")
print(f"disjoint communities: {len(partition)}, sizes {partition.sizes()}")

cover = h.community_hedonic(max_memberships=3, initial_membership=None, seed=0)
print(f"overlapping communities: {len(cover)}")
print(f"memberships of the first five vertices: {cover.membership[:5]}")

Interactive explainer

The web/ directory contains an educational website that explains the disjoint hedonic game visually: friends and strangers on a balance scale, the resolution parameter, the Familiarity Index, the decision tree, the metagraph of all partitions of a four-vertex graph, and better-response walks to a stable equilibrium. It also hosts documentation generated from this package's source. It is a small browser-side teaching model, not a replacement for the detector. From the repository root:

npm install
npm run dev

The GitHub Actions workflow .github/workflows/pages.yml tests, builds and publishes it to GitHub Pages; see web/README.md for details.

Development

git clone https://github.com/lucaslopes/hedonic.git
cd hedonic
python -m pip install -e ".[metrics]" pytest
python -m pytest
make -C native test            # the C core's own tests (sanitizers)
python tools/native_tests.py   # bit-level pins, as the wheel builds run them

The C core lives in native/ (include/hedonic_core.h is its API, native/README.md its design) and is compiled by setup.py into hedonic._core. Rounding is fixed by the source (explicit fused multiply-adds, computed by the instruction or the core's own correctly rounded soft fma, never the C library's; no contraction), so results are identical across platforms; the wheel workflow (.github/workflows/wheels.yml) checks this on every platform it builds for.

License

This project is distributed under the GNU General Public License, version 3 or later. See LICENSE. The C core was written for this package and contains no code from igraph or other libraries; the binding implements the MT19937 generator step (Matsumoto and Nishimura) as CPython's random module does, so that seeded runs draw exactly what random.Random would.

Metadata

Release files for hedonic 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hedonic 2.0.0
File Size Uploaded Provenance Actions
hedonic-2.0.0.tar.gz 154.0 kB With provenance Details for hedonic-2.0.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for hedonic 2.0.0
File Actions
hedonic-2.0.0-cp314-cp314-win_arm64.whl CPython 3.14 CPython 3.14 Windows ARM64 Details for hedonic-2.0.0-cp314-cp314-win_arm64.whl
hedonic-2.0.0-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for hedonic-2.0.0-cp314-cp314-win_amd64.whl
hedonic-2.0.0-cp314-cp314-musllinux_1_2_x86_64.whl CPython 3.14 CPython 3.14 Linux musl 1.2+ x86-64 Details for hedonic-2.0.0-cp314-cp314-musllinux_1_2_x86_64.whl
hedonic-2.0.0-cp314-cp314-musllinux_1_2_aarch64.whl CPython 3.14 CPython 3.14 Linux musl 1.2+ ARM64 Details for hedonic-2.0.0-cp314-cp314-musllinux_1_2_aarch64.whl
hedonic-2.0.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for hedonic-2.0.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
hedonic-2.0.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ ARM64, Linux glibc 2.28+ ARM64 Details for hedonic-2.0.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
hedonic-2.0.0-cp314-cp314-macosx_11_0_x86_64.whl CPython 3.14 CPython 3.14 macOS 11.0+ x86-64 Details for hedonic-2.0.0-cp314-cp314-macosx_11_0_x86_64.whl
hedonic-2.0.0-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for hedonic-2.0.0-cp314-cp314-macosx_11_0_arm64.whl
hedonic-2.0.0-cp313-cp313-win_arm64.whl CPython 3.13 CPython 3.13 Windows ARM64 Details for hedonic-2.0.0-cp313-cp313-win_arm64.whl
hedonic-2.0.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for hedonic-2.0.0-cp313-cp313-win_amd64.whl
hedonic-2.0.0-cp313-cp313-musllinux_1_2_x86_64.whl CPython 3.13 CPython 3.13 Linux musl 1.2+ x86-64 Details for hedonic-2.0.0-cp313-cp313-musllinux_1_2_x86_64.whl
hedonic-2.0.0-cp313-cp313-musllinux_1_2_aarch64.whl CPython 3.13 CPython 3.13 Linux musl 1.2+ ARM64 Details for hedonic-2.0.0-cp313-cp313-musllinux_1_2_aarch64.whl
hedonic-2.0.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for hedonic-2.0.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
hedonic-2.0.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ ARM64, Linux glibc 2.28+ ARM64 Details for hedonic-2.0.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
hedonic-2.0.0-cp313-cp313-macosx_11_0_x86_64.whl CPython 3.13 CPython 3.13 macOS 11.0+ x86-64 Details for hedonic-2.0.0-cp313-cp313-macosx_11_0_x86_64.whl
hedonic-2.0.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for hedonic-2.0.0-cp313-cp313-macosx_11_0_arm64.whl
hedonic-2.0.0-cp312-cp312-win_arm64.whl CPython 3.12 CPython 3.12 Windows ARM64 Details for hedonic-2.0.0-cp312-cp312-win_arm64.whl
hedonic-2.0.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for hedonic-2.0.0-cp312-cp312-win_amd64.whl
hedonic-2.0.0-cp312-cp312-musllinux_1_2_x86_64.whl CPython 3.12 CPython 3.12 Linux musl 1.2+ x86-64 Details for hedonic-2.0.0-cp312-cp312-musllinux_1_2_x86_64.whl
hedonic-2.0.0-cp312-cp312-musllinux_1_2_aarch64.whl CPython 3.12 CPython 3.12 Linux musl 1.2+ ARM64 Details for hedonic-2.0.0-cp312-cp312-musllinux_1_2_aarch64.whl
hedonic-2.0.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for hedonic-2.0.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
hedonic-2.0.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ ARM64, Linux glibc 2.28+ ARM64 Details for hedonic-2.0.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
hedonic-2.0.0-cp312-cp312-macosx_11_0_x86_64.whl CPython 3.12 CPython 3.12 macOS 11.0+ x86-64 Details for hedonic-2.0.0-cp312-cp312-macosx_11_0_x86_64.whl
hedonic-2.0.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for hedonic-2.0.0-cp312-cp312-macosx_11_0_arm64.whl

Total release size: 3.3 MB

Release files / hedonic-2.0.0.tar.gz

Download URL hedonic-2.0.0.tar.gz
Size 154.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3f3befa331e2764028f59695ba4b0fb64a7c90b81872801c81d5c0968f06f3a4
BLAKE2b-256 checksum
How to use checksums
6dbfd78574d346e1417333169841f5d492001cfaee85cf9fe47e615b0216c46a
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 17, 2026.

Transparency log

Release files / hedonic-2.0.0-cp314-cp314-win_arm64.whl

Download URL hedonic-2.0.0-cp314-cp314-win_arm64.whl
Size 98.4 kB
Tags CPython 3.14 Windows ARM64
SHA-256 checksum
How to use checksums
79638d597554892d6a85640563a1eb7ef0314e7285c17a1105be47ab60e36533
BLAKE2b-256 checksum
How to use checksums
d0df8ea3fd60118e54e7a42ef8485d6517f11c44babcc75ecdb3a7382f539ce9
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 17, 2026.

Transparency log

Release files / hedonic-2.0.0-cp314-cp314-win_amd64.whl

Download URL hedonic-2.0.0-cp314-cp314-win_amd64.whl
Size 145.5 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
5977f97adb3b66a15862e11eeb31fcf1b729239395f90a9343d083ed1b562b95
BLAKE2b-256 checksum
How to use checksums
f3e741e90ea4be4277950ace81b0d5a4549bad817273f0a6bcf3a9f92f898731
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 17, 2026.

Transparency log

Release files / hedonic-2.0.0-cp314-cp314-musllinux_1_2_x86_64.whl

Download URL hedonic-2.0.0-cp314-cp314-musllinux_1_2_x86_64.whl
Size 170.0 kB
Tags CPython 3.14 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
543ec7388e75316986d5bd539b9d47b43b54cece533f7ddc61e0f8b2467f60e9
BLAKE2b-256 checksum
How to use checksums
ba3be6a9a49c23b621b28600cd76f11bc62050cd532b6539549d818071585fca
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 17, 2026.

Transparency log

Release files / hedonic-2.0.0-cp314-cp314-musllinux_1_2_aarch64.whl

Download URL hedonic-2.0.0-cp314-cp314-musllinux_1_2_aarch64.whl
Size 110.8 kB
Tags CPython 3.14 Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
7eaf3c5e8d0fbee841d9dcb637c0f7d615c9e4798e06567873d66d5bd5b054fe
BLAKE2b-256 checksum
How to use checksums
250e72329a91835f57a1a20672169449b902ae10237627d1963db1a304edf299
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 17, 2026.

Transparency log

Release files / hedonic-2.0.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL hedonic-2.0.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 169.0 kB
Tags CPython 3.14 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
f87c73c0310625342a708555f7cb1245190d8e08baf76dd2690745a1cf69d375
BLAKE2b-256 checksum
How to use checksums
204b57eba38b37e09c48f31cc7de1768b43bd6828227fd4019a0a0bffeb4b1a4
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 17, 2026.

Transparency log

Release files / hedonic-2.0.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl

Download URL hedonic-2.0.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Size 111.0 kB
Tags CPython 3.14 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
96d6e6536ea82873926ccc151207c3b4c902e6aebec1f6238bc9b29e16e080cf
BLAKE2b-256 checksum
How to use checksums
666b5756108b71aaffc56989df8929dff7dc96f98114fd3356eb93b0214ddba1
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 17, 2026.

Transparency log

Release files / hedonic-2.0.0-cp314-cp314-macosx_11_0_x86_64.whl

Download URL hedonic-2.0.0-cp314-cp314-macosx_11_0_x86_64.whl
Size 139.3 kB
Tags CPython 3.14 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
b44e198de3d1008c4b5de4d7e805704c836a2fcbcbfa02dfc69f579c54f1dd05
BLAKE2b-256 checksum
How to use checksums
34424b1c1e565d27525445423a0c4dd6ba41d5c97e2254971996e4bbbc54badd
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 17, 2026.

Transparency log

Release files / hedonic-2.0.0-cp314-cp314-macosx_11_0_arm64.whl

Download URL hedonic-2.0.0-cp314-cp314-macosx_11_0_arm64.whl
Size 93.5 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f0b843068a077cfaa6d4baa60a40d34c344cbcbb21fe2d8ffa09baa759ff1b4a
BLAKE2b-256 checksum
How to use checksums
ba135a2dae236313c7937b2628a90dcc0c48b555e6e583347e3dadab7e978e16
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 17, 2026.

Transparency log

Release files / hedonic-2.0.0-cp313-cp313-win_arm64.whl

Download URL hedonic-2.0.0-cp313-cp313-win_arm64.whl
Size 96.7 kB
Tags CPython 3.13 Windows ARM64
SHA-256 checksum
How to use checksums
09b3b294e2c0c83ae31cdae4f9b8a7c2af7d1cb3144a3f4c9065b636009aa494
BLAKE2b-256 checksum
How to use checksums
7a4c51f9102d0e1c6974d748ce6ad94e579d607597cd35770f3e0a4c0b10ce19
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 17, 2026.

Transparency log

Release files / hedonic-2.0.0-cp313-cp313-win_amd64.whl

Download URL hedonic-2.0.0-cp313-cp313-win_amd64.whl
Size 143.0 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
91eee8c947972b735b867f9cb7742c27ab50cfeeca09166bb981cc26f7429f32
BLAKE2b-256 checksum
How to use checksums
a43630e8ee0b38e4568988945b4cb83c2c0e320435fd950239ab52b3e21f8442
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 17, 2026.

Transparency log

Release files / hedonic-2.0.0-cp313-cp313-musllinux_1_2_x86_64.whl

Download URL hedonic-2.0.0-cp313-cp313-musllinux_1_2_x86_64.whl
Size 169.9 kB
Tags CPython 3.13 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
6b55f5c762a0097f1725405c23297991323c37595d8085fa428ffe8c56df7da1
BLAKE2b-256 checksum
How to use checksums
1db0d5a4baa5801360dc4eb93c54851745001d43600ac358b460c8224c391ca6
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 17, 2026.

Transparency log

Release files / hedonic-2.0.0-cp313-cp313-musllinux_1_2_aarch64.whl

Download URL hedonic-2.0.0-cp313-cp313-musllinux_1_2_aarch64.whl
Size 110.7 kB
Tags CPython 3.13 Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
f544423c795b1166c6c28619653469e3cc9c28380ad3e52ab2aeb115fbf023c7
BLAKE2b-256 checksum
How to use checksums
b27efeac4d7f3e859a4afe0762c40ab33c505d54d24477aa2a41d112415a734b
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 17, 2026.

Transparency log

Release files / hedonic-2.0.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL hedonic-2.0.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 169.0 kB
Tags CPython 3.13 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
13096c3a2e10b0839e4433fe1f17ac1d27169a41c054b2522f09e83bd4e7063d
BLAKE2b-256 checksum
How to use checksums
7e24c8cecf7db5261353bd9cc77d881f50dac4bf95f62bcaf906cccbfd800144
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 17, 2026.

Transparency log

Release files / hedonic-2.0.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl

Download URL hedonic-2.0.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Size 110.9 kB
Tags CPython 3.13 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
93814910eb98d08f2f4eb231a8332065602688271e36b4140d512fb3e8e40a32
BLAKE2b-256 checksum
How to use checksums
9842fd7a1a81b976bcd36626fc754dd5d2651a811b4128a0a8b3d8dfab4982f1
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 17, 2026.

Transparency log

Release files / hedonic-2.0.0-cp313-cp313-macosx_11_0_x86_64.whl

Download URL hedonic-2.0.0-cp313-cp313-macosx_11_0_x86_64.whl
Size 139.3 kB
Tags CPython 3.13 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
4f51a094ef7da8759b23c505932d241e894b8825dc73f5462561390b240758cd
BLAKE2b-256 checksum
How to use checksums
d932319e0b3d6c0d31afa24ed34cf95d94d446c0c61884b7bed9c7dea2c693ee
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 17, 2026.

Transparency log

Release files / hedonic-2.0.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL hedonic-2.0.0-cp313-cp313-macosx_11_0_arm64.whl
Size 93.6 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
174d9f9f902a5c4703b8b72c9b1aef7e66e2aee1f8674baaaa997264efbf4e91
BLAKE2b-256 checksum
How to use checksums
c7d7831b6fe891c92d95e02541ca83948bdff5c47e703553b595ae0d0f883945
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 17, 2026.

Transparency log

Release files / hedonic-2.0.0-cp312-cp312-win_arm64.whl

Download URL hedonic-2.0.0-cp312-cp312-win_arm64.whl
Size 96.7 kB
Tags CPython 3.12 Windows ARM64
SHA-256 checksum
How to use checksums
8039cce0f20f5a3d99ad01196dd6e3efddf5470c8a62bf4c8ef6a5d756dd9d06
BLAKE2b-256 checksum
How to use checksums
ba698e399f0b57af5d98714f0000a26d4da247a08bc4a153e0c5027ea53ebe0b
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 17, 2026.

Transparency log

Release files / hedonic-2.0.0-cp312-cp312-win_amd64.whl

Download URL hedonic-2.0.0-cp312-cp312-win_amd64.whl
Size 143.0 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
a809e00ce66585cafdbf228fb62021be15550923e9d05c9665b8599914ad224a
BLAKE2b-256 checksum
How to use checksums
d6e5ae055bb45304febd9da56509ab04c900e45b0e75bce77ddb1b5b41f3a7fc
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 17, 2026.

Transparency log

Release files / hedonic-2.0.0-cp312-cp312-musllinux_1_2_x86_64.whl

Download URL hedonic-2.0.0-cp312-cp312-musllinux_1_2_x86_64.whl
Size 169.9 kB
Tags CPython 3.12 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
51b3c8690bdbdc7519d21b08511ffe1e8e8654a18fca6f6f189b99c90469e0f2
BLAKE2b-256 checksum
How to use checksums
12ac1d8edf93a7f83e4e1b617b06228cbe2d67c95c2896d939226e38ce44dc52
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 17, 2026.

Transparency log

Release files / hedonic-2.0.0-cp312-cp312-musllinux_1_2_aarch64.whl

Download URL hedonic-2.0.0-cp312-cp312-musllinux_1_2_aarch64.whl
Size 110.7 kB
Tags CPython 3.12 Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
263e45d301c19347cb8a7e5fb39ded5b6fbf1a2c6f3d3f3f21bb3f03918f8d61
BLAKE2b-256 checksum
How to use checksums
b7f90fa229150a8eb24e7212c8cd0a72afefc727fc488a7bd066cd16fe480c09
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 17, 2026.

Transparency log

Release files / hedonic-2.0.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL hedonic-2.0.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 169.0 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
fbba54d5ccab23d3b0d806cda1b931ef0cd0fbeca22f1629bb73589866c88bc9
BLAKE2b-256 checksum
How to use checksums
74c09cac00743ff50b1a3847e8d6011001bdd655704eedf45201855dfaae7177
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 17, 2026.

Transparency log

Release files / hedonic-2.0.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl

Download URL hedonic-2.0.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Size 110.9 kB
Tags CPython 3.12 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
cbdaf340c944416f2e4b83cd41cf1c62a5471d422f6d30e147f4a67fd9cde1e7
BLAKE2b-256 checksum
How to use checksums
96142c07d3276ba765a77f790cb46c60b79d68fd6e829cfd5978daca789d6558
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 17, 2026.

Transparency log

Release files / hedonic-2.0.0-cp312-cp312-macosx_11_0_x86_64.whl

Download URL hedonic-2.0.0-cp312-cp312-macosx_11_0_x86_64.whl
Size 139.3 kB
Tags CPython 3.12 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
69d81f143c521b94decc6365c5f73ae57b2c152a5871384f92e1b61bcf4893e4
BLAKE2b-256 checksum
How to use checksums
0ea3a16e574a313e295440fa1b5ecd8ea32c95825bd4bb666c2a76f87e47701d
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 17, 2026.

Transparency log

Release files / hedonic-2.0.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL hedonic-2.0.0-cp312-cp312-macosx_11_0_arm64.whl
Size 93.6 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
6054cfc4de207c4857c4c6fe4bb27ce94ebbbc98080af1f5161a07ff5c51b15f
BLAKE2b-256 checksum
How to use checksums
80edccf9ec8dad5ebfeba2cc9dab95e731b618d106c23aea01d7caeb25379caf
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 17, 2026.

Transparency log

Security for hedonic 2.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 25 files in this release have been uploaded with provenance metadata.

Select from 25 files

Attestation for hedonic-2.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 17, 2026.

Transparency log

A 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.

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