py3-aiocache-0.12.3p0
asyncio cache manager for redis, memcached and memory
Back to search · Project homepage
Description
Asyncio cache supporting multiple backends (memory, redis and
memcached).
This library aims for simplicity over specialization. All caches contain
the same minimum interface which consists on the following functions:
- add: Only adds key/value if key does not exist.
- get: Retrieve value identified by key.
- set: Sets key/value.
- multi_get: Retrieves multiple key/values.
- multi_set: Sets multiple key/values.
- exists: Returns True if key exists False otherwise.
- increment: Increment the value stored in the given key.
- delete: Deletes key and returns number of deleted items.
- clear: Clears the items stored.
- raw: Executes the specified command using the underlying client.
See example of usage here: https://github.com/aio-libs/aiocache
Package information
- Ports path
- devel/py-aiocache
- Package architecture
- amd64
- Maintainer
- The OpenBSD ports mailing-list <ports@openbsd.org>
- Categories
- devel, lang/python
- Available flavors
- None listed
- Only for architectures
- aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, alpha, hppa, sparc64
These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.
Direct dependencies
Runtime
Build
- lang/python/3
- devel/py-build
- devel/py-installer
- devel/py-setuptools py3-setuptools->=79v0
- devel/py-wheel
Test
- devel/py-test-asyncio
- devel/py-test-cov
- devel/py-test-mock
- databases/py-redis
- misc/py-aiomcache
- net/py-msgpack
- www/py-aiohttp
- lang/python/3
- devel/py-test
Used by (1 dependency relationships)
Includes library, runtime, build and test relationships. Results load 100 at a time.