Skip to main content

discrete dists

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.

API

Uniform Distribution

A very simple wrapper over np.random.default_rng().integers, conforming to the Distribution API defined in this library. This wrapper additionally introduces importance sampling ratio calculations, sampling without replacement, and stratified sampling.

import numpy as np
from discrete_dists.uniform import Uniform

rng = np.random.default_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.

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 1.2.2

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 1.2.2
File Size Uploaded Provenance Actions
discrete_dists-1.2.2.tar.gz 109.1 kB Without provenance Details for discrete_dists-1.2.2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for discrete-dists 1.2.2
File Actions
discrete_dists-1.2.2-cp315-cp315-win_amd64.whl CPython 3.15 CPython 3.15 Windows x86-64 Details for discrete_dists-1.2.2-cp315-cp315-win_amd64.whl
discrete_dists-1.2.2-cp315-cp315-win32.whl CPython 3.15 CPython 3.15 Windows x86-32 Details for discrete_dists-1.2.2-cp315-cp315-win32.whl
discrete_dists-1.2.2-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-1.2.2-cp315-cp315-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
discrete_dists-1.2.2-cp315-cp315-manylinux_2_5_i686.manylinux1_i686.whl CPython 3.15 CPython 3.15 Linux glibc 2.5+ x86-32 Details for discrete_dists-1.2.2-cp315-cp315-manylinux_2_5_i686.manylinux1_i686.whl
discrete_dists-1.2.2-cp315-cp315-macosx_11_0_arm64.whl CPython 3.15 CPython 3.15 macOS 11.0+ ARM64 Details for discrete_dists-1.2.2-cp315-cp315-macosx_11_0_arm64.whl
discrete_dists-1.2.2-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for discrete_dists-1.2.2-cp314-cp314-win_amd64.whl
discrete_dists-1.2.2-cp314-cp314-win32.whl CPython 3.14 CPython 3.14 Windows x86-32 Details for discrete_dists-1.2.2-cp314-cp314-win32.whl
discrete_dists-1.2.2-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-1.2.2-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
discrete_dists-1.2.2-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl CPython 3.14 CPython 3.14 Linux glibc 2.5+ x86-32 Details for discrete_dists-1.2.2-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl
discrete_dists-1.2.2-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for discrete_dists-1.2.2-cp314-cp314-macosx_11_0_arm64.whl
discrete_dists-1.2.2-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for discrete_dists-1.2.2-cp313-cp313-win_amd64.whl
discrete_dists-1.2.2-cp313-cp313-win32.whl CPython 3.13 CPython 3.13 Windows x86-32 Details for discrete_dists-1.2.2-cp313-cp313-win32.whl
discrete_dists-1.2.2-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-1.2.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
discrete_dists-1.2.2-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl CPython 3.13 CPython 3.13 Linux glibc 2.5+ x86-32 Details for discrete_dists-1.2.2-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl
discrete_dists-1.2.2-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for discrete_dists-1.2.2-cp313-cp313-macosx_11_0_arm64.whl
discrete_dists-1.2.2-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for discrete_dists-1.2.2-cp312-cp312-win_amd64.whl
discrete_dists-1.2.2-cp312-cp312-win32.whl CPython 3.12 CPython 3.12 Windows x86-32 Details for discrete_dists-1.2.2-cp312-cp312-win32.whl
discrete_dists-1.2.2-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-1.2.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
discrete_dists-1.2.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl CPython 3.12 CPython 3.12 Linux glibc 2.5+ x86-32 Details for discrete_dists-1.2.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl
discrete_dists-1.2.2-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for discrete_dists-1.2.2-cp312-cp312-macosx_11_0_arm64.whl
discrete_dists-1.2.2-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for discrete_dists-1.2.2-cp311-cp311-win_amd64.whl
discrete_dists-1.2.2-cp311-cp311-win32.whl CPython 3.11 CPython 3.11 Windows x86-32 Details for discrete_dists-1.2.2-cp311-cp311-win32.whl
discrete_dists-1.2.2-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-1.2.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
discrete_dists-1.2.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl CPython 3.11 CPython 3.11 Linux glibc 2.5+ x86-32 Details for discrete_dists-1.2.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl
discrete_dists-1.2.2-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for discrete_dists-1.2.2-cp311-cp311-macosx_11_0_arm64.whl
discrete_dists-1.2.2-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for discrete_dists-1.2.2-cp310-cp310-win_amd64.whl
discrete_dists-1.2.2-cp310-cp310-win32.whl CPython 3.10 CPython 3.10 Windows x86-32 Details for discrete_dists-1.2.2-cp310-cp310-win32.whl
discrete_dists-1.2.2-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-1.2.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
discrete_dists-1.2.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl CPython 3.10 CPython 3.10 Linux glibc 2.5+ x86-32 Details for discrete_dists-1.2.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl
discrete_dists-1.2.2-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details for discrete_dists-1.2.2-cp310-cp310-macosx_11_0_arm64.whl

