spandanb/learndb-py resource
Learn database internals by implementing it from scratch. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1933
- days_rel: n/a
- days_push: 1116
- n_releases_24m: 0
Adoption not part of the score
1326 stars · 62 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
LearnDB is an educational project that teaches database internals by guiding users through implementing a simplified SQLite-like relational database from scratch in pure Python. It includes a working RDBMS with a custom SQL lexer/parser, on-disk B-tree storage, and a REPL, but is explicitly not suitable for production storage.
Use cases
- learn how databases work internally
- implement a relational database from scratch
- study btree storage engine implementation
- understand sql parsing and lexing
- tinker with a simple rdbms codebase
- follow a database internals tutorial
When to choose
- you want to learn database internals by reading and modifying real code
- you prefer a simple, pure-Python codebase with zero configuration
- you want a guided tutorial plus reference docs for building an RDBMS
When to avoid
- you need a production-ready database for storing real data
- you need full SQL support like wildcard selects or IEEE754 float arithmetic
- you need Windows support since it relies on fcntl
Facets
learning-resource · maturity maintenance
database parser interpreter databases education developer-tools python cli sqlite-clone btree sql-engine learn-by-building educational-project linux macos
1 source
- readme: https://github.com/spandanb/learndb-py · fetched 2026-08-28 · 4994c356561e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| spandanb/learndb-py | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="spandanb/learndb-py")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem