Skip to main content

Downloads PyPI Python License: MIT

prinPy

A high-performance Python library for fitting principal curves to n-dimensional data, with core algorithms implemented in Rust for speed.

Inspired by the princurve R package.


Installation

pip install prinpy

For neural-network-based fitting (requires PyTorch):

pip install "prinpy[neural]"

Requirements: Python ≥ 3.9, NumPy ≥ 1.20


Quick Start

import numpy as np
from prinpy.local_curves import ConstrainedFitter, GreedyFit

# Noisy 2D spiral
theta = np.linspace(0, 3 * np.pi, 400)
r = np.linspace(0, 1, 400) ** 0.5
data = np.column_stack([r * np.cos(theta), r * np.sin(theta)])
data += np.random.normal(scale=0.02, size=data.shape)

# Fit a principal curve
curve = ConstrainedFitter(algorithm=GreedyFit(), tolerance=0.05).fit(data)

# Project data onto the curve — returns arc lengths, unit positions, and coordinates
projection = curve.project(data)
print(projection.arc_lengths)   # distance along the curve for each point
print(projection.unit_lengths)  # normalised position in [0, 1]
print(projection.points)        # nearest point on the curve

# Reconstruct 100 evenly-spaced points along the curve
reconstructed = curve.interpolate_from_unit(np.linspace(0, 1, 100)).points

What is a Principal Curve?

A principal curve is a smooth, one-dimensional manifold that passes through the middle of a dataset. It is the nonlinear generalisation of a principal component — instead of a straight line of best fit, it is a curve of best fit.

Principal curves are used in GPS track smoothing, bioinformatics, image processing, and anywhere a dataset has an intrinsic one-dimensional structure.


Algorithms

Class Module Strategy Best for
GreedyFit prinpy.local_curves CLPC-g (greedy) Fast fitting, simple or tightly-bunched curves
SVDFit prinpy.local_curves CLPC-s (truncated SVD) Higher accuracy on complex curves
NetworkFitter prinpy.global_curves NLPCA (autoencoder) Sparse data or diffuse point clouds

All algorithms return a PrincipalCurve with the same interface — your downstream code never depends on which algorithm was used.


Local Algorithms

Local algorithms grow the curve one segment at a time, marching from one end of the data to the other. They are fast and work well for tightly structured data.

Both are accessed through ConstrainedFitter, which wraps the chosen segment-finding strategy and fits a smooth spline through the resulting vertices.

from prinpy.local_curves import ConstrainedFitter, GreedyFit, SVDFit

# Greedy — faster, good for most use cases
curve = ConstrainedFitter(algorithm=GreedyFit(inner_radius=0.9), tolerance=0.05).fit(data)

# SVD — more accurate for complex or curved shapes
curve = ConstrainedFitter(algorithm=SVDFit(), tolerance=0.05).fit(data)

tolerance controls the maximum allowed local fitting error per segment. Lower values produce more control points and a tighter fit; higher values produce a coarser, smoother curve.


Global Algorithm (Neural Network)

The global algorithm fits an autoassociative neural network (NLPCA) whose bottleneck layer encodes the one-dimensional position along the curve. It is better suited to sparse or cloud-like data where local structure is not well-defined.

from prinpy.global_curves import NetworkFitter, TrainingCallback

curve = NetworkFitter(
    dim=2,          # dimensionality of your data
    n_hidden=16,    # hidden layer size
    lr=0.01,        # learning rate
    epochs=500,
    callback=TrainingCallback(print_progress=True, every_n_epochs=50),
).fit(data)

Requires pip install "prinpy[neural]".


Working with a Fitted Curve

Every algorithm returns a PrincipalCurve with the same interface:

# Total arc length of the curve
total_length = curve.length()

# Project arbitrary points onto the curve
proj = curve.project(new_data)
proj.points        # (n, d) — nearest points on the curve
proj.arc_lengths   # (n,)   — distance from the start of the curve
proj.unit_lengths  # (n,)   — normalised position in [0, 1]

