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.

Source Distribution

dbmodel-0.0.5.tar.gz (18.2 kB view details)

Uploaded Source

File details

Details for the file dbmodel-0.0.5.tar.gz.

File metadata

  • Download URL: dbmodel-0.0.5.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.7

File hashes

Hashes for dbmodel-0.0.5.tar.gz
Algorithm Hash digest
SHA256 d3cdd743ae1ad7ca3648fffa04243a1f9f226811535bba062e2cde665f89e852
MD5 1f868a2d38d8dbbcb9843e43b6830fc4
BLAKE2b-256 1254d1c3e3f17097ddc069e760f5cfc42d1eae1f930156ac0ae8dc5481e7ace1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page