Metadata-Version: 1.1
Name: ttldict
Version: 0.2.7
Summary: Dictionary with auto-expiring values for caching purposes
Home-page: https://github.com/mobilityhouse/ttldict
Author: Oz Tiram
Author-email: oztiram@mobilityhouse.com
License: MIT
Description: TTLDict
        =======
        
        Python dictionary with key expiry time
        
        `OrderedTTLDict` - behaves like an ordered dict you know.
        The methods `items` and `values` return a list of objects after purging expired
        objects. The method `keys` returns `odict_keys` as the parnet class, but it does
        so after purging expired keys.
        Python's own OrderedDict and other dictionaries return a [dictionary views][1]
        whereas the methods here do not.
        
        Testing
        -------
        
        Use pytest to run the tests:
        
        ```
        make test
        ```
        
        Credits and Thanks:
        -------------------
        
        - mailgun for expiringdict
        
        - Thomas Kemmer for
          https://github.com/tkem/cachetools
        
        and for Jyrki Muukkonen for ttldict
        published in https://github.com/jvtm/ttldict.
        
        This library contains fixes for his TTLDict class
        and my own OrderedTTLDict.
        
        Without all those this work would not have been possible.
        
        [1]: https://docs.python.org/3/library/stdtypes.html#dictionary-view-objects
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
