Plain file hierarchical database
Project description
[!IMPORTANT] This is a learning project. The code quality is poor, tests are sparse and there're countless mistakes. I'm well aware of that. Please don't use this thing in prod (as if anyone were considering that in the first place).
Dirtree DB
Hierarchical, plain file database-like python library.
"Wow, this thing is stupid." - myself, 2026
Installation & Usage
Installation:
# Requires python 3.11 or newer
pip install dirtree-db
Usage:
from dirtree-db import Database
db = Database("path/to/directory/containing/config/toml")
You will need a config.toml file in the path selected when defining the database, this is a minimal functional example:
[store]
name = "name"
Usage of functions of the Database class and syntax of config.toml are explained in a separate document
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 dirtree_db-0.1.0.tar.gz.
File metadata
- Download URL: dirtree_db-0.1.0.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
023d7b90ca9528c6e87eb2c1cb462f0f9686ab961712f65bb33193623d186bc0
|
|
| MD5 |
cb07e58a5d80ef34c8c63bfb5bed1531
|
|
| BLAKE2b-256 |
862f07837bfcd32520b8702ae138819967b2ee6f0733d0130fb8255c4b46d792
|
File details
Details for the file dirtree_db-0.1.0-py3-none-any.whl.
File metadata
- Download URL: dirtree_db-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4d41d65cce57ae2a50b15012187f3f0a12fe711ea690ebf7246f9cbcfe83b41
|
|
| MD5 |
dc11da99a900c33cf51f9f639cecb82c
|
|
| BLAKE2b-256 |
29f385bf1e47f1217d2bbea93c2678bfa73cc7e4b9ad9a6aef755f973ad47bd5
|