database layer for my personal server.
Project description
square_database_structure
about
database structure layer for my personal server.
installation
pip install square_database_structure
usage
to add a new database
- create a package with package name as database name.
to add a new schema
- add package in database_name package with schema name as package name.
to add a new table
- create /database_name/schema_name/tables.py file if not already created.
- create class corresponding to your new table add in /database_name/schema_name/tables.py file.
to add default data in table
- append row objects containing your default data to the data_to_insert list inside the /database_name/schema_name/tables.py file.
env
- python>=3.12.0
changelog
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
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 square_database_structure-1.0.0.tar.gz.
File metadata
- Download URL: square_database_structure-1.0.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0cc08df02052eda7fe20742b1c6e2f6a6b4b734117055e04c0cfc71d11a792be
|
|
| MD5 |
1ed99fa94fd6f8b136a556b302bcb115
|
|
| BLAKE2b-256 |
13cce60148395f37d4fb99c537dc675d8248510d438a1994fff7f5cdaff7192c
|
File details
Details for the file square_database_structure-1.0.0-py3-none-any.whl.
File metadata
- Download URL: square_database_structure-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b18845b900759733d3be543b8f85e8c178cefe0c51d13626f7d3248b60384363
|
|
| MD5 |
6993c75b0824f9e369afb990cd295b6b
|
|
| BLAKE2b-256 |
a42c4dd4ab0f608bd93557a20920ce896302eec3f28bdd1fad2744b1821e3fd0
|