A python implementation of Ordered UUID.
Project description
# python-ordered-uuid
Overrides Python’s UUID class to implement “Ordered UUID”.
For more info about “Ordered UUID” see: https://www.percona.com/blog/2014/12/19/store-uuid-optimized-way/
Usage
from ordered_uuid import OrderedUUID
hex_string = ‘cdef89ab012345670123456789abcdef’ OrderedUUID(hex_string)
some_bytes = b’xcdxefx89xabx01x23x45x67x01x23x45x67x89xabxcdxef’ OrderedUUID(bytes=some_bytes)
fields = (0x12345678, 0x1234, 0x5678, 0x12, 0x34, 0x567812345678) OrderedUUID(fields=fields)
Installation
pip install python-ordered-uuid
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for python-ordered-uuid-1.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5802ac7ddb5a0ae5de6227512da65bfab73f678e9e6b907998f372c0b70417f |
|
MD5 | 8a8e5fc80e2c8ec68ac8a237f04ff979 |
|
BLAKE2b-256 | d324af0161182a89e70c39a9fb7ed00393109329e58402e2beb551693c9ff2d5 |