Skip to main content

discrete dists

CodSpeed

Simple utilities for defining complex distributions over discrete elements. Backed by a fast sum-tree implementation written in Rust.

Getting Started

pip install discrete-dists

The formal API behavior is documented in SEMANTICS.md.

When to use which distribution

  • Uniform: sample evenly from a fixed interval [lo, hi).
  • Proportional: sample discrete elements proportionally to per-element nonnegative weights.
  • Categorical: convenience wrapper around Proportional using standard probability terminology.
  • MixtureDistribution: blend multiple sub-distributions with mixture weights.
  • WindowMixture: weight elements by how long ago they were stamped, with age windows and optional half-life decay.

API

Rng

Sampling methods take a seeded Rng rather than a numpy Generator; the same seed reproduces the same draws. Where you previously passed a numpy Generator, pass Rng(seed) instead.

from discrete_dists import Rng

rng = Rng(0)

Uniform Distribution

A Rust-backed uniform distribution, conforming to the Distribution API defined in this library. This wrapper additionally introduces importance sampling ratio calculations, sampling without replacement, and stratified sampling.

from discrete_dists import Rng
from discrete_dists.uniform import Uniform

rng = Rng(0)

u = Uniform(100)

# sampling
print(u.sample(rng, 10))
print(u.stratified_sample(rng, 10))
print(u.sample_without_replacement(rng, 10))

# importance sampling ratio
other = Uniform(10)

items = [0, 3, 8]
isrs = u.isr(other, items)

# out-of-support probabilities are zero
print(u.probs([-1, 0, 99, 100]))

# updating the support
u.update_single(150)

Proportional Distribution

Sample proportional to a list of values.

from discrete_dists.proportional import Proportional
from discrete_dists.categorical import Categorical

p = Proportional(5)

# set the values to sample proportional to
p.update(idxs=[0, 2], values=[1, 2])
# approximately 33% of values are 0, and 66% are 2
print(p.sample(rng, 10000))

p.update(idxs=[1], values=[2])
# approximately 20% are 0, 40% are 1, and 40% are 2
print(p.sample(rng, 10000))

# standard alias if you prefer probability terminology
c = Categorical(5)

Mixture Distribution

Mix together arbitrary distributions with arbitrary supports.

from discrete_dists.proportional import Proportional
from discrete_dists.uniform import Uniform
from discrete_dists.mixture import MixtureDistribution, SubDistribution

prop = Proportional(100)
m = MixtureDistribution([
    SubDistribution(d=prop, p=0.2),
    SubDistribution(d=Uniform(10), p=0.8),
])

prop.update(idxs=np.arange(100), values=100-np.arange(100))

print(m.sample(rng, 10000))

Mixtures ignore defunct children when computing probabilities and samples.

Window Mixture

Weight elements by how long ago they were stamped. Stamps and the cursor can live on any monotone axis, such as step counts. Set half_life on a Window to decay weights by 0.5 ** (age / half_life) inside that window.

import numpy as np
from discrete_dists import Rng, Window, WindowMixture

rng = Rng(0)
m = WindowMixture(10_000, [Window(0, 1000, p=0.75), Window(1000, np.inf, p=0.25)])

# each event is stamped with the step it arrived at
for step in range(5000):
    m.advance(step)
    m.insert([step], [step], [1.0])

# about 75% of draws come from the last 1000 steps, 25% from older events
print(m.sample(rng, 100))

Edge cases and contracts

  • probs() returns 0 outside support.
  • sample_without_replacement() returns exactly n unique elements or raises ValueError.
  • isr() may return inf or nan when supports do not overlap.
  • Proportional.update_support() supports same-width shifts and widening that fully contains the old support.

Performance notes

  • The Rust-backed sum tree powers Proportional/Categorical operations.
  • Core update/query paths use a flat tree layout and release the GIL in hot paths.
  • In the current test benchmark on this branch, SumTree update and sample paths improved substantially compared with the earlier layered implementation.

