gen_unix_domain_socket.pro package¶
Subpackages¶
Submodules¶
Module contents¶
- Module
- __init__.py
- Copyright
- Copyright (C) 2018 Vladimir Roncevic <elektron.ronca@gmail.com> gen_unix_domain_socket 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_unix_domain_socket 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 UnixDomainSocket with attribute(s) and method(s). Generate module file generator_test.py by template and parameters.
-
class
gen_unix_domain_socket.pro.
UnixDomainSocket
(verbose=False)[source]¶ Bases:
ats_utilities.config_io.base_check.FileChecking
,gen_unix_domain_socket.pro.config.ProConfig
,gen_unix_domain_socket.pro.config.pro_name.ProName
Defined class UnixDomainSocket with attribute(s) and method(s). Generate module file generator_test.py by template and parameters. It defines:
attributes: GEN_VERBOSE - console text indicator for process-phase.PRO_STRUCTURE - project setup (template, module).__reader - reader API.__writer - writer API.methods: __init__ - initial constructor.get_reader - getter for template reader.get_writer - getter for template writer.gen_setup - generate module file setup.py.__str__ - dunder method for UnixDomainSocket.-
GEN_VERBOSE
= 'GEN_UNIX_DOMAIN_SOCKET::PRO::GEN_SETUP'¶
-
PRO_STRUCTURE
= '/../conf/project.yaml'¶
-
VERBOSE
= 'ATS_UTILITIES'¶
-
gen_setup
(pro_name, verbose=False)[source]¶ Generate module generator_test.py.
Parameters: - pro_name (<str>) – project name.
- verbose (<bool>) – enable/disable verbose option.
Returns: boolean status, True (success) | False.
Return type: <bool>
Exceptions: ATSTypeError | ATSBadCallError
-
get_reader
()[source]¶ Getter for template reader.
Returns: template reader object. Return type: <ReadTemplate> Exceptions: None
-