square_database
📌 versioning: see CHANGELOG.md.
about
a database layer for my personal server. this service exposes database operations as a fastapi application, powered by pluggable orm models (by default from square_database_structure, but you can swap in your own).
goals
- centralized database api
- pluggable orm models
- simple crud operations
- stored procedure support
- realtime via websockets
installation
pip install square_database[all]
usage
configuration
update the settings in config.ini and config.testing.ini to match your environment (database url, logging, etc).
models
this service requires orm models from a pluggable module. the default is
square_database_structure, but you can provide your own
module if needed.
running the service
python square_database/main.py
env
- python>=3.12.0
feedback is appreciated. thank you!
Metadata
Release files for square_database 3.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| square_database-3.4.1.tar.gz | 7.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| square_database-3.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.1 kB
Release files / square_database-3.4.1.tar.gz
| Download URL | square_database-3.4.1.tar.gz |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
690987bd2a985d78fb1d0e0f654a7aeda09ace85f8411317a62edc548a6e30b9
|
|
BLAKE2b-256 checksum How to use checksums |
aa2d3abc624c00a935bd56645192c9cbaffb5306da2c20255d61e9cff8e2288b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / square_database-3.4.1-py3-none-any.whl
| Download URL | square_database-3.4.1-py3-none-any.whl |
|---|---|
| Size | 12.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
626a31c3ec8c31d01b3a1d936c79348b75af3c196d35a44fbeff6dc9c7c7ee12
|
|
BLAKE2b-256 checksum How to use checksums |
5cc3d516dd1e1489fd54e5f5ec772ecbbc9b5d1dca0d512d83d8bf897a2de1d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|