# Interpolate from arc length
proj = curve.interpolate_from_length(np.array([0.0, 0.5, 1.2]))

# Interpolate from normalised position
proj = curve.interpolate_from_unit(np.linspace(0, 1, 200))

# Control points that define the curve's shape
pts = curve.control_points()  # (k, d)

Development

prinPy uses maturin to build the Rust extension.

# Clone and set up
git clone https://github.com/artusoma/prinpy
cd prinpy

# Install maturin and build the Rust extension in-place
pip install maturin
maturin develop

# Install Python dependencies (add [neural] for PyTorch support)
pip install -e ".[neural]"

# Run tests
python -m pytest tests/

Migrating from v0.x

v1.0.0 is not backwards-compatible. Key changes:

  • A standard PrincipalCurve / CurveFitter interface now exists — v0.x had no common API
  • Core algorithms rewritten in Rust (~70× faster)
  • PyTorch replaces Keras/TensorFlow for the neural fitter
  • SVDFit replaces the old one-dimensional search algorithm
  • All fitters now return a standard PrincipalCurve with a unified projection and interpolation API

References

[1] Dewang Chen, Jiateng Yin, Shiying Yang, Lingxi Li, Peter Pudney, Constraint local principal curve: Concept, algorithms and applications, Journal of Computational and Applied Mathematics, Volume 298, 2016, Pages 222–235. https://doi.org/10.1016/j.cam.2015.11.041

[2] Mark Kramer, Nonlinear Principal Component Analysis Using Autoassociative Neural Networks, AIChE Journal, 1991.


License

MIT © Matthew Artuso. See LICENSE for details.

Metadata

Release files for prinpy 1.0.0

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

Source distribution (sdist)

Source distribution for prinpy 1.0.0
File Size Uploaded Provenance Actions
prinpy-1.0.0.tar.gz 828.6 kB With provenance Details for prinpy-1.0.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for prinpy 1.0.0
File Actions
prinpy-1.0.0-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl PyPy 3.11 PyPy 3.11 7.3 Linux glibc 2.17+ x86-64 Details for prinpy-1.0.0-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
prinpy-1.0.0-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl PyPy 3.11 PyPy 3.11 7.3 Linux glibc 2.17+ ARM64 Details for prinpy-1.0.0-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
prinpy-1.0.0-cp315-cp315-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.15 CPython 3.15 Linux glibc 2.17+ x86-64 Details for prinpy-1.0.0-cp315-cp315-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
prinpy-1.0.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ ARM64 Details for prinpy-1.0.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
prinpy-1.0.0-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details for prinpy-1.0.0-cp314-cp314-win_amd64.whl
prinpy-1.0.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ x86-64 Details for prinpy-1.0.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
prinpy-1.0.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ ARM64 Details for prinpy-1.0.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
prinpy-1.0.0-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details for prinpy-1.0.0-cp314-cp314-macosx_11_0_arm64.whl
prinpy-1.0.0-cp314-cp314-macosx_10_12_x86_64.whl CPython 3.14 CPython 3.14 macOS 10.12+ x86-64 Details for prinpy-1.0.0-cp314-cp314-macosx_10_12_x86_64.whl
prinpy-1.0.0-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.13 CPython 3.13 free-threading Linux glibc 2.17+ ARM64 Details for prinpy-1.0.0-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
prinpy-1.0.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details for prinpy-1.0.0-cp313-cp313-win_amd64.whl
prinpy-1.0.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details for prinpy-1.0.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
prinpy-1.0.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ ARM64 Details for prinpy-1.0.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
prinpy-1.0.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details for prinpy-1.0.0-cp313-cp313-macosx_11_0_arm64.whl
prinpy-1.0.0-cp313-cp313-macosx_10_12_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.12+ x86-64 Details for prinpy-1.0.0-cp313-cp313-macosx_10_12_x86_64.whl
prinpy-1.0.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for prinpy-1.0.0-cp312-cp312-win_amd64.whl
prinpy-1.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details for prinpy-1.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
prinpy-1.0.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ ARM64 Details for prinpy-1.0.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
prinpy-1.0.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details for prinpy-1.0.0-cp312-cp312-macosx_11_0_arm64.whl
prinpy-1.0.0-cp312-cp312-macosx_10_12_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.12+ x86-64 Details for prinpy-1.0.0-cp312-cp312-macosx_10_12_x86_64.whl
prinpy-1.0.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for prinpy-1.0.0-cp311-cp311-win_amd64.whl
prinpy-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details for prinpy-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
prinpy-1.0.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ ARM64 Details for prinpy-1.0.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
prinpy-1.0.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details for prinpy-1.0.0-cp311-cp311-macosx_11_0_arm64.whl
prinpy-1.0.0-cp311-cp311-macosx_10_12_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.12+ x86-64 Details for prinpy-1.0.0-cp311-cp311-macosx_10_12_x86_64.whl
prinpy-1.0.0-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for prinpy-1.0.0-cp310-cp310-win_amd64.whl
prinpy-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details for prinpy-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
prinpy-1.0.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ ARM64 Details for prinpy-1.0.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
prinpy-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details for prinpy-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
prinpy-1.0.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ ARM64 Details for prinpy-1.0.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Total release size: 9.6 MB

