Latest / Learning & reference

learndb-py

github.com · Open source · Quiet

Pure Python relational database built to teach database internals

Visit github.com ↗Share

Stars
1.3k
Forks
62
Open issues
1
Last commit
Found
3 years ago

GitHub figures as of . They are context, not a ranking.

learndb-py is a relational database management system written from scratch in pure Python and modeled on SQLite. The repository describes its purpose as learning database internals by implementing them, which suits developers who want to read a small working engine.

Positioned as an alternative to SQLite.

Repository description on GitHub: “Learn database internals by implementing it from scratch.”

What it does

  • Implements a SQL engine with select, where, group by, having, order by and limit
  • Uses a custom lexer and parser built with lark
  • Offers a REPL, Python module import and command files

Good for

  • Read a small working database engine to learn its internals
  • Run SQL queries against a simple Python database in a REPL

Suits: Developers learning how databases work internally.

Worth knowing: The readme says it should not be used as an actual storage solution

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw learndb-py on , when spanspan posted it to Show HN. GitHub listed no published releases for spandanb/learndb-py when checked , so the project may ship straight from its main branch. The repository was created .

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 371 points, 77 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 371 points, 77 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

  1. Repository created on GitHub: spandanb/learndb-py
  2. Found: spanspan posted it to Show HN. Show HN
  3. Day-7 check recorded by Kip (details)
  4. Day-30 check recorded by Kip (details)

Quick answers

When was learndb-py released?
No dated release record is available. Kip found it on Show HN on 13 Aug 2023.
Is learndb-py open source?
Its source is public on GitHub at spandanb/learndb-py; check the repository for licence terms.
What does learndb-py run on?
Command line, Library.
Is learndb-py free?
It is open source, so the code is free to read and run; check the licence for terms.
Is learndb-py still maintained?
It has had no commit or release for over a year as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositoryspandanb/learndb-py
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-37114141. Summary written by KipFound’s editor.

Share

Similar tools

More in Learning & reference

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.