Skip to content
This repository has been archived by the owner on Jun 23, 2024. It is now read-only.

Latest commit

 

History

History
45 lines (34 loc) · 846 Bytes

README.md

File metadata and controls

45 lines (34 loc) · 846 Bytes

LevelDB RPC

LevelDB RPC is an XML-RPC based interface for LevelDB.

Installation

Getting Started

Currently, only following methods are supported:

  • put
  • get
  • delete

start an XML-RPC server

$ python leveldb-server.py

You can also specify port number or data directory:

$ python leveldb-server.py --port=8080 --datadir=testdir

start an XML-RPC client

$ python leveldb-client.py
localhost:8000> get foo
localhost:8000> put foo bar
localhost:8000> get foo
bar
localhost:8000> delete foo
localhost:8000> <CTRL-D>
$ 

You can also specify hostname or port number:

$ python leveldb-client.py --host=hostname --port=8080