Release files / prinpy-1.0.0.tar.gz

Download URL prinpy-1.0.0.tar.gz
Size 828.6 kB
Tags Source
SHA-256 checksum
How to use checksums
bb6e8de276e0667e2e8f75d9e5be54a66e82f83a586528e09d2945b13b904f31
BLAKE2b-256 checksum
How to use checksums
e23cfc3755d5ff276f91f88dd4e06ed51a96eebccbe14f7365a02b8c7b525814
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 24, 2026.

Transparency log

Release files / prinpy-1.0.0-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL prinpy-1.0.0-pp311-pypy311_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 334.7 kB
Tags Linux glibc 2.17+ x86-64 PyPy 3.11 PyPy 3.11 7.3
SHA-256 checksum
How to use checksums
f08b1e680e92e353e205e524dca300349727963ad3e23e2764380bc4fdc28be1
BLAKE2b-256 checksum
How to use checksums
c6c0c657c724b6b843485c5f0b5883ff15dceb3ec4b84db351b12369c73c5aa2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 24, 2026.

Transparency log

Release files / prinpy-1.0.0-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL prinpy-1.0.0-pp311-pypy311_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 313.1 kB
Tags Linux glibc 2.17+ ARM64 PyPy 3.11 PyPy 3.11 7.3
SHA-256 checksum
How to use checksums
c0a9e288efce620c12fcb1e7e5a7ba749f88588e449569361f1623baa31a0e52
BLAKE2b-256 checksum
How to use checksums
0cf948687c4b5863f06597c304bb4246cd5d692b5bbb7bc30efee6c691df46b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 24, 2026.

Transparency log

Release files / prinpy-1.0.0-cp315-cp315-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL prinpy-1.0.0-cp315-cp315-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 331.3 kB
Tags CPython 3.15 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
ac383e0d324db05d194c272c4867cdd49d41ab6f45501f8aa151e2c9a4f63421
BLAKE2b-256 checksum
How to use checksums
576a8c14f79dbb2dea9e521e7bc4de0505a4185fa977c87e906b28998d04b85d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 24, 2026.

Transparency log

Release files / prinpy-1.0.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL prinpy-1.0.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 308.2 kB
Tags CPython 3.14 CPython 3.14 free-threading Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
b68e0601ae623ac471191767c6d53fc1f4a0c48a5af01a8283f792722827f303
BLAKE2b-256 checksum
How to use checksums
a647a388305ea63cc6120da092b4fdbefc51a65166b0ee9a5f53280337915201
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 24, 2026.

Transparency log

Release files / prinpy-1.0.0-cp314-cp314-win_amd64.whl

