Skip to content

macrat/PyIMDB

Repository files navigation

PyIMDB: Python In-Memory DataBase

In-memory database for python like a Redis(?). It's my learning sandbox of grpc.

Usage

Setup

$ git clone https://github.com/macrat/pyimdb.git
$ cd pyimdb
$ pipenv install

Server

$ pipenv run server

Client

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'] == ''

About

In-memory database for python like a Redis(?). It's my learning sandbox of grpc.

Resources

License

Stars

Watchers

Forks

Languages