ats_utilities.splash package

Module contents

Module
__init__.py
Copyright
Copyright (C) 2021 Vladimir Roncevic <elektron.ronca@gmail.com> ats_utilities 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. ats_utilities 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 Splash with attribute(s) and method(s). Load a splash screen info and add hyperlinks.
class ats_utilities.splash.Splash(ats_splash_property, verbose=False)[source]

Bases: ats_utilities.splash.splash_property.SplashProperty

Defined class Splash with attribute(s) and method(s). Load a splash screen info and add hyperlinks. It defines:

attributes:
__verbose - enable/disable verbose option.
methods:
__init__ - initial constructor.
center - center console line.
__str__ - dunder method for Splash.
VERBOSE = 'ats_utilities::splash'
center(columns, additional_shifter, text, verbose=False)[source]

Center console line.

Parameters:
  • columns (<int>) – colums for open console session.
  • additional_shifter (<int>) – additional shifters.
  • text (<str>) – text for console session.
  • verbose (<bool>) – enable/disable verbose option.
Exceptions:

ATSTypeError | ATSBadCallError