Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Asynchronous Redis client that works within Tornado IO loop.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 brukva fix zsets in pipeline August 20, 2010
Octocat-spinner-32 demos Renamed project from rutabaga to brukva May 18, 2010
Octocat-spinner-32 tests
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE Added LICENSE, mentioned it in readme. May 18, 2010
Octocat-spinner-32 README.md
Octocat-spinner-32 setup.py adding tests to setup.py May 18, 2010
Octocat-spinner-32 show_coverage.py
Octocat-spinner-32 test_pipe.py
README.md

BIG FAT WARNING

https://github.com/evilkost/brukva - go there if you want working brukva. In this repository brukva is very outdated and broken.

brükva

Asynchronous Redis client that works within Tornado IO loop.

Usage

>>> import brukva
>>> c = brukva.Client()
>>> c.connect()
>>> def on_result(result):
       (error, data) = result
       print data or error
>>> c.set('foo', 'bar', on_result)
>>> c.get('foo', on_result)
>>> c.hgetall('foo', on_result)
>>> c.connection._stream.io_loop.start() # start tornado mainloop
True
bar
ResponseError (on HGETALL [('foo',), {}]): Operation against a key holding the wrong kind of value

Tips on testing

Run tests with the following command:

nosetests -s -w tests --nologcapture

Credits

brukva is developed and maintained by Konstantin Merenkov

License

See LICENSE file. Long story short: WTFPL v2

Something went wrong with that request. Please try again.