An open API service indexing awesome lists of open source software.

https://github.com/selectel/python-yawndb

Python client for YAWNDB
https://github.com/selectel/python-yawndb

community

Last synced: 8 months ago
JSON representation

Python client for YAWNDB

Awesome Lists containing this project

README

          

.. -*- mode: rst -*-

Python-yawndb |build-status|
----------------------------

Python-yawndb is a client for interacting with `YAWNDB `_.

YAWNDB is an in-memory circular array database.

Installation
------------

Download the source and run::

$ python setup.py install

Dependencies
------------

- Twisted: event-driven networking engine (http://twistedmatrix.com)

Examples
--------

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)

Testing
-------

To test python-yawndb run::

$ pip install -r tests/requirements.txt
$ py.test tests/

.. |build-status| image:: https://travis-ci.org/selectel/python-yawndb.svg?branch=master
:target: https://travis-ci.org/selectel/python-yawndb
:alt: Build status