JCaching framework implementation in python