Skip to main content

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

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())

CHANGES

0.7.0rc0 (2022-01-16)

  • 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

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

aiomcache-0.7.0rc0.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

aiomcache-0.7.0rc0-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

Details for the file aiomcache-0.7.0rc0.tar.gz.

File metadata

  • Download URL: aiomcache-0.7.0rc0.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for aiomcache-0.7.0rc0.tar.gz
Algorithm Hash digest
SHA256 6830bbff3cd0ad4a20c6f2484feb48aebf130785eec48e99ccac0c03a4d35e41
MD5 2a59a95099a03c78dae34769b3708eb2
BLAKE2b-256 30abe3b6fcf3893f2f4c073a92a155b182d6db5d7cee6888a1310820deaf48d3

See more details on using hashes here.

Provenance

File details

Details for the file aiomcache-0.7.0rc0-py3-none-any.whl.

File metadata

  • Download URL: aiomcache-0.7.0rc0-py3-none-any.whl
  • Upload date:
  • Size: 13.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for aiomcache-0.7.0rc0-py3-none-any.whl
Algorithm Hash digest
SHA256 c4ba7023ef787629f2114ec5096f98e44feffad8e1d2e114c2409bed253425b6
MD5 916bc3e16d851073108d0c62e684bfa7
BLAKE2b-256 b6aae5d1d535484c381b28a7380607d6ec719640dd9804a9f97d889001d07bdf

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page