Home

The devel/py-aiocache,python3 port

py3-aiocache-0.12.2 – asyncio cache manager for redis, memcached and memory (cvsweb github mirror)

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
WWW: https://aiocache.aio-libs.org/

Maintainer

The OpenBSD ports mailing-list

Categories

devel lang/python

Build dependencies

Run dependencies

Test dependencies

Reverse dependencies

Files

Search