aiomcache 0.8.2-1 source package in Ubuntu
Changelog
aiomcache (0.8.2-1) unstable; urgency=medium * New upstream release. -- Gianfranco Costamagna <email address hidden> Thu, 09 May 2024 13:24:07 +0200
Upload details
- Uploaded by:
- Gianfranco Costamagna
- Uploaded to:
- Sid
- Original maintainer:
- Gianfranco Costamagna
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Plucky | release | universe | misc | |
Oracular | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
aiomcache_0.8.2-1.dsc | 1.8 KiB | 560ba3d8b5ecb1957e750dab4139c7760edf11f64619e79a6e226c45fb2c7840 |
aiomcache_0.8.2.orig.tar.gz | 10.4 KiB | 43b220d7f499a32a71871c4f457116eb23460fa216e69c1d32b81e3209e51359 |
aiomcache_0.8.2-1.debian.tar.xz | 2.1 KiB | 012aef27ba2342382637df130c906c4a32426c2d11fc5a082eaaf470087b9fdd |
Available diffs
- diff from 0.8.1-2 to 0.8.2-1 (6.7 KiB)
No changes file available.
Binary packages built by this source
- python3-aiomcache: Minimal pure python memcached client
memcached client for asyncio
The API looks very similar to the other memcache clients:
.
.. code:: python
.
import asyncio
import aiomcache
.
async def hello_aiomcache():
mc = aiomcache.Client( "127.0. 0.1", 11211)
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")
.
asyncio.run(hello_ aiomcache( ))
.
.
Version 0.8 introduces `FlagClient` which allows registering callbacks to
set or process flags. See `examples/simple_ with_flag_ handler. py`