The simplest way to set up a Python database
Project description
SetDB
The simplest zero-setup Python database layer — just import and store.
⚡ What is SetDB?
SetDB is a minimalist, plug-and-play database layer for Python apps.
No configuration. No boilerplate. Just import and start saving data.
Works out of the box with SQLite — extendable for other backends.
🔧 Installation
pip install setdb
🚀 Quickstart
import setdb
# SetDB connects automatically to a default local SQLite database.
setdb.insert("users", {"name": "alice", "age": 30})
user = setdb.get("users", name="alice")
print(user) # {'name': 'alice', 'age': 30}
🌐 Features
- 🔌 Zero-config database setup
- ⚡ Single-file persistence with SQLite
- 📦 Simple key-value and table-based storage
- ✅ Auto-create tables if they don't exist
- 🔒 Optional encryption-ready
📁 Coming Soon
.env+ CLI config support- More backends (PostgreSQL, TinyDB, etc.)
- Model/decorator-based syntax (
@setdb.model) - Integration with SetAPI
📄 License
MIT — do whatever you want.
Want to contribute? PRs welcome soon.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file SetDB-0.1.tar.gz.
File metadata
- Download URL: SetDB-0.1.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fdc6b185cda82f3b9221970a9ce46b62b2f8fd3fa92d1e3b18e0e193b5176dc9
|
|
| MD5 |
0da0c6d8ae4010b53e7fdc4c05557d10
|
|
| BLAKE2b-256 |
0b043096dd650c97a7dd6534c39fbf8984e72557e5b69780671dd6a56e7ac1ab
|
File details
Details for the file SetDB-0.1-py3-none-any.whl.
File metadata
- Download URL: SetDB-0.1-py3-none-any.whl
- Upload date:
- Size: 2.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
baf8ae2cbd5552bf5ea64eee9c57cd888fa34d77d4689f6d84a23824e9eb1e4b
|
|
| MD5 |
0edbfbb49500dbd44724e5028b847313
|
|
| BLAKE2b-256 |
49ba53a9b46fa1fc1f28661deafddeb7f2d409e695bed345a0f244abdba6f2e8
|