coid-0.1.1
توضیحات
Id codecs.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | coid-0.1.1 |
| نام | coid |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | stu |
| ایمیل نویسنده | stu@unger.rummy |
| آدرس صفحه اصلی | https://github.com/bninja/coid |
| آدرس اینترنتی | https://pypi.org/project/coid/ |
| مجوز | BSD |
====
coid
====
.. image:: https://travis-ci.org/bninja/coid.png
:target: https://travis-ci.org/bninja/coid
.. image:: https://coveralls.io/repos/bninja/coid/badge.png?branch=master
:target: https://coveralls.io/r/bninja/coid?branch=master
Simple codecs for ids. Can be useful when you represent ids differently between
domains.
Get it:
.. code:: bash
$ pip install coid
use it:
.. code:: python
import uuid
import coid
id = uuid.uuid4()
id_codec = coid.Id(prefix='BLA-', encoding='base58')
assert id == id_codec.decode(id_codec.encode(id))
نحوه نصب
نصب پکیج whl coid-0.1.1:
pip install coid-0.1.1.whl
نصب پکیج tar.gz coid-0.1.1:
pip install coid-0.1.1.tar.gz