Skip to content

selectel/python-yawndb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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/

Releases

No releases published

Packages

No packages published

Languages