Skip to main content
# Asyncmc

![Build state](https://travis-ci.org/ErDmKo/asyncmc.svg?branch=master)

[Asyncmc](https://github.com/ErDmKo/asyncmc) is a memcached client for [Tornado](https://github.com/tornadoweb/tornado) web framework.
Asyncmc work with python 2.7 and python 3

## Quick links

* [Source (github)](https://github.com/ErDmKo/asyncmc)

* [License](https://raw.githubusercontent.com/ErDmKo/asyncmc/master/LICENSE.txt)

* [Examples](https://github.com/ErDmKo/asyncmc/blob/master/examples)

## Hello, Memcached

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

```python

import tornado.ioloop
from tornado import gen
import asyncmc

loop = tornado.ioloop.IOLoop.instance()

@gen.coroutine
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")
print(value)
values = yield mc.multi_get(b"some_key", b"other_key")
print(values)
yield mc.delete(b"another_key")

loop.run_sync(out)
```

## Requires

+ [Tornado](https://github.com/tornadoweb/tornado)
+ [Memcached](http://memcached.org/)

## Installation

To install asyncmc, simply:

```bash

$ pip install asyncmc

```

# LICENSE

Asyncmc is licensed under MIT.

Metadata

Release files for asyncmc 0.6.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for asyncmc 0.6.7
File Size Uploaded
asyncmc-0.6.7.tar.gz 12.2 kB Details

Release files / asyncmc-0.6.7.tar.gz

Download URL asyncmc-0.6.7.tar.gz
Size 12.2 kB
Tags Source
SHA-256 checksum
How to use checksums
905c28f65b3ebc7e96133ac3984e81bacc1a654857db16f3e9981d01ebb4523c
BLAKE2b-256 checksum
How to use checksums
7b07d88f6d5b924a8af7bbf0f0f4ea765097e8d3ac6fbc44d9db25a3297675b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.6.7 This release

1 release file

0.6.6

1 release file

0.6.5

1 release file

0.6.4

1 release file

0.6.3

1 release file

0.6.2

1 release file

0.6.1

1 release file

0.6

1 release file

0.5.2

1 release file

0.5.1

1 release file

0.5

1 release file

0.4

1 release file

0.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2

1 release file

0.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page