zchop
This is a python library providing the function zchop, which replaces numbers
that are close to zero with zero.
zchoptraverses structures such aslists and numpyarrays, returning a copy that is the same as the input except that small numbers are set to zero.zchop_mutis a mutating version ofzchopthat mutateslists and numpyarrays.
Comments
- The parts of complex numbers are treated separately.
- Non-numbers are passed unchanged.
Antecedents
This package is based on the Julia package ZChop.jl, which is in turn based on the Mathematica function Chop.
Metadata
Release files for zchop 0.1.0
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 |
|---|---|---|---|---|
| zchop-0.1.0.tar.gz | 2.3 kB | Without provenance | Details for zchop-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zchop-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for zchop-0.1.0-py3-none-any.whl |
Total release size: 4.6 kB
Release files / zchop-0.1.0.tar.gz
| Download URL | zchop-0.1.0.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
55aa18dace388d3c7c00b42cef583a52cadfabd0224af593fc9acac67d41d0d3
|
|
BLAKE2b-256 checksum How to use checksums |
56546a23f14bdffd9089219d0c2c7599ffbf47250bcbc68d39c947cb19d29d53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.6
|
Release files / zchop-0.1.0-py3-none-any.whl
| Download URL | zchop-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
018d9ea4e286ff82db7c00dd22c74c901685bbf373c8668ce0587d9e8a889bff
|
|
BLAKE2b-256 checksum How to use checksums |
0fecedbe4486f1f8bc41865af8ab3d4a5513a14757de8214b78a7097ed26b7fd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.6
|
Security for zchop 0.1.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.