skip to navigation
skip to content

mpdbgen 0.1.1

Generate DB schema and data from conf file

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>
 
File Type Py Version Uploaded on Size
mpdbgen-0.1.1.tar.gz (md5) Source 2017-09-13 4KB