# avinassh/py-caskdb

(educational) build your own disk based KV store

Repository: https://github.com/avinassh/py-caskdb
Canonical: https://ross.abutalabs.com/products/py-caskdb
Language: Python
License: MIT
License Family: permissive
Last push: 2024-07-22T08:04:25+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 1665, "days_push": 772, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1365, forks 104 (observed 2026-08-28T04:04:31.151938+00:00)

## What it is
CaskDB is an educational, disk-based, embedded key-value store in Python based on Riak's Bitcask paper, built with only the standard library. It is designed as a workshop project to teach beginners how to build a persistent database, not for production use.

## Use cases
- learn how a disk-based key-value store works
- build your own persistent KV store in a workshop
- study the Bitcask log-structured hash table design
- embed a simple persistent key-value store in a Python project
- teach database internals to beginners
- understand how database files stay platform and language independent

## When to choose
- you want to learn database storage engine internals hands-on
- you need a tiny, dependency-free embedded KV store for experimentation
- you are running or following a database-building workshop

## When to avoid
- you need a production-grade database with range scans or compaction
- your dataset has many keys and RAM usage matters
- you need fast startup times or multi-file storage
- you need an installable package from PyPI

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: database, developer-tools
- domain: databases, education, developer-tools
- platform: python, cross-platform
- tags: key-value-store, bitcask, log-structured-storage, educational, embedded-database, workshop

## Member repositories
- avinassh/py-caskdb (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:31.151938+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:41:15.591655+00:00, confidence not recorded.
  - readme: https://github.com/avinassh/py-caskdb (fetched 2026-08-28T04:04:31.151938+00:00, sha 6203a29a15a8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
