A pure python asyncio memcached client, fork from aiomcache.
Project description
A pure-Python(3.7+) asyncio memcached client, fork from aiomcache.
Install
pip install -U aiomemcached
Usage
A simple example.
import asyncio
import aiomemcached
async def example():
c = aiomemcached.Client()
await c.set(b"some_key", b"Some value")
value = await c.get(b"some_key")
print(value)
values = await c.multi_get(b"some_key", b"other_key")
print(values)
await c.delete(b"another_key")
asyncio.run(example())
pytest
python -m pytest --cov=. --cov-report html
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
AioMemcached-0.7.0.tar.gz
(11.0 kB
view hashes)
Built Distribution
Close
Hashes for AioMemcached-0.7.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 901c8c7d8a2c171ba422b6baca43af3b80b11b3317dec1640d2b2037e7bccb01 |
|
MD5 | e59df57f5b0081fe214b27765e38a9c9 |
|
BLAKE2b-256 | 9acfad0dce5b3e36626844894fda0b2ad39f91e0076b3504aa5afac29f0fc824 |