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>