Skip to main content

Shrinkage for Python A shrink ray reducing beta coefficients

CI PyPI DOI

Shrinkage fits regression models with penalties that shrink coefficients, select features, or encourage structure. It supports linear and logistic regression with NumPy arrays, with the numerical work handled by Rust. Start with Lasso for linear regression with feature selection, or combine losses, penalties, and solvers to build other models.

See the Python API reference for classes and methods, and the documentation for model guides and examples.

Installation

Install shrinkage from PyPI:

pip install shrinkage

Python 3.11 or newer is required. NumPy 2.0 or newer is installed automatically. Wheels are available for Linux and Windows x86-64 and for macOS Intel and Apple Silicon.

Usage

Fit a lasso model and predict from a matrix whose rows are observations and columns are features:

import numpy as np
from shrinkage import Lasso

X = np.array([[0.0, 1.0], [1.0, 0.0], [2.0, 1.0], [3.0, 2.0]])
y = np.array([1.0, 3.0, 5.0, 7.0])

fit = Lasso(0.1).fit(X, y)

print(fit.coefficients)
print(fit.intercept)
print(fit.predict(X))

By default, Lasso standardizes features and fits an intercept without penalizing it. Returned coefficients and the intercept use the original input scale. Check fit.termination to see whether the solver converged or reached its iteration limit.

Other models

Combine a loss, a penalty, and a solver for other models. For example, clustered lasso encourages coefficients to be equal as well as shrinking them toward zero:

from shrinkage import ClusteredLasso, Gaussian, HybridCoordinateDescent, Problem

problem = Problem(X, Gaussian(y), ClusteredLasso(l1=0.1, fusion=0.05))
fit = problem.fit_with(HybridCoordinateDescent())
predictions = fit.predict(X)

For logistic regression, use Binomial(y) with responses of zero or one. Binomial predictions are logits; convert them to probabilities with np.exp(-np.logaddexp(0, -fit.predict(X))).

Other structured penalties include ChainFusedLasso, which encourages neighboring coefficients to be equal, and Slope, which penalizes coefficients by their rank in magnitude. Both work with Gaussian and binomial models. See the model guides for choosing a penalty.

Regularization paths

Fit a range of penalty strengths to explore how the coefficients change:

from shrinkage import PathOptions

path = problem.fit_regularization_path_with(
    HybridCoordinateDescent(),
    PathOptions(nlambda=20),
)
print(path.lambdas)
print(path.coefficients)

Paths reuse previous fits to reduce computation. Each row of path.coefficients corresponds to one penalty strength. You can also supply an explicit sequence of penalties with problem.fit_path_with(...).

Dense input contract

Pass dense NumPy arrays with finite float64 values: a two-dimensional X with shape (n_samples, n_features) and a one-dimensional y with shape (n_samples,). Use np.asarray(data, dtype=np.float64) to convert other numeric input. Fitting copies the inputs, so later changes to your arrays do not change the fitted model.

Citation

If you use Shrinkage in your research, please cite the release you used. Select that release in the Zenodo archive and export its citation.

Contributing

See the contribution guide for setup and checks.

License

Shrinkage is licensed under the MIT license.

Metadata

Release files for shrinkage 0.3.1

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

Source distribution (sdist)

