I wrote a RDBMS (SQLite clone) from scratch in pure Python
I wrote a relational database management system (RDBMS) (sqlite clone) from scratch in pure Python.
I wrote a RDBMS (SQLite clone) from scratch in pure Python launched on August 13, 2023 with 371 votes, #63 of 4,347 launches that month and more than 99% of that year's launches. The site was still online in September 2026, 3 years on.
In plain words
This is a relational database management system written entirely in Python that functions similarly to SQLite. It is designed for developers who need a lightweight database solution built from scratch without external dependencies. The project stands out for being implemented as a pure Python clone of a widely-used database system, making it potentially useful for educational purposes or environments where a native Python database is preferred.
written from the facts on this page · September 2026
From the sources
Learn database internals by implementing it from scratch. - spandanb/learndb-py
Does a similar job
all alternatives →
Write universally accessible SQL, not library-specific ORM wrapper APIs2021 · github.com · ▲112A pure ORM for writing native SQL queries yielding pure business objects - craigmichaelmartin/pure-orm
- HAHashquery, a Python library for defining reusable analysis2024 · hashquery.dev · ▲67
Hi all, we recently open sourced the first version of Hashquery, a Python library which lets you model analytics, DRY up common logic, and execute it against a database or warehouse. We were originally rendering SQL directly for all our queries, but that spiraled out of control with more complex analysis; the SQL needed to be changed sporadically for each new database dialect (BigQuery, Redshift, Aethena, Postgres, etc etc) and the SQL fragments were very challenging to reuse (and so fragments were copy-pasted all over). ~~~ Advantages we think it has over writing SQL by hand: - Queries are…
- 1R1M rows/s from Postgres to Python2016 · magic.io · ▲296
PugSQL, a Python Port of HugSQL2019 · pugsql.org · ▲155PugSQL is a Python library for interacting with your database the way the gods intended.
DBOS transact – Ultra-lightweight durable execution in Python2024 · github.com · ▲89Hi HN - DBOS CEO here with the co-founders of DBOS, Peter (KraftyOne) and Qian (qianli_cs). The company started as a research project of Stanford and MIT, and Peter and Qian were advised by Mike Stonebreaker, the creator of Postgres, and Matei Zaharia, the creator of Spark. They believe so strongly in reliable, serverless compute that they started a company (with Mike) to bring it to the world! Today we want to share our brand new Python library providing ultra-lightweight durable execution. https://github.com/dbos-inc/dbos-transact-py Durable execution means your program…
SimpleSQLite – Python library to simplify the SQlite database creation2016 · github.com · ▲7SimpleSQLite is a Python library to simplify SQLite database operations: table creation, data insertion and get data as other data formats. Simple ORM functionality for SQLite. - thombashi/SimpleSQLite
More dev tools this month
the category →

open-source IDE for thoughtful software design. Contribute to devdotfast/whiteboard development by creating an account on GitHub.
Dev tools · 27d ago · github.com

Contribute to reladraw/reladraw development by creating an account on GitHub.
Dev tools · 25d ago · github.com
OpenBot▲362Grok Bot alternative: free, local, open-source, multiplayer
Dev tools · 22d ago · openbot.run
Talanoa▲340Hi HN, I’m a fullstack developer, and honestly, I’ve lost count of how many side projects I’ve worked on over the years. But one idea kept coming back to me: a different kind of email client. It first came to me in 2014: “What if we could handle emails more like conversations?” Every year, I’d revisit this concept in my “Build Notes.” Ten years later, no one had built exactly what I had in mind — so I finally decided to do it myself. That’s how Talanoa was born. I wanted something focused on people, not timelines. I was tired of marking messages as unread just to remember to reply later, or…
Dev tools · 20d ago · talanoa.email
CoreSpeed▲332One MCP for everything your agents need: apps, memory, tools
Dev tools · 27d ago · corespeed.io
Source: Show HN post ↗
Launched alongside, August 2023
the whole month →
Resend▲1,325An entire collection of pre-built components with a much faster development experience.
Dev tools · 2023 · resend.com



Lottielab▲869Create and ship lottie animations to sites and apps faster
Dev tools · 2023 · lottielab.com

Outlines is a Python library that focuses on text generation with large language models. Brandon and I are not LLM experts and started the project a few months ago because we wanted to understand better how the generation process works. Our original background is probabilistic, relational and symbolic programming. Recently we came up with a fast way to generate text that matches a regex (https://blog.normalcomputing.ai/posts/2023-07-27-regex-guide...). The basic idea is simple: regular expressions have an equivalent Deterministic-Finite Automaton (DFA) representation. We…
AI · 2023 · github.com