Metadata-Version: 2.0
Name: cachelite
Version: 0.9.1
Summary: a simple multi-process scalable cache implementation
Home-page: https://bitbucket.org/yokoshin/cachelite
Author: yokoshin
Author-email: UNKNOWN
License: UNKNOWN
Description-Content-Type: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6

================
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)



