cachelite-0.9.1
توضیحات
a simple multi-process scalable cache implementation
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cachelite-0.9.1 |
| نام | cachelite |
| نسخه کتابخانه | 0.9.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | yokoshin |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://bitbucket.org/yokoshin/cachelite |
| آدرس اینترنتی | https://pypi.org/project/cachelite/ |
| مجوز | - |
================
CacheLite
================
Documentation
-------------
The full documentation is at https://cachelite.readthedocs.org/
Quickstart
----------
Install cachelite::
pip install cachelite
Then you can use it.
.. code-block:: python
import cachelite from CacheLite
cache = CacheLite("/tmp/YOUR_TO_CACHE_DIR")
#put a key-value
cache["YOUR_KEY"] = "YOUR_VALUE"
#get a value
value = cache["YOUR_KEY"]
#delete a value
del cache["YOUR_KEY"]
#get size of data entries
len(cache)
#iteration
for a in cache:
print(a)
نحوه نصب
نصب پکیج whl cachelite-0.9.1:
pip install cachelite-0.9.1.whl
نصب پکیج tar.gz cachelite-0.9.1:
pip install cachelite-0.9.1.tar.gz