Skip to content

Asynchronous Memcached client that works within Tornado IO loop.

Notifications You must be signed in to change notification settings

eddyzhou/tornado-memcached

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tornado-memcached

Asynchronous Memcached client that works within Tornado IO loop.

Developing

Commited code must pass:

  • flake8

Usage

import tornado.gen
from tornmc.client import Client

...

client = Client(['127.0.0.1:11211'])

...

@tornado.gen.coroutine
def get(self):
    yield client.set('k', 'v', 5)
    value = yield client.get('k')

License

Tornado-Memcached is licensed under the Apache Licence, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html).

About

Asynchronous Memcached client that works within Tornado IO loop.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages