Skip to main content

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

Metadata

Release files for nameko-cachelib 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nameko-cachelib 0.1.1
File Size Uploaded
nameko-cachelib-0.1.1.tar.gz 4.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nameko-cachelib 0.1.1
File Interpreter ABI Platform
nameko_cachelib-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.4 kB

Release files / nameko-cachelib-0.1.1.tar.gz

Download URL nameko-cachelib-0.1.1.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e2940c471e41247fad2cd90198b0753b302d78f2f1af4cc56d088d1a1adb983a
BLAKE2b-256 checksum
How to use checksums
bb640436ea48cb7d288741e5bc6b1fa3d4bd3966d6b282569b8a9127b91cda46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.1 Darwin/21.4.0

Release files / nameko_cachelib-0.1.1-py3-none-any.whl

Download URL nameko_cachelib-0.1.1-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
192e4ddea89077eef321749278f98bbc3640efac5477e00eb4d94d8466d46f27
BLAKE2b-256 checksum
How to use checksums
7ecd96d02ecd46a6989deed412c7278bf054ee5f66b268b1d86f7ae219a3a010
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.1 Darwin/21.4.0

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page