Skip to main content

Small in-memory, key-value database.

Project description

kiwidb

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

Clone the repository:

git clone https://github.com/ernestofgonzalez/kiwidb.git
cd 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")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kiwidb-0.0.0a1.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kiwidb-0.0.0a1-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file kiwidb-0.0.0a1.tar.gz.

File metadata

  • Download URL: kiwidb-0.0.0a1.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for kiwidb-0.0.0a1.tar.gz
Algorithm Hash digest
SHA256 153e2f75779942570f9b7c7844074f47267fe6d422f5238dcdb06fa8338c3175
MD5 9efdef568a29f62efd16959a593fa07a
BLAKE2b-256 95d1eb8134a268bd9705923132d85e6a593eb19005ec2a54c864a8cc8c3c9738

See more details on using hashes here.

File details

Details for the file kiwidb-0.0.0a1-py3-none-any.whl.

File metadata

  • Download URL: kiwidb-0.0.0a1-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for kiwidb-0.0.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 81d5208dad3406c4c578805add8f00a36c98fff621eeed247fc5dac4dcfaa848
MD5 72b9280d459912fa0f16108dee1ac2ab
BLAKE2b-256 8b16854dd203bbfe620e07599e8f5a7c4ad1b35d7c1a876251b16993a8474932

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page