Generate Data Model (Django/Flask/SQLAlchemy)

gen_data_model is tool generator of form model for

  • Django FWK

  • Flask FWK

  • SQLAlchemy

Developed in python code.

The README is used to introduce the modules and provide instructions on how to install the modules, any machine dependencies it may have and any other information that should be provided before the modules are installed.

gen_data_model python checker gen_data_model python package github issues documentation status github contributors

Installation

gen_data_model python3 build

Navigate to release page download and extract release archive.

To install gen_data_model type the following

tar xvzf gen_data_model-x.y.z.tar.gz
cd gen_data_model-x.y.z
#python3
pip3 install -r requirements.txt
python3 setup.py install_lib
python3 setup.py install_egg_info
python3 setup.py install_data

You can use Docker to create image/container, or You can use pip to install

#python3
pip3 install gen_data_model

Dependencies

gen_data_model requires next modules and libraries

Tool structure

gen_data_model is based on OOP

Generator structure

gen_data_model/
      ├── conf/
         ├── gen_data_model.cfg
         ├── gen_data_model.logo
         ├── gen_data_model_util.cfg
         ├── model_types.yaml
         └── template/
             ├── django_base_model.template
             ├── django.template
             ├── flask_base_model.template
             ├── flask.template
             ├── sqlalchemy_base_model.template
             └── sqlalchemy.template
      ├── __init__.py
      ├── log/
         └── gen_data_model.log
      ├── pro/
         ├── __init__.py
         ├── read_template.py
         └── write_template.py
      ├── py.typed
      └── run/
          └── gen_data_model_run.py

6 directories, 17 files

Indices and tables