Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cyuuid, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size cyuuid-0.1.1.tar.gz (4.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page