identinum
A command-line wrapper around mpmath's identify.
You come across the number 0.866025. It looks vaguely familiar but you can't quite point your finger at it? Then identinum is for you.
identinum is a small command-line utility that "de-decimalizes" decimal numbers into approximate rational expressions (with some basic functions).
$ identinum 0.4285714285
3/7 -7.14285297576112E-11
$ identinum 0.866025403
sqrt(3)/2 -7.84438675343059E-10
Installation
identinum is available from the Python Package Index, so simply do
pip install identinum
Testing
To run the identinum unit tests, check out this repository and type
pytest
Metadata
Release files for identinum 0.7.1
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 |
|---|---|---|---|---|
| identinum-0.7.1.tar.gz | 4.6 kB | Without provenance | Details for identinum-0.7.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| identinum-0.7.1-py3-none-any.whl | Python 3 | none | any | Details for identinum-0.7.1-py3-none-any.whl |
Total release size: 10.5 kB
Release files / identinum-0.7.1.tar.gz
| Download URL | identinum-0.7.1.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8c51cdc274a052aa4374f2c0fca56c60c47737f0b886c270251f366ee8be438e
|
|
BLAKE2b-256 checksum How to use checksums |
da69734d993462a05a832ec83a8652920238f5fac7d7e7ccaf8d0f1235859dc3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.0
|
Release files / identinum-0.7.1-py3-none-any.whl
| Download URL | identinum-0.7.1-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3affd78585eb41f91afc72c58120611cd2e16d2b61f6b3cbfe775f755c20b722
|
|
BLAKE2b-256 checksum How to use checksums |
3831de1e0cb66cf25c211c4839dc230e458ce1d93952c7078dd9ed44f56e073f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.0
|
Security for identinum 0.7.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.
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.