Total release size: 8.3 MB

Release files / discrete_dists-1.2.2.tar.gz

Download URL discrete_dists-1.2.2.tar.gz
Size 109.1 kB
Tags Source
SHA-256 checksum
How to use checksums
24a81a447217f8bf4d09c7bc13a3d0272bb4c5137309003b3597caa0ecd46b12
BLAKE2b-256 checksum
How to use checksums
2df3bdd8ed0cd6c9e002ebcbc2dda3ef410cc9e6871a514a84942a9cc9d0e9a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.15.0

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

Download URL discrete_dists-1.2.2-cp315-cp315-win_amd64.whl
Size 188.6 kB
Tags CPython 3.15 Windows x86-64
SHA-256 checksum
How to use checksums
92c9879d8c58f2ac73e8b6ec38237eb8a151a0f2b8a8b68bcb0d156d117af5fa
BLAKE2b-256 checksum
How to use checksums
b15f14f338cd1ba25b5eb7b9c68ba4f3ac13a357f69c0f48caee08a2024272ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.15.0

Release files / discrete_dists-1.2.2-cp315-cp315-win32.whl

Download URL discrete_dists-1.2.2-cp315-cp315-win32.whl
Size 179.6 kB
Tags CPython 3.15 Windows x86-32
SHA-256 checksum
How to use checksums
f39a1cce96f4b53ef04d53ac2f8de387aa85567f768952352dfb193cb4db853b
BLAKE2b-256 checksum
How to use checksums
59fff750386813247e40f99ecd9aae94aeb502be870655377ec94f3c5561a31c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.15.0

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

Download URL discrete_dists-1.2.2-cp315-cp315-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 337.1 kB
Tags CPython 3.15 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
0dd18d45605fd3929fe307a4567902110416a23ea17b83424a2ae9969ac7d5c5
BLAKE2b-256 checksum
How to use checksums
9899fe25c237de6a86aae2c99c4d294c66144667589593ded4cf1d8df1253d93
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.15.0

Release files / discrete_dists-1.2.2-cp315-cp315-manylinux_2_5_i686.manylinux1_i686.whl

Download URL discrete_dists-1.2.2-cp315-cp315-manylinux_2_5_i686.manylinux1_i686.whl
Size 353.1 kB
Tags CPython 3.15 Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
a0533cf45a6429fc90b2042fa90c8429b23d8217e61db7fd72d2ae225094306d
BLAKE2b-256 checksum
How to use checksums
b5bda3b7141b1b3ab7d2ffac6d61497b2a581bfe22d8c2eb5f39c1eeac5d355a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.15.0

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

Download URL discrete_dists-1.2.2-cp315-cp315-macosx_11_0_arm64.whl
Size 295.1 kB
Tags CPython 3.15 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
18ed25bb9dc52606499d0d22ec574aaf4e178daeb241a60d267d799f942d7371
BLAKE2b-256 checksum
How to use checksums
49e11372e21210b4af29c74e563b46af42bef30f2b9a7f1db761bb4265b3a8e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.15.0

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

Download URL discrete_dists-1.2.2-cp314-cp314-win_amd64.whl
Size 188.5 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
8b023d85b24986bb04ad07d5dd549264c36e5dc24fa16abab6bf55bb5799fc85
BLAKE2b-256 checksum
How to use checksums
a449432be02e27a302631157901cdf59dba5df8034e23b397f453e4c17201ca8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.15.0

Release files / discrete_dists-1.2.2-cp314-cp314-win32.whl

Download URL discrete_dists-1.2.2-cp314-cp314-win32.whl
Size 179.7 kB
Tags CPython 3.14 Windows x86-32
SHA-256 checksum
How to use checksums
ea3b35a8addaa2cfa8dabe83ba81367d224b4e2b9aacc95148a87519e2b73955
BLAKE2b-256 checksum
How to use checksums
7bd0df34fd7c458af8d440124d1a1d75cc3ec33421e8db539edbc9bdf00458f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.15.0

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

Download URL discrete_dists-1.2.2-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 337.1 kB
Tags CPython 3.14 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
777f042ed668fd111f50b143b4b07d240ab3ddf092319b72c501c6300dcd002b
BLAKE2b-256 checksum
How to use checksums
5410a418d60d5da9f47fd5206b192986b69268033cb9844948aeda997052f9b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.15.0

Release files / discrete_dists-1.2.2-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl

