Python module containing the SQLMODEL for the KOCO MOTION product description in the catalog database. Used import into the flask project and the later to define API-project
Project description
koco-product-sqlmodel
This project separates the product describing SQLMODEL from other modules making later use of it. It shall be implemented into the CatalogDB-project and into a separate API project.
Scope
The module will contain all necessary sqlmodel-classes and functions to make an interaction with a KOCO-product-database possible. It shall be available under MIT-license on pip.
Dependencies
The module depends on Tiangolo's sqlmodel-package, which is also licensed under MIT-License.
Environmental Variables
Database information and credentials are provided as environmental variables. Following variables are defined:
MARIADB_USER=the_db_user_name
MARIADB_PW=the_db_user_password
MARIADB_URI=the_mariadb_uri
MARIADB_DATABASE=name_of_the_product_database
MARIADB_CONNECTOR_STRING=mariadb+mariadbconnector://${MARIADB_USER}:${MARIADB_PW}@${MARIADB_URI}/${MARIADB_DATABASE}
There is an .env_example
-file available in the repository.
Project details
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
Hashes for koco_product_sqlmodel-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62deeed0601c3df732de68f9c71aecd95eddb7f3c51baad229c2e510b59a609e |
|
MD5 | bbe4a47e6c4e98597d1e1d78db776161 |
|
BLAKE2b-256 | bea0411cd9d2e103de643ca58c5600d8e6f37f3ca5fd7636445912ec881ca9f9 |
Hashes for koco_product_sqlmodel-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 883d91a49e1ad8d0bc657534d0c31710db337896921b50c7479671c6e630d6e9 |
|
MD5 | 037d0374b0830ca939e6e63739110a39 |
|
BLAKE2b-256 | 16365e5593841ec870b178641142095de6ef4bdc7d9893928df863b17eb3a1a4 |