Source distribution for shrinkage 0.3.1
File Size Uploaded Provenance Actions
shrinkage-0.3.1.tar.gz 4.0 MB With provenance Details for shrinkage-0.3.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for shrinkage 0.3.1
File Actions
shrinkage-0.3.1-cp315-cp315-win_amd64.whl CPython 3.15 CPython 3.15 Windows x86-64 Details for shrinkage-0.3.1-cp315-cp315-win_amd64.whl
shrinkage-0.3.1-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.15 CPython 3.15 Linux glibc 2.17+ x86-64 Details for shrinkage-0.3.1-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
shrinkage-0.3.1-cp315-cp315-macosx_11_0_arm64.whl CPython 3.15 CPython 3.15 macOS 11.0+ ARM64 Details for shrinkage-0.3.1-cp315-cp315-macosx_11_0_arm64.whl
shrinkage-0.3.1-cp315-cp315-macosx_10_12_x86_64.whl CPython 3.15 CPython 3.15 macOS 10.12+ x86-64 Details for shrinkage-0.3.1-cp315-cp315-macosx_10_12_x86_64.whl
shrinkage-0.3.1-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for shrinkage-0.3.1-cp314-cp314-win_amd64.whl
shrinkage-0.3.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ x86-64 Details for shrinkage-0.3.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
shrinkage-0.3.1-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for shrinkage-0.3.1-cp314-cp314-macosx_11_0_arm64.whl
shrinkage-0.3.1-cp314-cp314-macosx_10_12_x86_64.whl CPython 3.14 CPython 3.14 macOS 10.12+ x86-64 Details for shrinkage-0.3.1-cp314-cp314-macosx_10_12_x86_64.whl
shrinkage-0.3.1-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for shrinkage-0.3.1-cp313-cp313-win_amd64.whl
shrinkage-0.3.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details for shrinkage-0.3.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
shrinkage-0.3.1-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for shrinkage-0.3.1-cp313-cp313-macosx_11_0_arm64.whl
shrinkage-0.3.1-cp313-cp313-macosx_10_12_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.12+ x86-64 Details for shrinkage-0.3.1-cp313-cp313-macosx_10_12_x86_64.whl
shrinkage-0.3.1-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for shrinkage-0.3.1-cp312-cp312-win_amd64.whl
shrinkage-0.3.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details for shrinkage-0.3.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
shrinkage-0.3.1-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for shrinkage-0.3.1-cp312-cp312-macosx_11_0_arm64.whl
shrinkage-0.3.1-cp312-cp312-macosx_10_12_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.12+ x86-64 Details for shrinkage-0.3.1-cp312-cp312-macosx_10_12_x86_64.whl
shrinkage-0.3.1-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for shrinkage-0.3.1-cp311-cp311-win_amd64.whl
shrinkage-0.3.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details for shrinkage-0.3.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
shrinkage-0.3.1-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for shrinkage-0.3.1-cp311-cp311-macosx_11_0_arm64.whl
shrinkage-0.3.1-cp311-cp311-macosx_10_12_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.12+ x86-64 Details for shrinkage-0.3.1-cp311-cp311-macosx_10_12_x86_64.whl

Total release size: 15.7 MB

Release files / shrinkage-0.3.1.tar.gz

Download URL shrinkage-0.3.1.tar.gz
Size 4.0 MB
Tags Source
SHA-256 checksum
How to use checksums
e39cecd515427478dd36cefe67e5a9e330fa30cc3724b0a5d99c9ea30761af86
BLAKE2b-256 checksum
How to use checksums
4f65266e4a1751d16f9999554a9c0bbd9acc2885bf1d8f3af5c06858f39f07a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / shrinkage-0.3.1-cp315-cp315-win_amd64.whl

Download URL shrinkage-0.3.1-cp315-cp315-win_amd64.whl
Size 551.8 kB
Tags CPython 3.15 Windows x86-64
SHA-256 checksum
How to use checksums
4e25e5565bcd04f402e9ad9251db07aedf8e213c595b1d9f6d49ba4ecbd928f2
BLAKE2b-256 checksum
How to use checksums
bd33db65dd80f64639d1cb5f4475f2a063388c18cee69ba8e23802d52991467d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / shrinkage-0.3.1-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL shrinkage-0.3.1-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 643.9 kB
Tags CPython 3.15 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
618087ae9ba0a9e266b6f5b6dca115d75f309cf2e516d8f8751e6d75883834b6
BLAKE2b-256 checksum
How to use checksums
4811a9d847ada7d27389d1b2a1ea4b57392e65b36f88e25d2479f3ad73b99307
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / shrinkage-0.3.1-cp315-cp315-macosx_11_0_arm64.whl

Download URL shrinkage-0.3.1-cp315-cp315-macosx_11_0_arm64.whl
Size 548.7 kB
Tags CPython 3.15 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5a9c60e81e93543bf6c90c91d7dbe77932c2ae67447091bb9c91ad2053b7b2c8
BLAKE2b-256 checksum
How to use checksums
43fa0717b4b986dc854567ef3cee61438633f056be9015882a2eda38d63121bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / shrinkage-0.3.1-cp315-cp315-macosx_10_12_x86_64.whl