Download URL prinpy-1.0.0-cp314-cp314-win_amd64.whl
Size 188.5 kB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
807fd3da9bed810f2d6d4da75480be1cc595de886670baffa47bb6333d6ed413
BLAKE2b-256 checksum
How to use checksums
c574f68ece3eeb28e7c5c1ab0a4b9f268fb8e90aa12ddefb75a410d0531f2690
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 24, 2026.

Transparency log

Release files / prinpy-1.0.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL prinpy-1.0.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 331.3 kB
Tags CPython 3.14 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
c88f9baf8a9bfc2c737c369e0d9fb7972cfcaf7ec0e09788a578659d189b1600
BLAKE2b-256 checksum
How to use checksums
7e66c9766f0994641f842933b0b2bb436ca8a36986a20c3e3c1b81cd4e7c8517
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 24, 2026.

Transparency log

Release files / prinpy-1.0.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL prinpy-1.0.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 309.8 kB
Tags CPython 3.14 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
af0d7195711d5b31a870c9fba5b2b593e382e5fc80ba9677f4bbc4f825fc012e
BLAKE2b-256 checksum
How to use checksums
533bd04ce61b0885a8518d3fe6452036c9635fbd0273a1d4aaa82c740ddd286b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 24, 2026.

Transparency log

Release files / prinpy-1.0.0-cp314-cp314-macosx_11_0_arm64.whl

Download URL prinpy-1.0.0-cp314-cp314-macosx_11_0_arm64.whl
Size 281.2 kB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
86fe0f4e617ba6f33a761f7c3aa4fd93c9404e8044d840c1b8d764ba7538eb4c
BLAKE2b-256 checksum
How to use checksums
48ee75ed5fb79cc2438b86eefa1a7842133cd6cfee6ded4b335525f4bc0852c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 24, 2026.

Transparency log

Release files / prinpy-1.0.0-cp314-cp314-macosx_10_12_x86_64.whl

Download URL prinpy-1.0.0-cp314-cp314-macosx_10_12_x86_64.whl
Size 297.6 kB
Tags CPython 3.14 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
a1e020b47d831c85ccff55b620c87089d88c8896a2255be7a0945a2e34f4d51b
BLAKE2b-256 checksum
How to use checksums
adb73ba2c8774efc5af6ba429b80fec064c3600f6e5042ef306dd6d9326cb016
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 24, 2026.

Transparency log

Release files / prinpy-1.0.0-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL prinpy-1.0.0-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 308.3 kB
Tags CPython 3.13 CPython 3.13 free-threading Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
2b1623bb36175531c89eb157737b8c8c8e2a18eae57ecf992eb030394f0a06f5
BLAKE2b-256 checksum
How to use checksums
b4e1de023b5a4e08b7b7d10d37423ca0607f7b2115b8c1f2d16c42b351730165
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 24, 2026.

Transparency log

Release files / prinpy-1.0.0-cp313-cp313-win_amd64.whl

Download URL prinpy-1.0.0-cp313-cp313-win_amd64.whl
Size 188.5 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
e0331b9459deaf0110344103bf5c81cd60d755f99a4534185a55e6d1dad3c1b3
BLAKE2b-256 checksum
How to use checksums
cce28823dd9ad5772dcb660415026f58079c0d363f3530c37b8a0387b5d6ec4b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 24, 2026.

Transparency log

Release files / prinpy-1.0.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL prinpy-1.0.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 331.2 kB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
39c09043788883866429f0a9f821b5aa82f7cd88ba13d2426972020b2d2e82ca
BLAKE2b-256 checksum
How to use checksums
d721b46d7fa95a92979854800b7d65e4efccaeaa09536bc02ceac7217a102703
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 24, 2026.

Transparency log

Release files / prinpy-1.0.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL prinpy-1.0.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 310.1 kB
Tags CPython 3.13 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
661e1f2dd70c30711e348c0d086a096ead4216f7a54b3a5f56b6d47a2a238994
BLAKE2b-256 checksum
How to use checksums
244e7722caf606247beea1514610053d9aa4f458b47f42f0284eeb0dbb5d88d2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 24, 2026.

