Skip to main content

The stupidest of all the databases.

Project description


PyPI CI Docs

Pronounced in at least two ways:

  1. Stoo-PID-eh-bee, rhymes with "stupidity"
  2. Stoopid-DEE-BEE, like "stupid db"

Are you tired of software that's too smart? Try StupiDB, the stupidest database you'll ever come across.

StupiDB was built to understand how a relational database might be implemented.

RDBMSs like PostgreSQL are extremely complex. It was hard for to me to imagine what implementing the core of a relational database like PostgreSQL would look like just by tinkering with and reading the source code, so I decided to write my own.


  • Stupid joins
  • Idiotic window functions
  • Woefully naive set operations
  • Sophomoric group bys
  • Dumb custom aggregates
  • Scales down, to keep expectations low
  • Wildly cloud unready
  • Worst-in-class performance


  • Stupid simple in-memory format: Iterable[Mapping[str, Any]]
  • Stupidly clean codebase


This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

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

stupidb-7.0.4.tar.gz (41.7 kB view hashes)

Uploaded source

Built Distribution

stupidb-7.0.4-py3-none-any.whl (51.4 kB view hashes)

Uploaded py3

Supported by

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