Maximum Density Segment
This Python package provides an algorithm to solve the Maximum Density Segment problem in O(n) based on the following paper:
Chung, K. M., & Lu, H. I. (2005). An optimal algorithm for the maximum-density segment problem. SIAM Journal on Computing, 34(2), 373-387.
The algorithm is implemented in C++ for efficiency.
Let $S$ be a sequence of $n$ pairs $\bigl(a_i, w_i\bigr)$ where $w_i > 0$ for $i = 1, 2, \dots, n$. Define the width of any consecutive subsequence $S(i,j)$ (where $1 \le i \le j \le n$) as
$$ w(i,j) = w_i + \cdots + w_j $$
and the corresponding density as
$$ d(i,j) = \frac{a_i + \cdots + a_j}{w(i,j)}. $$
Given a minimum width $w_\text{min}$, the Maximum Density Segment problem is to find a segment $S(i,j)$ such that $w(i,j) \geq w_\text{min}$ and $d(i,j)$ is maximized.
Note that the algorithm can be extended to support an upper bound for $w(i,j)$ or to support sparse arrays.
Installation
To install the package, use
pip install max-density-segment
To install the package in development mode, use
pip install -e .
Usage
The function max_density_segment returns the indices of the maximum density segment and its density.
from max_density_segment import find_max_density_segment
import numpy as np
a = np.array([2, 7, -1, 9, 0], dtype=np.float32)
w = np.ones(5, dtype=np.float32)
i, j, density = find_max_density_segment(a, w, w_min=2)
assert (i, j) == (1, 3)
assert density == 5
Testing
To run the tests, use
pytest
The tests include benchmarks, showing a 200x speedup for the C++ implementation compared to a pure Python implementation.
Metadata
Release files for max-density-segment 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| max_density_segment-1.0.2.tar.gz | 10.4 kB | With provenance | Details for max_density_segment-1.0.2.tar.gz |
Built distributions (wheels)
Total release size: 7.5 MB
Release files / max_density_segment-1.0.2.tar.gz
| Download URL | max_density_segment-1.0.2.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7281c44f29cec910e10449f444f3ff8b60ab349e6994faf1487127be6bb363fc
|
|
BLAKE2b-256 checksum How to use checksums |
c5613ee86eb8991f4bb187812f38c3182b2b149266eebfc85ac4cd4dae9e48df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-pp310-pypy310_pp73-win_amd64.whl
| Download URL | max_density_segment-1.0.2-pp310-pypy310_pp73-win_amd64.whl |
|---|---|
| Size | 66.5 kB |
| Tags | PyPy 3.10 PyPy 3.10 7.3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
0a3aa9fb21bae92ef742fe63e8cfe92dd46e46d586817855f7752b3c43b9c056
|
|
BLAKE2b-256 checksum How to use checksums |
47e761f459f172e1fb69b41919e673f0d7aa2349ddadc5ea84634e08d28279f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | max_density_segment-1.0.2-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 86.0 kB |
| Tags | Linux glibc 2.17+ x86-64 PyPy 3.10 PyPy 3.10 7.3 |
|
SHA-256 checksum How to use checksums |
2f004355c4f8a186252b55c6b1cff9c1bfa3f48d6bcc0e77f01e7b109bcf457b
|
|
BLAKE2b-256 checksum How to use checksums |
2a85313010c9874974e021b6c3e2ec7f8eaf4af8a87c376359e713a4237838ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-pp310-pypy310_pp73-macosx_11_0_arm64.whl
| Download URL | max_density_segment-1.0.2-pp310-pypy310_pp73-macosx_11_0_arm64.whl |
|---|---|
| Size | 57.1 kB |
| Tags | PyPy 3.10 PyPy 3.10 7.3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
74106c2534af17e898321d1e26f77a110903e67a49b7bd48aaca2d6cceba87e9
|
|
BLAKE2b-256 checksum How to use checksums |
a373b1dd8afaa3b3583f1d16eb6c8ab80d95031571b3ad59f21ab714b6c4de6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-pp310-pypy310_pp73-macosx_10_15_x86_64.whl
| Download URL | max_density_segment-1.0.2-pp310-pypy310_pp73-macosx_10_15_x86_64.whl |
|---|---|
| Size | 61.1 kB |
| Tags | PyPy 3.10 PyPy 3.10 7.3 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
89e0a8273bc1757446aa5ab019febef77d657be613c458d1cc34eac3cdab932f
|
|
BLAKE2b-256 checksum How to use checksums |
b422fbaca10deb97c2a137bf42e23ebdead04caf2b8c346364b1607330204833
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-pp39-pypy39_pp73-win_amd64.whl
| Download URL | max_density_segment-1.0.2-pp39-pypy39_pp73-win_amd64.whl |
|---|---|
| Size | 66.4 kB |
| Tags | PyPy 3.9 PyPy 3.9 7.3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e5ad2d596393c4e8085d588f774cb450980cec736df9fda39ebf510fa7b6a672
|
|
BLAKE2b-256 checksum How to use checksums |
e51745e770fd822c3a4d6a91c1eed71ba3f6561d13155366335db888f114f897
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | max_density_segment-1.0.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 86.0 kB |
| Tags | Linux glibc 2.17+ x86-64 PyPy 3.9 PyPy 3.9 7.3 |
|
SHA-256 checksum How to use checksums |
5c2dc81ecb5714bc496823843bed91fbebac5e7f0b4ad7a0ac9965bd5652df58
|
|
BLAKE2b-256 checksum How to use checksums |
16db9b5d67c13b7f6569296f81633d7c7cbd9ed2c1c92e4fd42a52d9ffa6b6fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-pp39-pypy39_pp73-macosx_11_0_arm64.whl
| Download URL | max_density_segment-1.0.2-pp39-pypy39_pp73-macosx_11_0_arm64.whl |
|---|---|
| Size | 57.1 kB |
| Tags | PyPy 3.9 PyPy 3.9 7.3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
352cf4d86195386975b8ac41f0cb5bd31897c286c15296c460904489bb9dfd70
|
|
BLAKE2b-256 checksum How to use checksums |
058a42795d6191ed8102a43905c681c90ad59e69504b866074a07b279b40ed25
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-pp39-pypy39_pp73-macosx_10_15_x86_64.whl
| Download URL | max_density_segment-1.0.2-pp39-pypy39_pp73-macosx_10_15_x86_64.whl |
|---|---|
| Size | 61.0 kB |
| Tags | PyPy 3.9 PyPy 3.9 7.3 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
2af63cfbb64f86e8e6b32640a9d256de7359b2b9c40af73acff975571d6129e5
|
|
BLAKE2b-256 checksum How to use checksums |
655df080569977454f03e03c3dfc6d673ce98cdbd90289e56f4d37a7b9334e9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-cp313-cp313-win_amd64.whl
| Download URL | max_density_segment-1.0.2-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 67.8 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
614f7819e1919ec984d2695f38c376acc568398ee108788139e2d295d76aa73b
|
|
BLAKE2b-256 checksum How to use checksums |
01e557f75868e8ca082c04c484e950ee0189240e4752fcdd21751351b46ce7ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-cp313-cp313-win32.whl
| Download URL | max_density_segment-1.0.2-cp313-cp313-win32.whl |
|---|---|
| Size | 60.8 kB |
| Tags | CPython 3.13 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
440530aa44d0a608fa6ba27d09d7d3e4752070d7798a391b17e0b71e299ffd70
|
|
BLAKE2b-256 checksum How to use checksums |
bfef956331a25c563b8b5e6cdf0266fbda682ef961935c05419d34f973208322
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-cp313-cp313-musllinux_1_2_x86_64.whl
| Download URL | max_density_segment-1.0.2-cp313-cp313-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.13 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
9ead8f80e98a18649ee59787259690dd204902d6b6b03b6071fd4ef554b01fef
|
|
BLAKE2b-256 checksum How to use checksums |
f24e49328f341f2e1ce10d2c716225f5e27d21426fe8bac18aef4eb478b798b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | max_density_segment-1.0.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 88.0 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
9af61ab8af4b133bdea927e25f1353a52003ba64640c931e833f4d211e17dadd
|
|
BLAKE2b-256 checksum How to use checksums |
ffaa92643f5062b5be3b4e59004f37d01e10bc2a70838622dcc5edb8a1f8fb3f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | max_density_segment-1.0.2-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 57.2 kB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
9a0c29b565957cfa69abfd31a93292aa6127f36c73eb8c55e602df9e38ff5b95
|
|
BLAKE2b-256 checksum How to use checksums |
e95cd848096999429fd62dcedd8f5ec3837574908616110065ce1aaa2319e2c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-cp313-cp313-macosx_10_13_x86_64.whl
| Download URL | max_density_segment-1.0.2-cp313-cp313-macosx_10_13_x86_64.whl |
|---|---|
| Size | 60.9 kB |
| Tags | CPython 3.13 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
f30eea699c533e4d7d0b6fe8c78147d21394b27a68d5765666a5e127d7c0c392
|
|
BLAKE2b-256 checksum How to use checksums |
ca0b43b6f2d1d314b5d6280bb205920d82865fa140420049f99a349797f44702
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-cp312-cp312-win_amd64.whl
| Download URL | max_density_segment-1.0.2-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 67.8 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
3441ab50d015194255dbab726c8b1f20ce7ae41580650dc40d33bc08a6020870
|
|
BLAKE2b-256 checksum How to use checksums |
5860a30f7477fb08be0ed871af253853d96dffbee79ea8a48edc6acf982a96ba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-cp312-cp312-win32.whl
| Download URL | max_density_segment-1.0.2-cp312-cp312-win32.whl |
|---|---|
| Size | 60.8 kB |
| Tags | CPython 3.12 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
13f63fcddae703dcd12af2c45eec288172b56eb7588e8fa0ad2f11c2c7ae775a
|
|
BLAKE2b-256 checksum How to use checksums |
3b4b48adec665057281d1b023c18c3e6f7591771cb72c12a2e0a47bfe6454ec5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-cp312-cp312-musllinux_1_2_x86_64.whl
| Download URL | max_density_segment-1.0.2-cp312-cp312-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.12 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
9647e599e61d30e0bbaf5b8699e65e96a8ad534e6e0c7f7ca2c4ba14af41ceb5
|
|
BLAKE2b-256 checksum How to use checksums |
7c3618bc6a7b46a129da2f40817b772ccea5c290e2342b0fbadd92314e01e331
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | max_density_segment-1.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 88.1 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
8482e2cdb973a50b5adbc7562798d6887a78c279b063b7aa4a4a9c2ac0d21559
|
|
BLAKE2b-256 checksum How to use checksums |
3b624a78e41b2f47b63629f8fb0797cd1f68d160bea19f5937f2e5f267753481
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | max_density_segment-1.0.2-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 57.2 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ae5e61711167b0a9afbfbb56aa3053e55d71b69e4ac4535365e81af9e7c66c13
|
|
BLAKE2b-256 checksum How to use checksums |
9dfdec6471e0e9dddae33f90de10c540861d8c1e87c201fbad041b3c038e23e8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-cp312-cp312-macosx_10_13_x86_64.whl
| Download URL | max_density_segment-1.0.2-cp312-cp312-macosx_10_13_x86_64.whl |
|---|---|
| Size | 60.8 kB |
| Tags | CPython 3.12 macOS 10.13+ x86-64 |
|
SHA-256 checksum How to use checksums |
61aecb6a8a952ed351d0c6f5cc5c49a3f4b103d9c92aadeea9d141299a86d415
|
|
BLAKE2b-256 checksum How to use checksums |
9c3f6b04e96689dc8e83e7cddc2bfd2c6c9f3f351d68fb0155fdb7684a153688
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-cp311-cp311-win_amd64.whl
| Download URL | max_density_segment-1.0.2-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 67.4 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
d64bc390a5a1a51ad1bb22105f29c4818b50a8fe5d49dc2403dd216f8a6b2e1f
|
|
BLAKE2b-256 checksum How to use checksums |
00eb883d99f8d242b17802206c4f66515153baf48358554690610799386db8a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-cp311-cp311-win32.whl
| Download URL | max_density_segment-1.0.2-cp311-cp311-win32.whl |
|---|---|
| Size | 60.5 kB |
| Tags | CPython 3.11 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
4b2827b350df434e37ad038616706557457a7b02f609ab52c2e6c8727f96cbde
|
|
BLAKE2b-256 checksum How to use checksums |
542d5708f63ce660dc356f128447ebfbe01765943e4aa1984aca17da0f79779d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-cp311-cp311-musllinux_1_2_x86_64.whl
| Download URL | max_density_segment-1.0.2-cp311-cp311-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.11 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
335181ee30e7d9d1df68e9bbdbd932d872633b68263f1c3c32733333aa165922
|
|
BLAKE2b-256 checksum How to use checksums |
aecafbe92b5e148fb912bc6d977ba166428c00f231c075273d61bbe507e6b0e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | max_density_segment-1.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 88.1 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
0b615b6972acd40562c7171ca5a1589fcccb44eb8ade397395f176ee40e63b9a
|
|
BLAKE2b-256 checksum How to use checksums |
3f4459f537acc69a09a1cf6b9aa8c3de4ad0498eca678b4f62447d126e5beab1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | max_density_segment-1.0.2-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 58.4 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
80fb3b1fd8651c829c4e21e44eccc8592a7a4f677e8b3cb9ea1438a61628ffc2
|
|
BLAKE2b-256 checksum How to use checksums |
4efde82c355b52624c67715b604bb178e72b897d780776b82afa95f36fbb6d61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-cp311-cp311-macosx_10_9_x86_64.whl
| Download URL | max_density_segment-1.0.2-cp311-cp311-macosx_10_9_x86_64.whl |
|---|---|
| Size | 62.2 kB |
| Tags | CPython 3.11 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
41b5e483a8a00459af364516feccd113fdf680ce591d1b2e34701fdb262c3c00
|
|
BLAKE2b-256 checksum How to use checksums |
8e087a295f7b2314d808107ca6dc91dcafa8a9ec52dd997812b95b9346a9faa9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-cp310-cp310-win_amd64.whl
| Download URL | max_density_segment-1.0.2-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 66.5 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
de5ad735508396de77661c73d7f01f160a04f15f0896e83e5ba8d1d189bceef2
|
|
BLAKE2b-256 checksum How to use checksums |
6e247dd5c24736a5cc5c859f869bbbf93b7dcb0a9f3486588ae7115d710681bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-cp310-cp310-win32.whl
| Download URL | max_density_segment-1.0.2-cp310-cp310-win32.whl |
|---|---|
| Size | 59.6 kB |
| Tags | CPython 3.10 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
426561f7c6ea7b2a59b67e823adfc702089529987531e9acc10d89b07239b7b3
|
|
BLAKE2b-256 checksum How to use checksums |
698e54883838b2b274723ee847517753a471ebdbc10604587c23f176927637a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-cp310-cp310-musllinux_1_2_x86_64.whl
| Download URL | max_density_segment-1.0.2-cp310-cp310-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.10 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
8818ef6e6ea2aa9e553d6c2191b45b0108b877b468c06d4067742c40a6eb3014
|
|
BLAKE2b-256 checksum How to use checksums |
90060e7ec72fcd9c1c3ceadab7f5c6311a4e205ebafb1f7e51821cc8771d3e7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | max_density_segment-1.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 86.5 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
5be90a30eab92b79e3bd247e9112b2d5817bf3bf86a7c8862c6dbf3145241146
|
|
BLAKE2b-256 checksum How to use checksums |
9c803146b3bd314d5448fc90094d88bf081c34ba3d672e63278bc3826b07f245
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | max_density_segment-1.0.2-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 57.0 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
cf48f9cedac908b407d88af148eb26b8a527f97a9d7a8e585f34783e2e512680
|
|
BLAKE2b-256 checksum How to use checksums |
f46143720b2ea3080faaecfbd1a5d5a888435e7a11e2402093a72d07f0a4aba8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-cp310-cp310-macosx_10_9_x86_64.whl
| Download URL | max_density_segment-1.0.2-cp310-cp310-macosx_10_9_x86_64.whl |
|---|---|
| Size | 60.8 kB |
| Tags | CPython 3.10 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
e3b3e6c7aec3bd018e7be8fdc8ffc7b3376f4799cd25f6a889fd1d41ec801b43
|
|
BLAKE2b-256 checksum How to use checksums |
4c3b504adf640277297e7fe038583d199fc58ff8de27ddedd613bb6bf1622c7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-cp39-cp39-win_amd64.whl
| Download URL | max_density_segment-1.0.2-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 66.6 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
a599b03939d17f1c35931c8d9bde41bc397c1ea6549245f54fbe9362b54a1432
|
|
BLAKE2b-256 checksum How to use checksums |
71168e86119d431aad0993924719e0ad6030f54206236d4bc0ad1cabc8cc5184
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-cp39-cp39-win32.whl
| Download URL | max_density_segment-1.0.2-cp39-cp39-win32.whl |
|---|---|
| Size | 59.9 kB |
| Tags | CPython 3.9 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
01fc32f2014553679738ecfa855158acffdceb7b9fc34bfe78465cc9c50036b9
|
|
BLAKE2b-256 checksum How to use checksums |
3eb5be6cdaaa1e7fbef950d4ae8c0db59efb92ffef0c71d0523cba7c86e4e2f6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-cp39-cp39-musllinux_1_2_x86_64.whl
| Download URL | max_density_segment-1.0.2-cp39-cp39-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 1.1 MB |
| Tags | CPython 3.9 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
d18c1381a112072c2cac6d648e2a17a6cfc45aa8572e5bbeb701c502999e5089
|
|
BLAKE2b-256 checksum How to use checksums |
9eba1092ac6481a0edadee5fd55127631f71ec5a93d4c428097fafaccd1dfdfc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | max_density_segment-1.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 86.6 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
fcad52fae3833e137908363a7c138be725ed192a3f4a77ae0349d9defe30443e
|
|
BLAKE2b-256 checksum How to use checksums |
b6ef791e3aabe31d60bdf0c014b2dba75f62103242e7de7089f2aa89c6dc21f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-cp39-cp39-macosx_11_0_arm64.whl
| Download URL | max_density_segment-1.0.2-cp39-cp39-macosx_11_0_arm64.whl |
|---|---|
| Size | 57.0 kB |
| Tags | CPython 3.9 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
970d7e43cb653c25f869068e9d1baa08bdca31c5d0d33215d7a23f4eb2983b8a
|
|
BLAKE2b-256 checksum How to use checksums |
dde7d941d79bb24731c0e80bea3498736a5492b01c9f6df0af1a00a37f27f4bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logRelease files / max_density_segment-1.0.2-cp39-cp39-macosx_10_9_x86_64.whl
| Download URL | max_density_segment-1.0.2-cp39-cp39-macosx_10_9_x86_64.whl |
|---|---|
| Size | 60.9 kB |
| Tags | CPython 3.9 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
2c5d5d71195460d96c7990435b6b46424269883c9286db1f3b70164eb60e6922
|
|
BLAKE2b-256 checksum How to use checksums |
5cdd153e460f83ce4423816dcb3031460cfb16402dc8e255fab0a40bc3224e6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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 Apr 16, 2025.
Transparency logSecurity for max-density-segment 1.0.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.
Full provenance
All 39 files in this release have been uploaded with provenance metadata.
Attestation for max_density_segment-1.0.2.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 Apr 16, 2025.
Transparency logA 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.