Skip to content

ernestofgonzalez/kiwidb

Repository files navigation

kiwidb

PyPI Python 3.x License

kiwidb is a small, in-memory key-value database written in pure Python. It started as a way to experiment with in-memory key-value storage, inspired by the guide from Building a Simple Redis Server with Python. It is designed for learning and experimentation.

Some feature highlights

  • Supports basic key-value operations (e.g., SET, GET, DEL).
  • In-memory storage for fast access.

Getting Started

Installation

pip install kiwidb

Using as a library

Run the kiwidb server:

python kiwidb

Interact with the database using a client (to be implemented or use a Python script):

import kiwidb

db = kiwidb.Client()
db.set("key", "value")
print(db.get("key"))  # Outputs: value
db.delete("key")

About

A small in-memory key-value database

Resources

License

Stars

Watchers

Forks