cyuuid-0.1.1
توضیحات
Cython implementation of RFC4122
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cyuuid-0.1.1 |
| نام | cyuuid |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | martin.asell |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/masell/cyuuid/ |
| آدرس اینترنتی | https://pypi.org/project/cyuuid/ |
| مجوز | PSF |
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)
```
نحوه نصب
نصب پکیج whl cyuuid-0.1.1:
pip install cyuuid-0.1.1.whl
نصب پکیج tar.gz cyuuid-0.1.1:
pip install cyuuid-0.1.1.tar.gz