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 hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page