gen_py_tool package¶
Subpackages¶
- gen_py_tool.pro package
- Subpackages
- gen_py_tool.pro.config package
- gen_py_tool.pro.element package
- gen_py_tool.pro.factory package
- gen_py_tool.pro.schema package
- gen_py_tool.pro.template package
- Submodules
- Module contents
- Subpackages
Module contents¶
- Module
- __init__.py
- Copyright
- Copyright (C) 2017 Vladimir Roncevic <elektron.ronca@gmail.com> gen_py_tool is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. gen_py_tool is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
- Info
- Defined class GenPyTool with attribute(s) and method(s). Load a base info, create an CLI interface and run operation(s).
-
class
gen_py_tool.
GenPyTool
(verbose=False)[source]¶ Bases:
ats_utilities.cli.cfg_cli.CfgCLI
Defined class GenPyTool with attribute(s) and method(s). Load a base info, create an CLI interface and run operation(s). It defines:
attributes: __metaclass__ - setting cooperative metaclasses.GEN_VERBOSE - console text indicator for process-phase.CONFIG - tool info file path.LOG - tool log file path.OPS - list of tool options.logger - logger object API.methods: __init__ - initial constructor.process - process and generate module setup.py.__str__ - dunder method for GenPyTool.-
CONFIG
= '/conf/gen_py_tool.cfg'¶
-
GEN_VERBOSE
= 'GEN_PY_TOOL'¶
-
LOG
= '/log/gen_py_tool.log'¶
-
OPS
= ['-g', '--gen', '-v', '--verbose', '--version']¶
-
VERBOSE
= 'ATS_UTILITIES'¶
-