{"library":"moka-py","title":"moka-py","description":"A high performance caching library for Python, written in Rust with PyO3. Provides a concurrent hashmap cache with TTL, TTI, size-based eviction, and a decorator for async/sync functions. Current version 0.3.0, actively maintained, monthly releases.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install moka-py"],"cli":null},"imports":["from moka import Cache"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from moka import Cache\n\ncache = Cache(max_capacity=100, time_to_live_seconds=300)\ncache.insert('key', 'value')\nprint(cache.get('key'))","lang":"python","description":"Create a cache with max 100 entries and 5-minute TTL.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}