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.

Documentation

License

This project is licensed under the MIT License.

Release files for seriousdb 0.2.0

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.0
File Size Uploaded
seriousdb-0.2.0.tar.gz 21.4 kB Details

Built distribution (wheel)

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

Total release size: 34.3 kB

Release files / seriousdb-0.2.0.tar.gz

Download URL seriousdb-0.2.0.tar.gz
Size 21.4 kB
Tags Source
SHA-256 checksum
How to use checksums
53c8bb8e6cdc0e676266c0a4474c390abd6e5e20ef7aa7fe160321924a9dabad
BLAKE2b-256 checksum
How to use checksums
8ff049417de623a55ad19def1db16b612e7345664d596fb0913c7f2b27627aaa
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.0-py3-none-any.whl

Download URL seriousdb-0.2.0-py3-none-any.whl
Size 12.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b8818b8bfad73e95ff8a67ef166c8aa1cf7b4799b8c38d11ed490894b6b38ff0
BLAKE2b-256 checksum
How to use checksums
7e0aaf7155fed36e39c56ef2641161f23471e8ecb1c4e30932c2a27168298dcb
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

0.2.1

2 release files

This release

0.2.0 This release

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