Download URL shrinkage-0.3.1-cp315-cp315-macosx_10_12_x86_64.whl
Size 601.2 kB
Tags CPython 3.15 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
c39246d5b8501046d595c55ef13ade3423a2edd6e9674e53c00fed9e6e3d6cb8
BLAKE2b-256 checksum
How to use checksums
04ce23c223a89232a903170d98342dc592b4b3b81a8607a276319c449264dfc4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / shrinkage-0.3.1-cp314-cp314-win_amd64.whl

Download URL shrinkage-0.3.1-cp314-cp314-win_amd64.whl
Size 551.6 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
a59f08cc2eeb0c6baacd46ee576378a5c5453dfa8e8ce80ab15a888f005e874b
BLAKE2b-256 checksum
How to use checksums
c90b467972b2d7be661fbf963531dc15d1b26c348ac4be198b608b3a15cb3c0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / shrinkage-0.3.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL shrinkage-0.3.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 643.6 kB
Tags CPython 3.14 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
b5b624bf57a5a71aaca4066240b8f153d64cbefe337e8d149b7fab7b3759447e
BLAKE2b-256 checksum
How to use checksums
f767339df1a5206f7a3632f78b9d323b4525e7c6c866dfdd4708b4c6ed458ca8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / shrinkage-0.3.1-cp314-cp314-macosx_11_0_arm64.whl

Download URL shrinkage-0.3.1-cp314-cp314-macosx_11_0_arm64.whl
Size 548.5 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
4c2bdafa521ccc70513a5dd891906f9fe5365140aad9584200317d03450f4722
BLAKE2b-256 checksum
How to use checksums
60b55fd070efc980303f09561187581df6149dc4b79c4cf1eaed03fdf76b08c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / shrinkage-0.3.1-cp314-cp314-macosx_10_12_x86_64.whl

Download URL shrinkage-0.3.1-cp314-cp314-macosx_10_12_x86_64.whl
Size 600.9 kB
Tags CPython 3.14 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
0527e1fc610f149f80e82b5febfd761c11e9dc20c12cf059970d25e80c443998
BLAKE2b-256 checksum
How to use checksums
9a9e9f02efdf7d7700579ef591b0b528d5bfadf839b923be7c1037d7da183646
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / shrinkage-0.3.1-cp313-cp313-win_amd64.whl

Download URL shrinkage-0.3.1-cp313-cp313-win_amd64.whl
Size 551.0 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
458000b3eb44039cd3ecac4d72cdfde7372659bb9b5caf370b42139b3803f3ee
BLAKE2b-256 checksum
How to use checksums
3728ea933dfb5c895c4742a659f7c2ad3e74f0b046daaf9882716a4504368328
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / shrinkage-0.3.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL shrinkage-0.3.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 643.0 kB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
0b96dbada032f3d743808b7f30d03f6fbb53f8799ba0c47d0e46229fc2e8029b
BLAKE2b-256 checksum
How to use checksums
417f951b20cd97db6dd8dce793861d642eff324208f08af997a4180fbbca74aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / shrinkage-0.3.1-cp313-cp313-macosx_11_0_arm64.whl

Download URL shrinkage-0.3.1-cp313-cp313-macosx_11_0_arm64.whl
Size 548.1 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
2a4a9ef9f2b70df83d48291d998e3c6a3a9a4fab192f6f595dd3c5289ddae2df
BLAKE2b-256 checksum
How to use checksums
57f00a39c42ef75c9e7ef089ef1fb058d9e943f78af7ed90349479e0081b8a62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / shrinkage-0.3.1-cp313-cp313-macosx_10_12_x86_64.whl

