Skip to main content

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nameko_cachelib-0.1.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

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

Hashes for nameko-cachelib-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e2940c471e41247fad2cd90198b0753b302d78f2f1af4cc56d088d1a1adb983a
MD5 0ea4a10afefa11c6ff8e75a3f4ab9c80
BLAKE2b-256 bb640436ea48cb7d288741e5bc6b1fa3d4bd3966d6b282569b8a9127b91cda46

See more details on using hashes here.

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

Hashes for nameko_cachelib-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 192e4ddea89077eef321749278f98bbc3640efac5477e00eb4d94d8466d46f27
MD5 4290f917cb5556317042b7874ff73f84
BLAKE2b-256 7ecd96d02ecd46a6989deed412c7278bf054ee5f66b268b1d86f7ae219a3a010

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page