Metadata-Version: 1.1
Name: tlcache
Version: 0.1.5
Summary: Two Level Local Cache
Home-page: https://github.com/youngking/tlcache
Author: Young King
Author-email: yanckin@gmail.com
License: ISCL
Description: ===============================
        Two Level Local Cache
        ===============================
        
        .. image:: https://img.shields.io/travis/youngking/tlcache.svg
                :target: https://travis-ci.org/youngking/tlcache
        
        .. image:: https://img.shields.io/pypi/v/tlcache.svg
                :target: https://pypi.python.org/pypi/tlcache
        
        
        Two Level Local Cache
        
        * Free software: ISC license
        * Documentation: https://tlcache.readthedocs.org.
        
        
        Usage
        --------
        >>> from tlcache import TLCache
        >>> cache = TLCache(cache_dir="/tmp/xxxxdir")
        >>> cache.cache()
        ... def add(c):
        ...     return c + 1
        
        
        Features
        --------
        
        * Two level cache, first level is memory, and second level is the filesystem
        
        
        
        
        History
        -------
        0.1.5 (2016-4-14)
        ------------------
        * decrese logging warnings
        
        0.1.4 (2016-3-16)
        -------------------
        * make sure fd is closed when fdopen occus exception
        * set memory before file
        
        0.1.3 (2015-11-24)
        ------------------
        * Don't cache when results is empty
        
        0.1.2 (2015-11-13)
        __________________
        * Fix a bug that which causes when cache invalidate wil not cached again.
        
        0.1.1 (2015-11-10)
        --------------------
        * Inside the tlcache's `add` method, use the filecache's `set` method internally.
        
        0.1.0 (2015-11-10)
        ---------------------
        
        * First release on PyPI.
        
Keywords: tlcache
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: ISC License (ISCL)
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
