Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(0)  |  Derive(0)  |  Import(3)
Cacher: wrap HashTable with serializer and write_back mechanism
    if you intend to modify the cache, call write_back() before the program exits

    notice:
        Cacher tries to simulate dict in most cases, mainly except for:
            (a) no __iter__, please use foreach instead
            (b) key should always be a str, where dict allows all hashable objects 
            (c) no comparation with other 'dict's
        When necessary, you can use .to_dict() to get a real dict object.

src/p/y/pyshmht-0.0.2/pyshmht/__init__.py   pyshmht(Download)
#!/bin/env python
 
from HashTable import HashTable
from Cacher import Cacher, MemCacher