database layer for my personal server.
Project description
square_database
about
database layer for my personal server.
installation
pip install square_database[all]
usage (WIP)
change password in config.ini.
CREATE_SCHEMA = True to create database from scratch.
LOG_FILE_NAME and configure logger
link to square_database_structure
config
square_database\data\config.ini
env
- python>=3.12.0
changelog
v2.1.0
- standardize filter input to forward facing data structure.
- rename ignore_all to apply_filters.
- add columns in get rows.
- stricter type checking in pydantic models.
- refactor logic to apply filters into common function.
- add pydantic as explicit requirement.
v2.0.0
- append version number for each endpoint in the api.
v1.1.0
- remove table creation logic (move to square_database_structure).
v1.0.3
- add limit, offset and order by in get rows.
v1.0.2
- database creation logic change.
v1.0.1
- no changes. (password erase from history.)
v1.0.0
- initial commit.
Feedback is appreciated. Thank you!
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
square_database-2.1.0.tar.gz
(6.9 kB
view details)
Built Distribution
File details
Details for the file square_database-2.1.0.tar.gz
.
File metadata
- Download URL: square_database-2.1.0.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 268b27b87c1744d27a58cf84633c5f79e2103c9279158e6052bc516cdb73467d |
|
MD5 | 8a05a6524ea57e1afb56728516e12d38 |
|
BLAKE2b-256 | f63232e2316837d2cbbc735d5acff0a67de3cc55a14c4e85bf87ed7eda55316f |
File details
Details for the file square_database-2.1.0-py3-none-any.whl
.
File metadata
- Download URL: square_database-2.1.0-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48ad452b7f3beafb575e202edaffc23e8981d7f180b245510ad5a5c5119bcbf9 |
|
MD5 | d5a67eb0215573abdd5495c1177d7c11 |
|
BLAKE2b-256 | d2c3c6fc52d898a2dec716a16b73bbe978eca415878df882414e9dba4b5672f2 |