Transparency log

Release files / prinpy-1.0.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL prinpy-1.0.0-cp313-cp313-macosx_11_0_arm64.whl
Size 281.3 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
93e9ac224b23477e73cea69b79c2f07678fc4c6d350f13e581d49d05078972d4
BLAKE2b-256 checksum
How to use checksums
cd93d90ef27463b74414a46d4103adea7b657c97517d17d68d645b91c3cad09c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 24, 2026.

Transparency log

Release files / prinpy-1.0.0-cp313-cp313-macosx_10_12_x86_64.whl

Download URL prinpy-1.0.0-cp313-cp313-macosx_10_12_x86_64.whl
Size 297.5 kB
Tags CPython 3.13 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
74a88a5274f8fe3de24f374161b90c893b2bacd6102bc3e305cfe15c77653275
BLAKE2b-256 checksum
How to use checksums
ab2a2df6fd27eb10afdef86df08ebf3c116779c64f53765c2c46d4c8c59591f6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 24, 2026.

Transparency log

Release files / prinpy-1.0.0-cp312-cp312-win_amd64.whl

Download URL prinpy-1.0.0-cp312-cp312-win_amd64.whl
Size 188.5 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
23f0bb413b25b079383f6ca20222353bf44fa8052a46fa34e08533b16420dacb
BLAKE2b-256 checksum
How to use checksums
12f34cf22863f1249c3d4af3c0a3ff103657e0f8766081375dac57d9cca097bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 24, 2026.

Transparency log

Release files / prinpy-1.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL prinpy-1.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 331.1 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
ffb37c46fd511de43dee2030bd4d781d5c225f10d560a9d2b0679f8f8a8b324b
BLAKE2b-256 checksum
How to use checksums
f3010cde7bed1cdeb3ed7170a4701909b5a25dcef725b472e807d7ef1b6555ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 24, 2026.

Transparency log

Release files / prinpy-1.0.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL prinpy-1.0.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 309.8 kB
Tags CPython 3.12 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
c5e120067bccfdd65139805364bfef6b963ada6b612104d5d6b662cf0281b79a
BLAKE2b-256 checksum
How to use checksums
3f77ff62786139894c46c37dde2afc1a7f8530f03d8d03e157de284fead9a6b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 24, 2026.

Transparency log

Release files / prinpy-1.0.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL prinpy-1.0.0-cp312-cp312-macosx_11_0_arm64.whl
Size 281.2 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
982ac2927bea465053edce1fb3c2c2111e8f54aec95a09d85f4eabc47e6241ad
BLAKE2b-256 checksum
How to use checksums
9e03f7d4750dea15a1734d5eef40150b40766b57e767abe14e37d429f1c3b64c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 24, 2026.

Transparency log

Release files / prinpy-1.0.0-cp312-cp312-macosx_10_12_x86_64.whl

Download URL prinpy-1.0.0-cp312-cp312-macosx_10_12_x86_64.whl
Size 297.5 kB
Tags CPython 3.12 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
952d8c965c2d41c31d25e363912efd26e1d28b41746e3278ef8b3e7e890e59a6
BLAKE2b-256 checksum
How to use checksums
29c68e708a5b2bb7fb1ff8c08de615bf4eaea0bade3898c60d946373ed3a11be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 24, 2026.

Transparency log

Release files / prinpy-1.0.0-cp311-cp311-win_amd64.whl

Download URL prinpy-1.0.0-cp311-cp311-win_amd64.whl
Size 190.2 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
ea76a7e93fda67f80aee552979304f837b220d3dc62ae2e0da10f64997d0d429
BLAKE2b-256 checksum
How to use checksums
70bc116a7f6f13cf1679a94fbb68497645d546ff3c23cecd68c375a6fa3fdd11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 24, 2026.

Transparency log

