Skip to main content

Minimal pure python tornado memcached client

Project description

# Asyncmc

![Build state](

[Asyncmc]( is a memcached client for [Tornado]( web framework.
Asyncmc work with python 2.7 and python 3

## Quick links

* [Source (github)](

* [License](

* [Examples](

## Hello, Memcached

Here is a simple "Hello, Memcached" example for Tornado with Memcached


import tornado.ioloop
from tornado import gen
import asyncmc

loop = tornado.ioloop.IOLoop.instance()

def out():
mc = asyncmc.Client(servers=['localhost:11211'], loop=loop)
yield mc.set(b"some_key", b"Some value")
value = yield mc.get(b"some_key")
values = yield mc.multi_get(b"some_key", b"other_key")
yield mc.delete(b"another_key")


## Requires

+ [Tornado](
+ [Memcached](

## Installation

To install asyncmc, simply:


$ pip install asyncmc



Asyncmc is licensed under MIT.

Project details

Download files

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

Files for asyncmc, version 0.6.7
Filename, size File type Python version Upload date Hashes
Filename, size asyncmc-0.6.7.tar.gz (12.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page