gen_unix_domain_socket.pro.config.pro_name module¶
- Module
- pro_name.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 ProName with attribute(s) and method(s). Defined API for project name with preparations for generation.
-
class
gen_unix_domain_socket.pro.config.pro_name.
ProName
(verbose=False)[source]¶ Defined class ProName with attribute(s) and method(s). Defined API for project name with preparations for generation. It defines:
attributes: GEN_VERBOSE - console text indicator for process-phase.__verbose - enable/disable verbose option.__pro_name - project name.methods: __init__ - initial constructor.pro_name - property methods for set/get operations.is_pro_name_ok - checking is project name ok.__str__ - dunder method for ProName.-
GEN_VERBOSE
= 'GEN_UNIX_DOMAIN_SOCKET::PRO::CONFIG::PRO_NAME'¶
-
is_pro_name_ok
()[source]¶ Checking is project name ok.
Returns: boolean status, True (not None) | False. Return type: <bool> Exceptions: None
-
pro_name
¶ Property method for getting project name.
Returns: formatted project name | None. Return type: <str> | <NoneType> Exceptions: None
-