Download URL discrete_dists-1.2.2-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl
Size 353.5 kB
Tags CPython 3.14 Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
001c42a8e9b11c4b9f7b484ae946731810bdd52a1738e35dac87cb81bbdb23fd
BLAKE2b-256 checksum
How to use checksums
d141912fbfbd39dac53122909baff747e66aff63398e5bd1d5700ea51b81f60c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.15.0

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

Download URL discrete_dists-1.2.2-cp314-cp314-macosx_11_0_arm64.whl
Size 295.0 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ffe514ebd0328fe961f93bf24416a516a90a6066b959c1d05a217905bdfd93c0
BLAKE2b-256 checksum
How to use checksums
ca8e09e588750ea2a90b49ff1a26ea0650c786e7aae95661d131015a671804e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.15.0

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

Download URL discrete_dists-1.2.2-cp313-cp313-win_amd64.whl
Size 188.6 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
a50c45442f6bc5c24f4ac0a8adcf4373cdf47fdfe891ce1fcb320faf542cb168
BLAKE2b-256 checksum
How to use checksums
5e8fc73a0258ac545e1c838226f82e64495a07f50ab928c36786054190282430
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.15.0

Release files / discrete_dists-1.2.2-cp313-cp313-win32.whl

Download URL discrete_dists-1.2.2-cp313-cp313-win32.whl
Size 179.3 kB
Tags CPython 3.13 Windows x86-32
SHA-256 checksum
How to use checksums
bc72811ee3b3d668810368779f154c89a8d8b9dbbe10aebb628beeb182ad32f9
BLAKE2b-256 checksum
How to use checksums
55db1eca0e1465faa7159b6717f4b94da2fadd119b9de47ebd155b1840e69d0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.15.0

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

Download URL discrete_dists-1.2.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 336.5 kB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
5d87009eb8dc6203884bf45f8cae8cdbc2f5aea4f19546b13a5f7c0051c17381
BLAKE2b-256 checksum
How to use checksums
d0b0fdd2c62344bd509c1a934341928d398118ae1e4647d063e0536dbcc299cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.15.0

Release files / discrete_dists-1.2.2-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl

Download URL discrete_dists-1.2.2-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl
Size 353.0 kB
Tags CPython 3.13 Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
8a2b660a8e2a6306413e717c8437162cd6fba57c392154bf1b51d7674eb65b6c
BLAKE2b-256 checksum
How to use checksums
3aa7f5b1644a98938f2144372a370dcf2f4d4f4ea4a33d020901ab7ba25cb5d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.15.0

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

Download URL discrete_dists-1.2.2-cp313-cp313-macosx_11_0_arm64.whl
Size 295.3 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
3f6d036c9d05a914b4e10391926357c93fc26fec6cb8e62ba99541830eb7a568
BLAKE2b-256 checksum
How to use checksums
d4f8019574e0e7460cf8ee46464f2bb1a63911d78dd61a7a75c3203b7894e71c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.15.0

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

Download URL discrete_dists-1.2.2-cp312-cp312-win_amd64.whl
Size 188.2 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
4411278ecb8e14f19cdda429b162a0d2ff6db9a3c2f57b935d39530c02d072bc
BLAKE2b-256 checksum
How to use checksums
06ba80c8a03f6312dfa5dfc87a31adaa751f5f38b9fb8141a57e7fe777673885
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.15.0

Release files / discrete_dists-1.2.2-cp312-cp312-win32.whl

Download URL discrete_dists-1.2.2-cp312-cp312-win32.whl
Size 179.2 kB
Tags CPython 3.12 Windows x86-32
SHA-256 checksum
How to use checksums
7416752ba9e7ea3ef183fee7ed5d032c3e47887c3862dab8366c30339800e952
BLAKE2b-256 checksum
How to use checksums
e2ec54f4d332daec938929011a6dc8a1b521233d39de9213cf1b3cfc192b308f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.15.0

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

Download URL discrete_dists-1.2.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 337.3 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
71f408ff9bf0be053eb705dd473de810f6d988be413d9ad84959316c3893f119
BLAKE2b-256 checksum
How to use checksums
e5b6a0d48c9c5bdc6cfd7f255d88212be4ba6d95006952878898b63ec156acb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.15.0

Release files / discrete_dists-1.2.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl

Download URL discrete_dists-1.2.2-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.whl
Size 353.3 kB
Tags CPython 3.12 Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
6af143fd2ff9aead612d75e5be56d688ab50374dcccfd8a5f6e915598c69d6ee
BLAKE2b-256 checksum
How to use checksums
70c764df5b7aed753509e252064714acfa770b2c5d85ab117f7c558c33c744f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.15.0

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

