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.

Source Distribution

cyuuid-0.1.1.tar.gz (4.7 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page