This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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

CHANGES

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
Release History

Release History

This version
History Node

0.5.2

History Node

0.5.1

History Node

0.5.0

History Node

0.4.0

History Node

0.3.0

History Node

0.2

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
aiomcache-0.5.2-py3-none-any.whl (9.1 kB) Copy SHA256 Checksum SHA256 py3 Wheel May 28, 2017
aiomcache-0.5.2.tar.gz (7.7 kB) Copy SHA256 Checksum SHA256 Source May 28, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting