Skip to main content

seriousdb logo

seriousdb - A seriously simple database

Tests Lint Typecheck Version Python License Stars Forks Open Source

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

License

This project is licensed under the MIT License.

Release files for seriousdb 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for seriousdb 0.2.1
File Size Uploaded
seriousdb-0.2.1.tar.gz 22.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for seriousdb 0.2.1
File Interpreter ABI Platform
seriousdb-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 35.9 kB

Release files / seriousdb-0.2.1.tar.gz

Download URL seriousdb-0.2.1.tar.gz
Size 22.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ec0987a3bf4b5d5e1a371e5ecd5193677498a4d0f7bc3e7b5ab0c3c188d07bac
BLAKE2b-256 checksum
How to use checksums
f42f680a1cd01a85601ce843b2ede7d194f2fa8a44fdc804d1108078c7bdd52d
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.1-py3-none-any.whl

Download URL seriousdb-0.2.1-py3-none-any.whl
Size 13.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f6a06a2a6939ace9c1176d6eef1249066ece51f608caf03050542cb7b32e9e8b
BLAKE2b-256 checksum
How to use checksums
ac670faf2308376cf02a4025112944ad93a40f1512ce3a680fa83550f8100336
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 history Release notifications | RSS feed

0.2.2

2 release files

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page