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 & hash File type Python version Upload date
asyncmc-0.6.7.tar.gz (12.2 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page