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
- Host: GitHub
- URL: https://github.com/selectel/python-yawndb
- Owner: selectel
- License: mit
- Created: 2014-12-08T12:54:45.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-12-08T18:29:58.000Z (over 11 years ago)
- Last Synced: 2024-12-26T17:13:15.430Z (over 1 year ago)
- Topics: community
- Language: Python
- Homepage:
- Size: 157 KB
- Stars: 0
- Watchers: 15
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
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