Metadata

Release files for discrete-dists 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 discrete-dists 2.0.0
File Size Uploaded Provenance Actions
discrete_dists-2.0.0.tar.gz 167.4 kB With provenance Details for discrete_dists-2.0.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for discrete-dists 2.0.0
File Actions
discrete_dists-2.0.0-cp315-cp315t-win_amd64.whl CPython 3.15 CPython 3.15 free-threading Windows x86-64 Details for discrete_dists-2.0.0-cp315-cp315t-win_amd64.whl
discrete_dists-2.0.0-cp315-cp315t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.15 CPython 3.15 free-threading Linux glibc 2.17+ x86-64 Details for discrete_dists-2.0.0-cp315-cp315t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
discrete_dists-2.0.0-cp315-cp315t-macosx_11_0_arm64.whl CPython 3.15 CPython 3.15 free-threading macOS 11.0+ ARM64 Details for discrete_dists-2.0.0-cp315-cp315t-macosx_11_0_arm64.whl
discrete_dists-2.0.0-cp315-cp315-win_amd64.whl CPython 3.15 CPython 3.15 Windows x86-64 Details for discrete_dists-2.0.0-cp315-cp315-win_amd64.whl
discrete_dists-2.0.0-cp315-cp315-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.15 CPython 3.15 Linux glibc 2.17+ x86-64 Details for discrete_dists-2.0.0-cp315-cp315-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
discrete_dists-2.0.0-cp315-cp315-macosx_11_0_arm64.whl CPython 3.15 CPython 3.15 macOS 11.0+ ARM64 Details for discrete_dists-2.0.0-cp315-cp315-macosx_11_0_arm64.whl
discrete_dists-2.0.0-cp314-cp314t-win_amd64.whl CPython 3.14 CPython 3.14 free-threading Windows x86-64 Details for discrete_dists-2.0.0-cp314-cp314t-win_amd64.whl
discrete_dists-2.0.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ x86-64 Details for discrete_dists-2.0.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
discrete_dists-2.0.0-cp314-cp314t-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64 Details for discrete_dists-2.0.0-cp314-cp314t-macosx_11_0_arm64.whl
discrete_dists-2.0.0-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for discrete_dists-2.0.0-cp314-cp314-win_amd64.whl
discrete_dists-2.0.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ x86-64 Details for discrete_dists-2.0.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
discrete_dists-2.0.0-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for discrete_dists-2.0.0-cp314-cp314-macosx_11_0_arm64.whl
discrete_dists-2.0.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for discrete_dists-2.0.0-cp313-cp313-win_amd64.whl
discrete_dists-2.0.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details for discrete_dists-2.0.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
discrete_dists-2.0.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for discrete_dists-2.0.0-cp313-cp313-macosx_11_0_arm64.whl
discrete_dists-2.0.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for discrete_dists-2.0.0-cp312-cp312-win_amd64.whl
discrete_dists-2.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details for discrete_dists-2.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
discrete_dists-2.0.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for discrete_dists-2.0.0-cp312-cp312-macosx_11_0_arm64.whl
discrete_dists-2.0.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for discrete_dists-2.0.0-cp311-cp311-win_amd64.whl
discrete_dists-2.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details for discrete_dists-2.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
discrete_dists-2.0.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for discrete_dists-2.0.0-cp311-cp311-macosx_11_0_arm64.whl
discrete_dists-2.0.0-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for discrete_dists-2.0.0-cp310-cp310-win_amd64.whl
discrete_dists-2.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details for discrete_dists-2.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
discrete_dists-2.0.0-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details for discrete_dists-2.0.0-cp310-cp310-macosx_11_0_arm64.whl

Total release size: 9.0 MB

Release files / discrete_dists-2.0.0.tar.gz

