tensor_regression
A small wrapper to simplify using pytest_regressions with Tensors.
This adds the following to pytest_regressions:
- Simple Tensor statistics (min, max, mean, std, shape, dtype, device, hash, etc.) are generated and saved in a .yaml file.
- The simple statistics are used as a pre-check before comparing the full tensors.
- These yaml files can be saved with git without having to worry about accidentally saving huge files.
- Full tensors are moved to CPU and saved in a
.npyfile (same as ndarrays_regression), and these .npy files are gitignored. - Adds a
--gen-missingargument (default True) which will generate any missing regression files without raising error, as opposed to pytest-regression's--regen-allwhich regenerates all regression files.
Metadata
Release files for tensor-regression 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tensor_regression-0.1.3.tar.gz | 16.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tensor_regression-0.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.8 kB
Release files / tensor_regression-0.1.3.tar.gz
| Download URL | tensor_regression-0.1.3.tar.gz |
|---|---|
| Size | 16.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
92c4853ed00f04215e4d3066fc0ba598bc1ea7646bf0f1ba63853a1a9a76feed
|
|
BLAKE2b-256 checksum How to use checksums |
9a9cc36f9f7367ba79c8d161791039f357c01a884f4e22d62030a1f1f287f5d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 1, 2026.
Transparency logRelease files / tensor_regression-0.1.3-py3-none-any.whl
| Download URL | tensor_regression-0.1.3-py3-none-any.whl |
|---|---|
| Size | 12.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7d8a49a61a23f4c3b20e0682bb88a8069a6d7c943c5a2e6a884265024054a2e3
|
|
BLAKE2b-256 checksum How to use checksums |
ceceba2d7dac1a64ca8648c05d384b4d150a53be524b55ef5724e8f3ab9cd350
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 1, 2026.
Transparency log