Minimal pure python memcached client
Project description
memcached client for asyncio
asyncio (PEP 3156) library to work with memcached.
Getting started
The API looks very similar to the other memcache clients:
import asyncio
import aiomcache
loop = asyncio.get_event_loop()
async def hello_aiomcache():
mc = aiomcache.Client("127.0.0.1", 11211, loop=loop)
await mc.set(b"some_key", b"Some value")
value = await mc.get(b"some_key")
print(value)
values = await mc.multi_get(b"some_key", b"other_key")
print(values)
await mc.delete(b"another_key")
loop.run_until_complete(hello_aiomcache())
Requirements
Python >= 3.3
CHANGES
0.6.0 (2017-12-03)
Drop python 3.3 support
0.5.2 (2017-05-27)
Fix issue with pool concurrency and task cancellation
0.5.1 (2017-03-08)
Added MANIFEST.in
0.5.0 (2017-02-08)
Added gets and cas commands
0.4.0 (2016-09-26)
Make max_size strict #14
0.3.0 (2016-03-11)
Dockerize tests
Reuse memcached connections in Client Pool #4
Fix stats parse to compatible more mc class software #5
0.2 (2015-12-15)
Make the library Python 3.5 compatible
0.1 (2014-06-18)
Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aiomcache-0.6.0.tar.gz.
File metadata
- Download URL: aiomcache-0.6.0.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b38062efca87f2e6ac3b406bd816ca790900b03fef1c5c38fa61c18212c38825
|
|
| MD5 |
229e63c26549e3e55226fce983a2cf68
|
|
| BLAKE2b-256 |
046a458df58a46e0b2e5028c29bae63e579d5f742516fd811e2f7a9db2bfcdf7
|
File details
Details for the file aiomcache-0.6.0-py3-none-any.whl.
File metadata
- Download URL: aiomcache-0.6.0-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17d82e0586c8500a7a3dac0fdef67e2d0300c82d4acb1595a9925783b7c382b5
|
|
| MD5 |
f33aa04f35171adb4502a3f473cbef23
|
|
| BLAKE2b-256 |
1d0d14097d8a3435df592a1dd2696929e59208f34525931b84f3d4040064bdd4
|