Pre-release
This release is a pre-release and may not be stable for production use.
uuid6
New time-based UUID formats which are suited for use as a database key.
This module extends immutable UUID objects (the UUID class) with the functions uuid6() and uuid7() from the IETF draft.
Install
pip install uuid6
Usage
from uuid6 import uuid6, uuid7
my_uuid = uuid6()
print(my_uuid)
assert my_uuid < uuid6()
my_uuid = uuid7()
print(my_uuid)
assert my_uuid < uuid7()
Metadata
Release files for uuid6 0.0.0.dev0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| uuid6-0.0.0.dev0.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| uuid6-0.0.0.dev0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.9 kB
Release files / uuid6-0.0.0.dev0.tar.gz
| Download URL | uuid6-0.0.0.dev0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8708ae63640754e3c3f6c4e2de63a84d2b306dd0bca64ca5a999a7ddfb19ce2e
|
|
BLAKE2b-256 checksum How to use checksums |
b689d839f430a22e4f05b537d599999808d9b122e9d18688411f3f81a88598cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / uuid6-0.0.0.dev0-py3-none-any.whl
| Download URL | uuid6-0.0.0.dev0-py3-none-any.whl |
|---|---|
| Size | 3.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4a35fdaa86d64848ec83e76ea01c6fb476a84a11d5a66344ace45dece842804d
|
|
BLAKE2b-256 checksum How to use checksums |
d1266681a9d00b73afa70eae5c5ccfa99b3c92055e629c91f67f50efe1c2c486
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|