serp-bigint
Arbitrary-precision integers for Serpentine, where
the built-in int is int64 (with an OverflowError trap).
from serp_bigint import BigInt, big
f = big(1)
for i in range(2, 101):
f = f * big(i)
print(f) # 100! — all 158 digits
print(big(2) ** 200 // big(3)) # floor division, Python semantics
+ - * // % **, unary -, abs(), comparisons, divmod (bigdivmod), str/repr,
BigInt.parse("…"), big(int) and to_int(). Results match CPython's unbounded int
(37,854 randomized checks).
Metadata
Release files for serp-bigint 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 |
|---|---|---|---|---|
| serp_bigint-0.1.0.tar.gz | 5.0 kB | Without provenance | Details for serp_bigint-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| serp_bigint-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for serp_bigint-0.1.0-py3-none-any.whl |
Total release size: 9.6 kB
Release files / serp_bigint-0.1.0.tar.gz
| Download URL | serp_bigint-0.1.0.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
616881601830840c8adebcbc3a6a9bef94be8ab0e721cb04e03baaf684f18c84
|
|
BLAKE2b-256 checksum How to use checksums |
e8825ac3319b31afa92680f5ae4d83a2e840c6cc37c7ae3c424b7ffc1e735abb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / serp_bigint-0.1.0-py3-none-any.whl
| Download URL | serp_bigint-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d4c4f675f321a4b41ec6239b1fb69050903eb0051de12e7660e7a3df5bbbcc43
|
|
BLAKE2b-256 checksum How to use checksums |
b175ef15cba05b99825d6cc8c144e84169faa7ae6d112d9fea16aa520f3725f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for serp-bigint 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.