Download URL discrete_dists-2.0.0.tar.gz
Size 167.4 kB
Tags Source
SHA-256 checksum
How to use checksums
48aaf3050cd47e3a75c77552c3a46fd4ffdbc194c6ec088b7d764f5422597b3c
BLAKE2b-256 checksum
How to use checksums
bd2f82338e6a56d49fcdac4633369dd3dff42cbfe20ead4cb56cd010cb360871
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 18, 2026.

Transparency log

Release files / discrete_dists-2.0.0-cp315-cp315t-win_amd64.whl

Download URL discrete_dists-2.0.0-cp315-cp315t-win_amd64.whl
Size 308.2 kB
Tags CPython 3.15 CPython 3.15 free-threading Windows x86-64
SHA-256 checksum
How to use checksums
758882d07d0946980a1133e327506281b42934ece64e10e3e3dd609db8495362
BLAKE2b-256 checksum
How to use checksums
3d94d14c0df477fff24532a3b66c7a22ae4017241b0904100c9a48732db0dce4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 18, 2026.

Transparency log

Release files / discrete_dists-2.0.0-cp315-cp315t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL discrete_dists-2.0.0-cp315-cp315t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 414.5 kB
Tags CPython 3.15 CPython 3.15 free-threading Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
c6f9953aa905d83bfcb6f6e2544828b9e412c51d081eef76250e77bd4a86d4af
BLAKE2b-256 checksum
How to use checksums
868197311d64058f98bbd95f953a6407e114d82130afd54694cc3240cc9a9d38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 18, 2026.

Transparency log

Release files / discrete_dists-2.0.0-cp315-cp315t-macosx_11_0_arm64.whl

Download URL discrete_dists-2.0.0-cp315-cp315t-macosx_11_0_arm64.whl
Size 378.2 kB
Tags CPython 3.15 CPython 3.15 free-threading macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
d2f75c398812184fd99e427fbdb299cc8cb71630c091e666469acc80d3b91ce0
BLAKE2b-256 checksum
How to use checksums
f89f79243da5f6484ebe2f3a3741bf0743c0f64b598b7a609218b2b4fd864202
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 18, 2026.

Transparency log

Release files / discrete_dists-2.0.0-cp315-cp315-win_amd64.whl

Download URL discrete_dists-2.0.0-cp315-cp315-win_amd64.whl
Size 309.1 kB
Tags CPython 3.15 Windows x86-64
SHA-256 checksum
How to use checksums
6b4fcfc3f641bf7d279918ad2ab895a7e556c62073e097adc07dc2e28b056659
BLAKE2b-256 checksum
How to use checksums
d1f679efff86c6490f525d20808be0f08d2925bf323a7c44ee6b4e997f35dafc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 18, 2026.

Transparency log

Release files / discrete_dists-2.0.0-cp315-cp315-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL discrete_dists-2.0.0-cp315-cp315-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 417.5 kB
Tags CPython 3.15 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
96fc150c9c5ff41e31df4364c1d4a8c81d1c617ba81583e3eb98bd8a5597d095
BLAKE2b-256 checksum
How to use checksums
f5f46a067d00c241fa6c653113a574779574e4d04a06eedef15ab9d78b62fef1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 18, 2026.

Transparency log

Release files / discrete_dists-2.0.0-cp315-cp315-macosx_11_0_arm64.whl

Download URL discrete_dists-2.0.0-cp315-cp315-macosx_11_0_arm64.whl
Size 381.8 kB
Tags CPython 3.15 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
4da8577a74429c0cb81f79fa4b8e4a65f309dcfcb07306a222bb2d407e5617e7
BLAKE2b-256 checksum
How to use checksums
1bd93ede615c3be206d7d1ba1ad244e706f8f02955db413bc9f6e89f79a6a96f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 18, 2026.

Transparency log

Release files / discrete_dists-2.0.0-cp314-cp314t-win_amd64.whl

