Skip to content
/ pyrant Public

A pythonic API for Tokyo Tyrant. Documentation: http://packages.python.org/pyrant/

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE
Unknown
COPYING
Notifications You must be signed in to change notification settings

Reflejo/pyrant

Repository files navigation

pyrant

A Pythonic implementation of Tokyo Tyrant protocol

Note: This project is now maintained here

Tokyo Cabinet is a fast and light-weight database library that manages a key-value store, and Tokyo Cabinet is a companion lightweight database server. The pyrant module provides a Pythonic interface, as well as a low-level interface, to the Tokyo Tyrant protocol, and allows for easy interfacing to a Tokyo Cabinet database from Python.

Example usage of the module (interfacing to a Tokyo Tyrant table database):

>>> import pyrant
>>> t = pyrant.Tyrant(host='127.0.0.1', port=1978)
>>> t['key'] = {'name': 'foo'}
>>> print t['key']['name']
foo
>>> del t['key']
>>> print t['key']
Traceback (most recent call last):
    ...
KeyError: 'key'

Documentation

Find more information about Tokyo Cabinet and Tokyo Tyrant on: http://fallabs.com/tokyotyrant/

Documentation for pyrant is available online at http://packages.python.org/pyrant/. The official module versions are made avaliable at http://pypi.python.org/pypi/pyrant/, but you are welcome to grab a snapshot of the source code from this repository. Note for all versions: Python 2.4+ is required.

The main purpose of this wiki is to support the continuous development of pyrant.

Developer ressources

About

A pythonic API for Tokyo Tyrant. Documentation: http://packages.python.org/pyrant/

Resources

License

Apache-2.0, Unknown licenses found

Licenses found

Apache-2.0
LICENSE
Unknown
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages