An easy-to-use nameko cache
Project description
nameko-cache
An easy-to-use nameko cache
Some code references from repo nameko-cachetools
Install
pip install nameko-cachelib
Example
class Service:
name = "service"
cached_service = CacheRpcProxy("service")
@rpc
def cached(self, *args, **kwargs):
return self.cached_service.some_method(*args, **kwargs)
TODO list
memory cache
single flight
redis cache
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nameko-cachelib-0.1.1.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for nameko_cachelib-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 192e4ddea89077eef321749278f98bbc3640efac5477e00eb4d94d8466d46f27 |
|
MD5 | 4290f917cb5556317042b7874ff73f84 |
|
BLAKE2b-256 | 7ecd96d02ecd46a6989deed412c7278bf054ee5f66b268b1d86f7ae219a3a010 |