Python-yawndb is a client for interacting with YAWNDB.
YAWNDB is an in-memory circular array database.
Download the source and run:
$ python setup.py install
- Twisted: event-driven networking engine (http://twistedmatrix.com)
Here's a basic example:
$ python >>> import yawndb.sync >>> yawndb = yawndb.sync.YAWNDB("127.0.0.1") >>> yawndb.start() >>> yawndb.send_msgs([("stats", 1010)]) >>> yawndb.last("stats", "stats", 1)
To test python-yawndb run:
$ pip install -r tests/requirements.txt $ py.test tests/