“uniqtoken” is DEPRECATED! Please see new version “uqid”: https://pypi.python.org/pypi/uqid/
Old “uniqtoken” usage:
pip install uniqtoken from uniqtoken import uniqtoken token1 = uniqtoken() token2 = uniqtoken() assert token1 != token2
Starts with a sequence random enough to be indexed efficiently when token is used as a hash key.
This random sequence is long enough to be hard to guess.
Ends with explicit timestamp with precision about 0.01 seconds (system dependent) to be more unique.
Is more than 3x faster than standard uuid.uuid4() - see tests in uniqtoken.py:test().
Is ready to be used as a fixed length string token containing exactly 64 safe hex digits.
Metadata
Release files for uniqtoken 0.1.3
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 |
|---|---|---|---|---|
| uniqtoken-0.1.3.tar.gz | 1.5 kB | Without provenance | Details for uniqtoken-0.1.3.tar.gz |
Release files / uniqtoken-0.1.3.tar.gz
| Download URL | uniqtoken-0.1.3.tar.gz |
|---|---|
| Size | 1.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ea4372afe329d77f7c0317afe23b6a5d58f9f81937567c334ec7d2165950b8d
|
|
BLAKE2b-256 checksum How to use checksums |
6799b3ae248176ed874f0124ef30211d0b8b922bad3811f26f1406fad21daf0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for uniqtoken 0.1.3
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.