cute_format-0.1.3
توضیحات
pack data and retrieval in easy way
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | cute_format-0.1.3 |
| نام | cute_format |
| نسخه کتابخانه | 0.1.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Ming Hsuan Tu |
| ایمیل نویسنده | qrnnis2623891@gmail.com |
| آدرس صفحه اصلی | https://github.com/twmht/cute_format |
| آدرس اینترنتی | https://pypi.org/project/cute_format/ |
| مجوز | MIT License |
cute_format
=========
pack random data and fast retrieval in python
Quick Install
-------------
Quick install for debian/ubuntu like linux distributions.
.. code-block:: bash
$ pip install cute_format
Quick Usage Guide
-----------------
.. code-block:: python
from cute.cute_reader import CuteReader
from cute.cute_writer import CuteWriter
cw = CuteWriter('tmp')
a = 1000
b = 2000
cute_writer.write(bytes(a))
cute_writer.write(bytes(b))
cute_writer.close()
cr = CuteReader('tmp')
# get the object by index
assert cr.num_data == 2
byte_object = cr.get(0)
assert int(byte_object) == a
byte_object = cr.get(1)
assert int(byte_object) == b
نحوه نصب
نصب پکیج whl cute_format-0.1.3:
pip install cute_format-0.1.3.whl
نصب پکیج tar.gz cute_format-0.1.3:
pip install cute_format-0.1.3.tar.gz