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
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
CHANGES
0.8.2 (2024-05-07)
Fix a static typing error with Client.get().
0.8.1 (2023-02-10)
Add conn_args to Client to allow TLS and other options when connecting to memcache.
0.8.0 (2022-12-11)
Add FlagClient to support memcached flags.
Fix type annotations for @acquire.
Fix rare exception caused by memcached server dying in middle of operation.
Fix get method to not use CAS.
0.7.0 (2022-01-20)
Added support for Python 3.10
Added support for non-ascii keys
Added type annotations
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
Metadata
Release files for aiomcache 0.8.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aiomcache-0.8.2.tar.gz | 10.6 kB | Without provenance | Details for aiomcache-0.8.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aiomcache-0.8.2-py3-none-any.whl | Python 3 | none | any | Details for aiomcache-0.8.2-py3-none-any.whl |
Total release size: 20.8 kB
Release files / aiomcache-0.8.2.tar.gz
| Download URL | aiomcache-0.8.2.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
43b220d7f499a32a71871c4f457116eb23460fa216e69c1d32b81e3209e51359
|
|
BLAKE2b-256 checksum How to use checksums |
8b0a914d8df1002d88ca70679d192f6e16d113e6b5cbcc13c51008db9230025f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.19
|
Release files / aiomcache-0.8.2-py3-none-any.whl
| Download URL | aiomcache-0.8.2-py3-none-any.whl |
|---|---|
| Size | 10.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9d78d6b6e74e775df18b350b1cddfa96bd2f0a44d49ad27fa87759a3469cef5e
|
|
BLAKE2b-256 checksum How to use checksums |
a1f878455f6377cbe85f335f4dbd40a807dafb72bd5fa05eb946f2ad0cec3d40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.19
|
Security for aiomcache 0.8.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.