Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for dbmodel, version 0.0.7
Filename, size File type Python version Upload date Hashes
Filename, size dbmodel-0.0.7.tar.gz (18.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page