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
Close
Hashes for square_database_structure-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0cc08df02052eda7fe20742b1c6e2f6a6b4b734117055e04c0cfc71d11a792be |
|
MD5 | 1ed99fa94fd6f8b136a556b302bcb115 |
|
BLAKE2b-256 | 13cce60148395f37d4fb99c537dc675d8248510d438a1994fff7f5cdaff7192c |
Close
Hashes for square_database_structure-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b18845b900759733d3be543b8f85e8c178cefe0c51d13626f7d3248b60384363 |
|
MD5 | 6993c75b0824f9e369afb990cd295b6b |
|
BLAKE2b-256 | a42c4dd4ab0f608bd93557a20920ce896302eec3f28bdd1fad2744b1821e3fd0 |