Generate Python Tool

gen_py_tool is package for generation of Python tool.

Developed in python code: 100%.

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.

Python package GitHub issues Documentation Status GitHub contributors

Installation

Install Python2 Package Install Python3 Package

Navigate to release page download and extract release archive.

To install gen_py_tool type the following

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

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

# python2
pip install gen-py-tool
# python3
pip3 install gen-py-tool

GitHub docker checker

Dependencies

gen_py_tool requires next modules and libraries

Generation flow of py tool

Base flow of generation process

https://raw.githubusercontent.com/vroncevic/gen_py_tool/dev/docs/gen_py_tool_flow.png

Tool structure

gen_py_tool is based on OOP

https://raw.githubusercontent.com/vroncevic/gen_py_tool/dev/docs/gen_py_tool.png

Code structure

gen_py_tool/
├── conf/
│   ├── element/
│      ├── substitute_generator.yaml
│      └── substitute_tool.yaml
│   ├── gen_py_tool.cfg
│   ├── gen_py_tool.logo
│   ├── gen_py_tool_util.cfg
│   ├── project.yaml
│   ├── schema/
│      ├── schema_generator.yaml
│      └── schema_tool.yaml
│   └── template/
│       ├── generator/
│          ├── editorconfig.template
│          ├── generator_configuration.template
│          ├── generator_configuration_util.template
│          ├── generator_io_class.template
│          ├── generator_process_class.template
│          ├── generator_read_template.template
│          ├── generator_test.template
│          ├── generator_write_template.template
│          └── run_generator.template
│       ├── template_generator.yaml
│       ├── template_tool.yaml
│       └── tool/
│           ├── editorconfig.template
│           ├── run_tool.template
│           ├── tool_configuration.template
│           ├── tool_configuration_util.template
│           └── tool_name_class.template
├── __init__.py
├── log/
│   └── gen_py_tool.log
├── pro/
│   ├── config/
│      ├── __init__.py
│      ├── pro_name.py
│      ├── pro_selector.py
│      └── pro_type.py
│   ├── element/
│      ├── element_container.py
│      ├── element_keys.py
│      └── __init__.py
│   ├── factory/
│      ├── collectiner/
│         ├── gen/
│            ├── base.py
│            └── __init__.py
│         ├── __init__.py
│         └── tool/
│             ├── base.py
│             └── __init__.py
│      ├── extractiner/
│         ├── gen/
│            ├── base.py
│            └── __init__.py
│         ├── __init__.py
│         └── tool/
│             ├── base.py
│             └── __init__.py
│      ├── gen/
│         ├── deploy_gen.py
│         ├── gen_elements.py
│         ├── __init__.py
│         └── prepare_gen.py
│      ├── __init__.py
│      └── tool/
│          ├── deploy_tool.py
│          ├── __init__.py
│          ├── prepare_tool.py
│          └── tool_elements.py
│   ├── __init__.py
│   ├── read_template.py
│   ├── schema/
│      ├── __init__.py
│      ├── schema_container.py
│      └── schema_keys.py
│   ├── template/
│      ├── __init__.py
│      ├── template_container.py
│      └── template_keys.py
│   └── write_template.py
└── run/
    └── gen_py_tool_run.py

Indices and tables