Download URL discrete_dists-2.0.0-cp314-cp314t-win_amd64.whl
Size 308.1 kB
Tags CPython 3.14 CPython 3.14 free-threading Windows x86-64
SHA-256 checksum
How to use checksums
d78f86ae8b3ee0781696e834a4b99dfb65cd7c0d757586721da484683e1a6030
BLAKE2b-256 checksum
How to use checksums
a1ac92cabe5e4e812587fc29bb78f6c48c8f860e4631887d0a6ab9a2178846d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 18, 2026.

Transparency log

Release files / discrete_dists-2.0.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL discrete_dists-2.0.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 414.6 kB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
565ffe6726e5ec85e05641c07edf2fbae378bd473a64497267779faa5c70e14f
BLAKE2b-256 checksum
How to use checksums
0807329cee39edf211658630818eafab33dac522b8af3a807de6f3ee5a5c7f2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 18, 2026.

Transparency log

Release files / discrete_dists-2.0.0-cp314-cp314t-macosx_11_0_arm64.whl

Download URL discrete_dists-2.0.0-cp314-cp314t-macosx_11_0_arm64.whl
Size 378.2 kB
Tags CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f7e49193bb5102845e64fdad689ed308956f79987fd8fcb0c23325d60a2e639f
BLAKE2b-256 checksum
How to use checksums
90aa4427cdc72889155f2a9230324b1fbdc39a6077e15154e150c157eda15294
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 18, 2026.

Transparency log

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

Download URL discrete_dists-2.0.0-cp314-cp314-win_amd64.whl
Size 309.0 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
65b82b0b2f2b5d1bdb2feb42edf6e02c3d7a3f0a33facc37f961cfbb79861568
BLAKE2b-256 checksum
How to use checksums
a9db3524c00eef7085dd9763a355495caee80ab1970f525f38399468a7a96e6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 18, 2026.

Transparency log

Release files / discrete_dists-2.0.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL discrete_dists-2.0.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 417.6 kB
Tags CPython 3.14 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
2b75d627c82360912dcb661713e740f6f4c788036be56a926b3847cdc086eb9d
BLAKE2b-256 checksum
How to use checksums
ad9b954c2bae2f222697dd51f0a35e700df96065038a15ecc50138221e16d679
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 18, 2026.

Transparency log

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

Download URL discrete_dists-2.0.0-cp314-cp314-macosx_11_0_arm64.whl
Size 381.9 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
b7c34b221ce7046c70bbcbb8686bae5d153dfcb55df4f8eb861173b1e23bdd7e
BLAKE2b-256 checksum
How to use checksums
087855ef16965263782023c0540b3ee1dc454de0ae6bb94bd6489ca2c6b08c1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 18, 2026.

Transparency log

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

Download URL discrete_dists-2.0.0-cp313-cp313-win_amd64.whl
Size 309.5 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
3d15d79f62272be0e3df3dbf9a9859ecb28f7597393395c87b6f4c61e0e80900
BLAKE2b-256 checksum
How to use checksums
4963e72f4f90ac38050aa09b2f896258e572fddf34365aca28b9e79635ea2b7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 18, 2026.

Transparency log

Release files / discrete_dists-2.0.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL discrete_dists-2.0.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 416.8 kB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
871d24eb3a6963f67ac9f9541a9f6d00515eaf119c3e86caa1a91eb10bbbb290
BLAKE2b-256 checksum
How to use checksums
fc75d37dca2e5d1f84a0c39aeb1df947084247ef2215c4d8a1ef90fc26336dec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 18, 2026.

Transparency log

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

Download URL discrete_dists-2.0.0-cp313-cp313-macosx_11_0_arm64.whl
Size 381.4 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c97e09b2ee275ad7e25f3fbc9032e1f6c66b04dc1316be1513d6760518dd5eb7
BLAKE2b-256 checksum
How to use checksums
d5f259d926a0a3b48ef55cf6b8a3f1f1005445c6db07f18d45182c27f8320fac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 18, 2026.

Transparency log

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

