stringint
stringint is a, BSD licensed, Python library that allows you to represent strings as ints and vice versa.
>>> from stringint import *
>>> string_to_int('stringint')
2644870996275670454816921315419928710306414234893680756
>>> int_to_string(_)
'stringint'
>>> bytes_to_int(b'stringint')
6852132936324890586740
>>> int_to_bytes(_)
b'stringint'
Currently stringint supports Python 3.5. It’s tested on CPython 3.5 and later.
Metadata
Release files for stringint 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stringint-0.1.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for stringint-0.1.0-py2.py3-none-any.whl |
Release files / stringint-0.1.0-py2.py3-none-any.whl
| Download URL | stringint-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
1541816540b54f4101fb1912b021d3b081a193bccb52364b4bb087001e9d2b2a
|
|
BLAKE2b-256 checksum How to use checksums |
ca1c709c8429deb4e52f18f7c6c8451927b91018b4b78ebb5bcdabe04c531ab3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for stringint 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.