Download URL shrinkage-0.3.1-cp313-cp313-macosx_10_12_x86_64.whl
Size 599.9 kB
Tags CPython 3.13 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
b40a63c93c4056ff0a7d3aaa893d07a20548c6a514fceed02aa83c67d4bc6b59
BLAKE2b-256 checksum
How to use checksums
71192a48f122b52a8d1f91d04c208137b76f9ccc2f82f131f3fcbb67c0a66a78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / shrinkage-0.3.1-cp312-cp312-win_amd64.whl

Download URL shrinkage-0.3.1-cp312-cp312-win_amd64.whl
Size 551.2 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
105a1c49e496749034d22c417580f5e5dcce373d877c328f15f5d58bbb62f325
BLAKE2b-256 checksum
How to use checksums
1bce7f8718aaee3d3bea8387dfe7aa343316ebfcf2c54b8fd1b495d69035ef5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / shrinkage-0.3.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL shrinkage-0.3.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 643.2 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
799a58f774c9dae175fb860d7aba8781fcffa559fbe3dc0d318c8f2cad573d3d
BLAKE2b-256 checksum
How to use checksums
f8675b46e1d1fb8d73e9e88d25dcf97c4ca7df2fbef43cadb2e10c803789c03a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / shrinkage-0.3.1-cp312-cp312-macosx_11_0_arm64.whl

Download URL shrinkage-0.3.1-cp312-cp312-macosx_11_0_arm64.whl
Size 548.4 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
68b24d66238631b2eafec516d41b3aa1dc0baf612db7aa3e43a9fa81d46d7a17
BLAKE2b-256 checksum
How to use checksums
448f879b57d7bef24a3ba87e64ca34210dd84d3a96e3130c63bf27496e667969
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / shrinkage-0.3.1-cp312-cp312-macosx_10_12_x86_64.whl

Download URL shrinkage-0.3.1-cp312-cp312-macosx_10_12_x86_64.whl
Size 600.1 kB
Tags CPython 3.12 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
2d75d273eba5a5c36e7299f9b88bcd178a1bdb574a268669b9a555b492a1e8fd
BLAKE2b-256 checksum
How to use checksums
ce499907fe111e76bd3f7fe275e3243507e5a6442de05dc265c7a70ecea86ec0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / shrinkage-0.3.1-cp311-cp311-win_amd64.whl

Download URL shrinkage-0.3.1-cp311-cp311-win_amd64.whl
Size 555.5 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
4e121b98e4bd50d002b8365c4661876fed8c5d4df0db48959ea7bc36e95c69d7
BLAKE2b-256 checksum
How to use checksums
fd61e3078c3fb13dd2839a18083b9604a416633c4f9161f73817663eb218113f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / shrinkage-0.3.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL shrinkage-0.3.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 646.9 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
e3727818315c4c177fbaefff115df6201a32ca9d7406071438186e8f5ed75cde
BLAKE2b-256 checksum
How to use checksums
8293a8516e2fdbf54318e8c47694cb4b06d0dea7f3c127f33d0b00d44cdc7001
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / shrinkage-0.3.1-cp311-cp311-macosx_11_0_arm64.whl

Download URL shrinkage-0.3.1-cp311-cp311-macosx_11_0_arm64.whl
Size 554.1 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
16be8e683dad93b812bc3a9b9b8881adc66140b1ab6b3e9c4b30c7cdc31e70bc
BLAKE2b-256 checksum
How to use checksums
ebf08c04c68b5705db758a323a61cc0c0b639b887619ebbe27d55f8b03369002
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / shrinkage-0.3.1-cp311-cp311-macosx_10_12_x86_64.whl

Download URL shrinkage-0.3.1-cp311-cp311-macosx_10_12_x86_64.whl
Size 598.0 kB
Tags CPython 3.11 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
4d20c0e22eb0df82c7d912d19017adc3a6045ffd1c1967d22585c918a2eaec22
BLAKE2b-256 checksum
How to use checksums
5ed524f774352a74e0c2307e32bbb3efb29a68155b89b80ba0c347e0dc743155
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Security for shrinkage 0.3.1

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 21 files in this release have been uploaded with provenance metadata.

Select from 21 files

Attestation for shrinkage-0.3.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 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.

Release history Release notifications | RSS feed

This release

0.3.1 This release

21 release files Full provenance

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