skip to navigation
skip to content

cute_format 0.1.3

pack data and retrieval in easy way


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
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  
File Type Py Version Uploaded on Size
cute_format-0.1.3.tar.gz (md5) Source 2017-06-22 2KB