Generate ESP Project

gen_esp is tool for generation of esp project.

Developed in python code.

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

Python package GitHub issues Documentation Status GitHub contributors


Install Python2 Package Install Python3 Package

Debian Linux OS

Navigate to release page download and extract release archive.

To install gen_esp type the following

tar xvzf gen_esp-x.y.z.tar.gz
cd gen_esp-x.y.z/
# python2
python2 -m pip install --upgrade setuptools
python2 -m pip install --upgrade pip
python2 -m pip install --upgrade build
pip2 install -r requirements.txt
python2 -m build --no-isolation --wheel
pip2 install ./dist/gen_esp-*-py2-none-any.whl
rm -f
chmod 755 /usr/local/lib/python2.7/dist-packages/usr/local/bin/
ln -s /usr/local/lib/python2.7/dist-packages/usr/local/bin/ /usr/local/bin/
# python3
python3 -m pip install --upgrade setuptools
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade build
pip3 install -r requirements.txt
python3 -m build --no-isolation --wheel
pip3 install ./dist/gen_esp-*-py3-none-any.whl
rm -f
chmod 755 /usr/local/lib/python3.9/dist-packages/usr/local/bin/
ln -s /usr/local/lib/python3.9/dist-packages/usr/local/bin/ /usr/local/bin/

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

# pyton2
pip2 install gen_esp
# pyton3
pip3 install gen_esp

GitHub docker checker


gen_esp requires next modules and libraries

Generation flow of project setup

Base flow of generation process

Tool structure

gen_esp is based on OOP.

Tool structure

├── conf/
│   ├── gen_esp.cfg
│   ├── gen_esp.logo
│   ├── gen_esp_util.cfg
│   └── template/
│       └── generator_test.template
├── log/
│   └── gen_esp.log
├── pro/
│   ├──
│   ├──
│   └──
└── run/

Indices and tables