matousgit/num_shorty
num_shorty converts an integer to a hexdigest like string - except not 16 length but provided alphabet length
Example:
>>> from import num_shorty
>>> num_shorty.short(123456789)
'8m0Kx'
>>> num_shorty.expand('8m0Kx')
123456789
You can implement your own alphabet set
>>> from import num_shorty
>>> num_shorty.short(123456789, alphabet='abcdefgABCDEFG-*!:_')
'cE!geD-'
>>> num_shorty.expand('cE!geD-', alphabet='abcdefgABCDEFG-*!:_')
123456789
Metadata
Release files for num-shorty 1.0.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 |
|---|---|---|---|---|
| num_shorty-1.0.1.tar.gz | 2.0 kB | Without provenance | Details for num_shorty-1.0.1.tar.gz |
Release files / num_shorty-1.0.1.tar.gz
| Download URL | num_shorty-1.0.1.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
09de225cd32f894fc9830f947f5ef44be43a30b6ca9a76e513c58fc6af10e3c2
|
|
BLAKE2b-256 checksum How to use checksums |
826665148367affc764ca1e32a74dcfc2406917e39c7e848a32532f8e63c70c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.7.4
|
Security for num-shorty 1.0.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.