DISTINCTID
With distinctid, you can generate distinct/unique IDs. Just think of it as something that can replace your UUID. It has the advantage of being a long integer and can be sorted in ASC or DESC order.
Philosophy
This code is pure Python and relies on this article which led to this, this and this present project you are reading now.
100% Unittest Coverage
See the unittest to know how to use it
pip install coverage
# unittest
python -m unittest discover
# OR
# coverage with unittest
coverage run -m unittest discover \
&& coverage html && coverage report
# browse: htmlcov/index.html
How to Compile
pip install build twine
python3 -m build
# add the below line to pyproject.toml to upload, but it has to be removed for the build to work
[pypi]
username = __token__
# upload
python3 -m twine upload --repository distinctid dist/*
Metadata
Release files for distinctid 1.0.4
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 |
|---|---|---|---|---|
| distinctid-1.0.4.tar.gz | 3.4 kB | Without provenance | Details for distinctid-1.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| distinctid-1.0.4-py3-none-any.whl | Python 3 | none | any | Details for distinctid-1.0.4-py3-none-any.whl |
Total release size: 6.8 kB
Release files / distinctid-1.0.4.tar.gz
| Download URL | distinctid-1.0.4.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
712965f31d5a810e542493e14e61fe8d5d1b4847ea65c3b36a9ff1f1fb2d2057
|
|
BLAKE2b-256 checksum How to use checksums |
743a6c37356e255fd4243ce8adcbc52e0f23af254dab472ed2760b2ec8bf4422
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.12
|
Release files / distinctid-1.0.4-py3-none-any.whl
| Download URL | distinctid-1.0.4-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
82ca278a99af7337d3aeefe52c7d2007620d6d3ece19c9ecadfcbea9475bf61c
|
|
BLAKE2b-256 checksum How to use checksums |
862c21160b68f29f934fb6c3b7aca23fdebe9f31ded1ad23c3027e8f8ebc5ef9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.12
|
Security for distinctid 1.0.4
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.