Release files / prinpy-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL prinpy-1.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 333.7 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
0702231c9428bdc6c1225e49b5dc579827a628f9d9d69f3610bcb286da96e85d
BLAKE2b-256 checksum
How to use checksums
a538ade2e5fd64f9a96127e102d91470e23bfa62ffb58df6fe22186e44f60dce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 24, 2026.

Transparency log

Release files / prinpy-1.0.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL prinpy-1.0.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 312.9 kB
Tags CPython 3.11 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
9a37dbf84b3ce3bb81cd108e853332bf8dc0e5b5d48bb173c9e86ac8004c7ac6
BLAKE2b-256 checksum
How to use checksums
16f86ec368bd3dea6bce0aac2ceb43f9d97216047aafa39675f206c82885db2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 24, 2026.

Transparency log

Release files / prinpy-1.0.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL prinpy-1.0.0-cp311-cp311-macosx_11_0_arm64.whl
Size 282.6 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
41e1bc053fb80a9fa97d0c1389c2096159a8153ffeed6d45da35b59358a39e3b
BLAKE2b-256 checksum
How to use checksums
91617929f966bcf6419c9f745c024fa14b1761790b111a9747a9b6c4a012169a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 24, 2026.

Transparency log

Release files / prinpy-1.0.0-cp311-cp311-macosx_10_12_x86_64.whl

Download URL prinpy-1.0.0-cp311-cp311-macosx_10_12_x86_64.whl
Size 298.8 kB
Tags CPython 3.11 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
a49812e569aa3de75193d07377f524f2daae694c2c2adeadf400f8da95183e2f
BLAKE2b-256 checksum
How to use checksums
030ffe68c55e6d7251992d3b0648a46cd11d74da7c295a0c611001751e55aa96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 24, 2026.

Transparency log

Release files / prinpy-1.0.0-cp310-cp310-win_amd64.whl

Download URL prinpy-1.0.0-cp310-cp310-win_amd64.whl
Size 190.3 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
0a61d9f8daac21a3179372408ebacafa79347c5b194646502379939d154fba38
BLAKE2b-256 checksum
How to use checksums
f593bba372ceb6cc8258a805223d833200d6e43889288e35c03749d1f6b8487b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 24, 2026.

Transparency log

Release files / prinpy-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL prinpy-1.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 333.9 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
8232daf807b509f8c768f8611e3577384268c403bab30ad7d2f3fc9fa8a2626e
BLAKE2b-256 checksum
How to use checksums
cf43beae946de537586388cf902daf3adc422b4447871ed6f546840ad69e73f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 24, 2026.

Transparency log

Release files / prinpy-1.0.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL prinpy-1.0.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 311.9 kB
Tags CPython 3.10 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
561e9cb0e929c05d52cc6983819a37e6824f59a2aaed1adf4812e973172ff1d3
BLAKE2b-256 checksum
How to use checksums
ed79b3f09ff033aee9d54b215c5070f823b721034d00cbd5e6b66e366bc3d28f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 24, 2026.

Transparency log

Release files / prinpy-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL prinpy-1.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 334.5 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
185f106681a92ac7de42bba4f40e7f49979b85a71f282c6f505fb9bfea74abc8
BLAKE2b-256 checksum
How to use checksums
44229b2bdf62b98ef495ea41eb68299be9a082bc2a0e203076533d6ed8e22b58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 24, 2026.

Transparency log

Release files / prinpy-1.0.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL prinpy-1.0.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 312.5 kB
Tags CPython 3.9 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
129106ee3cdba8a2caed1eb586e515e3317febed72a27fe325cd38e3698f94f7
BLAKE2b-256 checksum
How to use checksums
9630267b4034dbebc7498ca05f258c3bc845b5b8ac07d13940f522a37b34d13b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 May 24, 2026.

Transparency log

Security for prinpy 1.0.0

Provenance

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

Full provenance

All 31 files in this release have been uploaded with provenance metadata.

Select from 31 files

Attestation for prinpy-1.0.0.tar.gz

PyPI Publish Attestation

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

Signed by GitHub Actions, verified by PyPI on May 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page