Download URL discrete_dists-1.2.2-cp312-cp312-macosx_11_0_arm64.whl
Size 295.1 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
95c2a70ab5e5b19285f401d156b674b46b9e28a3e033156f39bf36173be30e6e
BLAKE2b-256 checksum
How to use checksums
c007c2f27bb80a89b3fe19c1a59b98da32f73a0fdb791390bb4ced118e2df3d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.15.0

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

Download URL discrete_dists-1.2.2-cp311-cp311-win_amd64.whl
Size 190.3 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
2eb1b57bd43c6ec4d372612042a1d2c77858f2f760c0a1a809d792216c4d5f4f
BLAKE2b-256 checksum
How to use checksums
bde168abf1215f6555edad1908e432e4cea2b312aa221606f80098f9e2f1b5ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.15.0

Release files / discrete_dists-1.2.2-cp311-cp311-win32.whl

Download URL discrete_dists-1.2.2-cp311-cp311-win32.whl
Size 181.4 kB
Tags CPython 3.11 Windows x86-32
SHA-256 checksum
How to use checksums
e34c86f238c1855ddef6627bda78cc3762d8c53754ec0d9f398a768379323e1c
BLAKE2b-256 checksum
How to use checksums
b50d7c17c0f1aaebe201aae9a59bf27fdf3f5385c045d25aba71557c0230a763
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.15.0

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

Download URL discrete_dists-1.2.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 340.3 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
b3176f1415a1e5cacc4e26bca34bcbcc6fdf64dc33e6a9221e9962ab7e14b4bc
BLAKE2b-256 checksum
How to use checksums
e97a6af2ebcc828ab8c338fd958dab84b8d2fccefd6d6b3d3d9efac3cf89110b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.15.0

Release files / discrete_dists-1.2.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl

Download URL discrete_dists-1.2.2-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl
Size 355.6 kB
Tags CPython 3.11 Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
d463cf9e52b9b6c3a015f61521e4323b4a4a8cdd1b5911d8965068168052d829
BLAKE2b-256 checksum
How to use checksums
a21b8533fd0335f57fe4479defe0c09d5e6748f0aeac99a6ffb7f42f77ebaf8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.15.0

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

Download URL discrete_dists-1.2.2-cp311-cp311-macosx_11_0_arm64.whl
Size 296.7 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c8b9322e624f98fbeb63f32097d9fa4c878c43e48a1c6047ed14337e17c4fc5b
BLAKE2b-256 checksum
How to use checksums
ae32b5ebca752bf3583997e1b2156ed57be1c02e94e2fd83175e3c5a36fbe74d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.15.0

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

Download URL discrete_dists-1.2.2-cp310-cp310-win_amd64.whl
Size 190.2 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
5808ee0a406b6006e4cfc2939c654d9a1e5fa3cec706b604774390f7bd205379
BLAKE2b-256 checksum
How to use checksums
c04c32134d6b9f4da5e483d1f1d718117ef6ba6412cc72a5c1810dfb4db11cd0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.15.0

Release files / discrete_dists-1.2.2-cp310-cp310-win32.whl

Download URL discrete_dists-1.2.2-cp310-cp310-win32.whl
Size 181.2 kB
Tags CPython 3.10 Windows x86-32
SHA-256 checksum
How to use checksums
3d4da3da9d432640250479789adc8952bccef13a3da1cc068bfe5ee80c439871
BLAKE2b-256 checksum
How to use checksums
d33e11166cf2864f61735cadb98412e87417e12a9b6c64c00899bc6256900e45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.15.0

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

Download URL discrete_dists-1.2.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 340.4 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
237655a78bf11120a067757e33b6fe650f25d6c8444bb0cc53918372e8d3fb69
BLAKE2b-256 checksum
How to use checksums
c242126bb0fb3ffd8ef13cf1c76128128d261a265b83dd67d668cf6f86a341d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.15.0

Release files / discrete_dists-1.2.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl

Download URL discrete_dists-1.2.2-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.whl
Size 355.6 kB
Tags CPython 3.10 Linux glibc 2.5+ x86-32
SHA-256 checksum
How to use checksums
117813ccfac89f7c43e2c16531a3e35acde2939140372fe98bd28b9b94d98afa
BLAKE2b-256 checksum
How to use checksums
d736625974de637023f97488a839e39dfa7147efbd01b8ee7898f7a09965035b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.15.0

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

Download URL discrete_dists-1.2.2-cp310-cp310-macosx_11_0_arm64.whl
Size 296.9 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
9ba7063586851d2fa7796ca4f7d08f8d243c62aecc47c80320a02f3b5fd5496f
BLAKE2b-256 checksum
How to use checksums
e6b5eb72409d785c1f719d1816351cbafa93b47f2ff553ad3720e7de5db0d5ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via maturin/1.15.0

Security for discrete-dists 1.2.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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