Python DataBase Entity Model
Project description
Python DataBase Entity Model
SDK fornece uma série de recursos que aumentam muito a produtividade no desenvolvimento de aplicações integrada a banco de dados com gerenciamento de objeto.
Instalação
Instalação utilizando Pip
pip install dbmodel
Git/Clone
git clone https://github.com/robertons/dbmodel
cd dbmodel
pip install -r requirements.txt
python setup.py install
Generate Entity Model
import os
import dbmodel
dbmodel.Make(dir = os.path.dirname(os.path.abspath(__file__)), db_user="user", db_password="pass", db_host="host", db_port=3306, db_database="dbname")
Make will create folder on your project like this:
.
├── ...
├── model # Entity Model Folder
│ ├── __init__.py
│ ├── table_a # TableA Entity Class
│ ├── table_b # TableB Entity Class
│ └── table_b # TableC Entity Class
└── ...
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
dbmodel-0.0.8.tar.gz
(17.9 kB
view details)
File details
Details for the file dbmodel-0.0.8.tar.gz
.
File metadata
- Download URL: dbmodel-0.0.8.tar.gz
- Upload date:
- Size: 17.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 684736a4e1ca598f55cd04427cbc0b2c36c6824f1c32e27f9d60905057070140 |
|
MD5 | 3b0cce42ba78b4949eeed1c98639784b |
|
BLAKE2b-256 | 2d0c76e72f8cd8aca8b8d2a45c2da4a67cd35b95c08fc387dfa9b8cebbadae2a |