Cython implementation of RFC4122
Project description
There is 0 speedup for this module.
Clone of built in uuid module.
run tests:
python -m unittest discover
Build:
python setup.py build_ext
Install:
pip install cyuuid
Upload to pypi:
python setup.py sdist
twine upload -u<USERNAME> -p<PASSWORD> dist/cyuuid-<VERSION>.tar.gz
Usage:
Construct from Hexadecimal:
from cyuuid import UUID
uuid = UUID('a8098c1a-f86e-11da-bd1a-00112444be1e')
Construct from python built in uuid:
from uuid import UUID as PY_UUID
py_uuid = PY_UUID('a8098c1a-f86e-11da-bd1a-00112444be1e')
cy_uuid = UUID(uuid=PY_UUID)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cyuuid-0.1.1.tar.gz
(4.7 kB
view details)
File details
Details for the file cyuuid-0.1.1.tar.gz
.
File metadata
- Download URL: cyuuid-0.1.1.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4dd7aae9fe1ea7341f892d5077118e7e355693c257cf1c7186125931a7e5398f |
|
MD5 | 7e17619cde0437a7c2a6bd3b5867e6ae |
|
BLAKE2b-256 | 8a818ec7fbd84f7e4d5e1624c05d631f4fdd200de65bd9a65f9a2a449230a294 |