In-memory database for python like a Redis(?). It's my learning sandbox of grpc.
$ git clone https://github.com/macrat/pyimdb.git
$ cd pyimdb
$ pipenv install
$ pipenv run server
Use client,
$ pipenv run client
Or use as library,
import pyimdb.client
with pyimdb.client.Client() as db:
db['hello'] = 'world'
assert db['hello'] == 'world'
del db['hello']
assert db['hello'] == ''