seriousdb - A seriously simple database
seriousdb is a small, simple key-value database you import directly into your Python project. It
requires zero configuration and is designed to be effortless.
For setup, usage, architecture, persistence, and contribution guidance, see the documentation.
Quick Start
Use as a Python library
Install with pip:
pip install seriousdb
Or add it to a uv project:
uv add seriousdb
Then use it directly from your Python project:
import seriousdb
seriousdb.set("name", "Alice")
print(seriousdb.get("name"))
The database is loaded on first use. See the API reference for supported operations and persistence for file handling and concurrency limits.
Configuration
Configuration is optional and can be customized from environment variables. Copy the example file and adjust for local development:
cp .env.example .env
The .env file is gitignored and should never be committed.
| Variable | Default | Description |
|---|---|---|
SERIOUSDB_DB_FILE |
.sdb |
Path to the on-disk database file. |
SERIOUSDB_LOG_LEVEL |
INFO |
Logging level (DEBUG/INFO/WARNING/ERROR/CRITICAL). |
Set configuration before importing seriousdb.
If you're an AI Agent: Please read AGENTS.md
Documentation
- API reference
- Architecture
- Development guide
- Persistence
- Contributing
- Testing
- Project configuration
- Changelog
License
This project is licensed under the MIT License.
Release files for seriousdb 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| seriousdb-0.2.2.tar.gz | 22.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| seriousdb-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 36.0 kB
Release files / seriousdb-0.2.2.tar.gz
| Download URL | seriousdb-0.2.2.tar.gz |
|---|---|
| Size | 22.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
27bf6a0cde580c05662b4048bccd9bdd2d5545514eedc7a9e9ac29900bd912d8
|
|
BLAKE2b-256 checksum How to use checksums |
3add977507721ab170675bb91db4e5121bf0972361af317b28460d668a0ec115
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.3","id":"zena","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / seriousdb-0.2.2-py3-none-any.whl
| Download URL | seriousdb-0.2.2-py3-none-any.whl |
|---|---|
| Size | 13.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e5737113bd6b5ed67ff9f1a3ffd1efab17567a188197c30f6a1032d6932d12f6
|
|
BLAKE2b-256 checksum How to use checksums |
f0175a93ec3090231a679d1fb8a843096b2d7dad4bf5b1a63a64090c7ad7fe6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.3","id":"zena","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|