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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nameko-cachelib-0.1.1.tar.gz.
File metadata
- Download URL: nameko-cachelib-0.1.1.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.1 Darwin/21.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2940c471e41247fad2cd90198b0753b302d78f2f1af4cc56d088d1a1adb983a
|
|
| MD5 |
0ea4a10afefa11c6ff8e75a3f4ab9c80
|
|
| BLAKE2b-256 |
bb640436ea48cb7d288741e5bc6b1fa3d4bd3966d6b282569b8a9127b91cda46
|
File details
Details for the file nameko_cachelib-0.1.1-py3-none-any.whl.
File metadata
- Download URL: nameko_cachelib-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.1 Darwin/21.4.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
192e4ddea89077eef321749278f98bbc3640efac5477e00eb4d94d8466d46f27
|
|
| MD5 |
4290f917cb5556317042b7874ff73f84
|
|
| BLAKE2b-256 |
7ecd96d02ecd46a6989deed412c7278bf054ee5f66b268b1d86f7ae219a3a010
|