Download URL discrete_dists-2.0.0-cp312-cp312-win_amd64.whl
Size 309.3 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
3b9f23eef464c97ba0105e12c9333b9b3e7df4c32a73387c9462c6b133d5e530
BLAKE2b-256 checksum
How to use checksums
14c3c6f44851dec8af401730d386b056201dfa6695567b43954084d981fd2586
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 18, 2026.

Transparency log

Release files / discrete_dists-2.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL discrete_dists-2.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 416.8 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
353baf7e7bace12eebc5179ee2bfb9b450b9f861e7400bc9f667be93183a2e08
BLAKE2b-256 checksum
How to use checksums
127bd593097ae93642765a6bb1513d8a9716b2bb7fd930599314edd56269d319
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 18, 2026.

Transparency log

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

Download URL discrete_dists-2.0.0-cp312-cp312-macosx_11_0_arm64.whl
Size 381.4 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
b78524cbfb15225467702bc052649b76643e39bc9792e417aa9e4a41770c3eaf
BLAKE2b-256 checksum
How to use checksums
8ad6082d431e2f6282bf639c4624a40d51b0ef989ef9ce8ec788c18310f45bfb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 18, 2026.

Transparency log

Release files / discrete_dists-2.0.0-cp311-cp311-win_amd64.whl

Download URL discrete_dists-2.0.0-cp311-cp311-win_amd64.whl
Size 314.7 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
0849759dcaebeeddc5265ba531705178722dcd6167a6dbdbcb036490db93887c
BLAKE2b-256 checksum
How to use checksums
8ecee137990c02e2c64fa17359116beb0c13ce91db36c58fb3bd76a0f6bc4de7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 18, 2026.

Transparency log

Release files / discrete_dists-2.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL discrete_dists-2.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 418.9 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
876eafb3bef20b78981208fbe211a51c2ca31b0dd61ee498855bc96bd2fd651f
BLAKE2b-256 checksum
How to use checksums
9d469cfbf8be0713c8f113d505409cb90f16f757e8e13f5a7748e742200b4e68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 18, 2026.

Transparency log

Release files / discrete_dists-2.0.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL discrete_dists-2.0.0-cp311-cp311-macosx_11_0_arm64.whl
Size 384.7 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
894ef577a4d06134a5f2778da415d6f2f9988e79c3dffe6ea7f7d338b372a281
BLAKE2b-256 checksum
How to use checksums
fa1e39581da491213e2f9e4b1e549340f1eea6a6f63d3a308f77ebec8df0a95c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 18, 2026.

Transparency log

Release files / discrete_dists-2.0.0-cp310-cp310-win_amd64.whl

Download URL discrete_dists-2.0.0-cp310-cp310-win_amd64.whl
Size 314.9 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
f5b533cd0be3d17b9f59028efd0ca030b151322c7276ccb50e3ddb902a32170e
BLAKE2b-256 checksum
How to use checksums
72154136d7c8367add18658cab35d4992d0cfbce5c336b54a5d58ec132a4cf4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 18, 2026.

Transparency log

Release files / discrete_dists-2.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL discrete_dists-2.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 419.1 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
6b4dcd74e5499df9e0add106636200e94cdf22db1385a7db065f6bf45844a0ef
BLAKE2b-256 checksum
How to use checksums
0079bfebf94eff57ac4837291052d646849519301af1549416f74a3931262fe5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 18, 2026.

Transparency log

Release files / discrete_dists-2.0.0-cp310-cp310-macosx_11_0_arm64.whl

Download URL discrete_dists-2.0.0-cp310-cp310-macosx_11_0_arm64.whl
Size 384.9 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
80d9241678452d589829a5f1e75b1508d5dc88c68cef5a9eb4ebefb55978ac37
BLAKE2b-256 checksum
How to use checksums
2333de69bffe5018afde0e9fa28818d16d5a5fb221b4f48fc6996e19c311041d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 18, 2026.

Transparency log

Security for discrete-dists 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 discrete_dists-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 Oct 18, 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