mpdbgen 0.1.1 2017-09-13 ✔ PY2 ✔ PY3

mpdbgen on PyPI  

Generate DB schema and data from conf file


AuthorTuan Tran
LicenseBSD-3-Clause
Keywords sqlalchemy database generate development

mpdbgen

Generate DB schema and data from conf file.

Installation

Prerequisites

sudo apt-get install libmysqlclient-dev
sudo apt-get install libmariadbclient-dev

Source

git clone https://github.com/mptnt1988/mpdbgen.git
cd mpdbgen
pip install .

PyPI

pip install mpdbgen

Usage

Currently, only MySQL is supported.

Config file

See samples/*

Refer to SQLAlchemy syntax to define table column.

Running

mpdbgen -h|--help
mpdbgen <config_file>
mpdbgen -d|--drop <config_file>