Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cpcloud/stupidb
The stupidest database of all time.
https://github.com/cpcloud/stupidb
database education python
Last synced: 5 days ago
JSON representation
The stupidest database of all time.
- Host: GitHub
- URL: https://github.com/cpcloud/stupidb
- Owner: cpcloud
- License: apache-2.0
- Created: 2018-11-22T16:48:32.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2024-10-29T12:20:54.000Z (3 months ago)
- Last Synced: 2024-10-29T14:49:32.934Z (3 months ago)
- Topics: database, education, python
- Language: Python
- Homepage:
- Size: 2.13 MB
- Stars: 55
- Watchers: 3
- Forks: 2
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Authors: AUTHORS.md
Awesome Lists containing this project
README
# StupiDB
[![PyPI](https://img.shields.io/pypi/v/stupidb.svg)](https://pypi.python.org/pypi/stupidb)
[![CI](https://github.com/cpcloud/stupidb/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/cpcloud/stupidb/actions/workflows/ci.yml)
[![Docs](https://readthedocs.org/projects/stupidb/badge/?version=latest)](https://stupidb.readthedocs.io/en/latest/?badge=latest)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.## Features
- 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## Non-Features
- Stupid simple in-memory format: `Iterable[Mapping[str, Any]]`
- Stupidly clean codebase## Credits
This package was created with
[Cookiecutter](https://github.com/audreyr/cookiecutter) and the
[audreyr/cookiecutter-pypackage](https://github.com/audreyr/cookiecutter-pypackage)
project template.