Skip to content

Commit 565083b

Browse files
committed
More renaming.
1 parent 1943827 commit 565083b

File tree

11 files changed

+67
-64
lines changed

11 files changed

+67
-64
lines changed

.idea/pyTooling.TerminalUI.iml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

doc/Dependencies.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,25 @@
33
Dependencies
44
############
55

6-
.. |img-pyTerminalUI-lib-status| image:: https://img.shields.io/librariesio/release/pypi/pyTerminalUI
6+
.. |img-TerminalUI-lib-status| image:: https://img.shields.io/librariesio/release/pypi/pyTooling.TerminalUI
77
:alt: Libraries.io status for latest release
88
:height: 22
9-
:target: https://libraries.io/github/Paebbels/pyTerminalUI
10-
.. |img-pyTerminalUI-req-status| image:: https://img.shields.io/requires/github/Paebbels/pyTerminalUI
9+
:target: https://libraries.io/github/pyTooling/pyTooling.TerminalUI
10+
.. |img-TerminalUI-req-status| image:: https://img.shields.io/requires/github/pyTooling/pyTooling.TerminalUI
1111
:alt: Requires.io
1212
:height: 22
13-
:target: https://requires.io/github/Paebbels/pyTerminalUI/requirements/?branch=master
13+
:target: https://requires.io/github/pyTooling/pyTooling.TerminalUI/requirements/?branch=master
1414

1515
+------------------------------------------+------------------------------------------+
1616
| `Libraries.io <https://libraries.io/>`_ | `Requires.io <https://requires.io/>`_ |
1717
+==========================================+==========================================+
18-
| |img-pyTerminalUI-lib-status| | |img-pyTerminalUI-req-status| |
18+
| |img-TerminalUI-lib-status| | |img-TerminalUI-req-status| |
1919
+------------------------------------------+------------------------------------------+
2020

2121
.. _dependency-package:
2222

23-
pyTerminalUI Package (Mandatory)
24-
********************************
23+
pyTooling.TerminalUI Package (Mandatory)
24+
****************************************
2525

2626
.. rubric:: Manually Installing Package Requirements
2727

doc/ILineTerminal.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ILineTerminal
22
#############
33

4-
.. autoclass:: pyTerminalUI.ILineTerminal
4+
.. autoclass:: pyTooling.TerminalUI.ILineTerminal
55
:members:
66
:private-members:

doc/Installation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ Installation using PIP
99

1010
.. code-block:: bash
1111
12-
pip3 install pyTerminalUI
12+
pip3 install pyTooling.TerminalUI
1313
1414
1515
Updating using PIP
1616
==================
1717

1818
.. code-block:: bash
1919
20-
pip3 install -U pyTerminalUI
20+
pip3 install -U pyTooling.TerminalUI

doc/Line.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ Line
22
####
33

44
``Line`` represents a single line in a line-based terminal application. If a
5-
line is visible, depends on the :class:`~pyTerminalUI.Severity`-level of a
5+
line is visible, depends on the :class:`~pyTooling.TerminalUI.Severity`-level of a
66
``Line`` object.
77

8-
.. autoclass:: pyTerminalUI.Line
8+
.. autoclass:: pyTooling.TerminalUI.Line
99
:show-inheritance:
1010
:members:
1111
:private-members:

doc/LineTerminal.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
LineTerminal
22
############
33

4-
.. inheritance-diagram:: pyTerminalUI.LineTerminal
4+
.. inheritance-diagram:: pyTooling.TerminalUI.LineTerminal
55
:parts: 1
66

7-
.. autoclass:: pyTerminalUI.LineTerminal
7+
.. autoclass:: pyTooling.TerminalUI.LineTerminal
88
:show-inheritance:
99
:members:
1010
:private-members:

doc/Severity.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Severity
22
########
33

4-
.. autoclass:: pyTerminalUI.Severity
4+
.. autoclass:: pyTooling.TerminalUI.Severity
55
:show-inheritance:
66
:members:
77
:private-members:

doc/Terminal.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Terminal
22
********
33

4-
.. autoclass:: pyTerminalUI.Terminal
4+
.. autoclass:: pyTooling.TerminalUI.Terminal
55
:show-inheritance:
66
:members:
77
:private-members:

doc/index.rst

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,81 +1,81 @@
1-
.. |img-pyTerminalUI-github| image:: https://img.shields.io/badge/Paebbels-pyTerminalUI-323131.svg?logo=github&longCache=true
1+
.. |img-TerminalUI-github| image:: https://img.shields.io/badge/pyTooling-pyTooling.TerminalUI-323131.svg?logo=github&longCache=true
22
:alt: Sourcecode on GitHub
33
:height: 22
4-
:target: https://github.com/Paebbels/pyTerminalUI
5-
.. |img-pyTerminalUI-codelicense| image:: https://img.shields.io/pypi/l/pyTerminalUI?logo=GitHub&label=code%20license
4+
:target: https://github.com/pyTooling/pyTooling.TerminalUI
5+
.. |img-TerminalUI-codelicense| image:: https://img.shields.io/pypi/l/pyTooling.TerminalUI?logo=GitHub&label=code%20license
66
:alt: Sourcecode License
77
:height: 22
8-
.. |img-pyTerminalUI-tag| image:: https://img.shields.io/github/v/tag/Paebbels/pyTerminalUI?logo=GitHub&include_prereleases
8+
.. |img-TerminalUI-tag| image:: https://img.shields.io/github/v/tag/pyTooling/pyTooling.TerminalUI?logo=GitHub&include_prereleases
99
:alt: GitHub tag (latest SemVer incl. pre-release)
1010
:height: 22
11-
:target: https://github.com/Paebbels/pyTerminalUI/tags
12-
.. |img-pyTerminalUI-release| image:: https://img.shields.io/github/v/release/Paebbels/pyTerminalUI?logo=GitHub&include_prereleases
11+
:target: https://github.com/pyTooling/pyTooling.TerminalUI/tags
12+
.. |img-TerminalUI-release| image:: https://img.shields.io/github/v/release/pyTooling/pyTooling.TerminalUI?logo=GitHub&include_prereleases
1313
:alt: GitHub release (latest SemVer incl. including pre-releases
1414
:height: 22
15-
:target: https://github.com/Paebbels/pyTerminalUI/releases/latest
16-
.. |img-pyTerminalUI-date| image:: https://img.shields.io/github/release-date/Paebbels/pyTerminalUI?logo=GitHub
15+
:target: https://github.com/pyTooling/pyTooling.TerminalUI/releases/latest
16+
.. |img-TerminalUI-date| image:: https://img.shields.io/github/release-date/pyTooling/pyTooling.TerminalUI?logo=GitHub
1717
:alt: GitHub release date
1818
:height: 22
19-
:target: https://github.com/Paebbels/pyTerminalUI/releases
20-
.. |img-pyTerminalUI-lib-dep| image:: https://img.shields.io/librariesio/dependents/pypi/pyTerminalUI?logo=librariesdotio
19+
:target: https://github.com/pyTooling/pyTooling.TerminalUI/releases
20+
.. |img-TerminalUI-lib-dep| image:: https://img.shields.io/librariesio/dependents/pypi/pyTooling.TerminalUI?logo=librariesdotio
2121
:alt: Dependents (via libraries.io)
2222
:height: 22
23-
:target: https://github.com/Paebbels/pyTerminalUI/network/dependents
24-
.. |img-pyTerminalUI-gha-pipeline| image:: https://img.shields.io/github/workflow/status/Paebbels/pyTerminalUI/Unit%20Testing,%20Coverage%20Collection,%20Package,%20Release,%20Documentation%20and%20Publish?label=Pipeline&logo=GitHub%20Actions&logoColor=FFFFFF
23+
:target: https://github.com/pyTooling/pyTooling.TerminalUI/network/dependents
24+
.. |img-TerminalUI-gha-pipeline| image:: https://img.shields.io/github/workflow/status/pyTooling/pyTooling.TerminalUI/Unit%20Testing,%20Coverage%20Collection,%20Package,%20Release,%20Documentation%20and%20Publish?label=Pipeline&logo=GitHub%20Actions&logoColor=FFFFFF
2525
:alt: GitHub Workflow - Build and Test Status
2626
:height: 22
27-
:target: https://github.com/Paebbels/pyTerminalUI/actions/workflows/Pipeline.yml
28-
.. |img-pyTerminalUI-codacy-quality| image:: https://img.shields.io/codacy/grade/e8a1b6e33d564f82927235e17fb26e93?logo=Codacy
27+
:target: https://github.com/pyTooling/pyTooling.TerminalUI/actions/workflows/Pipeline.yml
28+
.. |img-TerminalUI-codacy-quality| image:: https://img.shields.io/codacy/grade/e8a1b6e33d564f82927235e17fb26e93?logo=Codacy
2929
:alt: Codacy - Quality
3030
:height: 22
31-
:target: https://www.codacy.com/manual/Paebbels/pyTerminalUI
32-
.. |img-pyTerminalUI-codacy-coverage| image:: https://img.shields.io/codacy/coverage/e8a1b6e33d564f82927235e17fb26e93?logo=Codacy
31+
:target: https://www.codacy.com/manual/pyTooling/pyTooling.TerminalUI
32+
.. |img-TerminalUI-codacy-coverage| image:: https://img.shields.io/codacy/coverage/e8a1b6e33d564f82927235e17fb26e93?logo=Codacy
3333
:alt: Codacy - Line Coverage
3434
:height: 22
35-
:target: https://www.codacy.com/manual/Paebbels/pyTerminalUI
36-
.. |img-pyTerminalUI-codecov-coverage| image:: https://img.shields.io/codecov/c/github/Paebbels/pyTerminalUI?logo=Codecov
35+
:target: https://www.codacy.com/manual/pyTooling/pyTooling.TerminalUI
36+
.. |img-TerminalUI-codecov-coverage| image:: https://img.shields.io/codecov/c/github/pyTooling/pyTooling.TerminalUI?logo=Codecov
3737
:alt: Codecov - Branch Coverage
3838
:height: 22
39-
:target: https://codecov.io/gh/Paebbels/pyTerminalUI
40-
.. |img-pyTerminalUI-lib-rank| image:: https://img.shields.io/librariesio/sourcerank/pypi/pyTerminalUI?logo=librariesdotio
39+
:target: https://codecov.io/gh/pyTooling/pyTooling.TerminalUI
40+
.. |img-TerminalUI-lib-rank| image:: https://img.shields.io/librariesio/sourcerank/pypi/pyTooling.TerminalUI?logo=librariesdotio
4141
:alt: Libraries.io SourceRank
4242
:height: 22
43-
:target: https://libraries.io/github/Paebbels/pyTerminalUI/sourcerank
44-
.. |img-pyTerminalUI-pypi-tag| image:: https://img.shields.io/pypi/v/pyTerminalUI?logo=PyPI&logoColor=FBE072
43+
:target: https://libraries.io/github/pyTooling/pyTooling.TerminalUI/sourcerank
44+
.. |img-TerminalUI-pypi-tag| image:: https://img.shields.io/pypi/v/pyTooling.TerminalUI?logo=PyPI&logoColor=FBE072
4545
:alt: PyPI - Tag
4646
:height: 22
47-
:target: https://pypi.org/project/pyTerminalUI/
48-
.. |img-pyTerminalUI-pypi-python| image:: https://img.shields.io/pypi/pyversions/pyTerminalUI?logo=PyPI&logoColor=FBE072
47+
:target: https://pypi.org/project/pyTooling.TerminalUI/
48+
.. |img-TerminalUI-pypi-python| image:: https://img.shields.io/pypi/pyversions/pyTooling.TerminalUI?logo=PyPI&logoColor=FBE072
4949
:alt: PyPI - Python Version
5050
:height: 22
51-
.. |img-pyTerminalUI-pypi-status| image:: https://img.shields.io/pypi/status/pyTerminalUI?logo=PyPI&logoColor=FBE072
51+
.. |img-TerminalUI-pypi-status| image:: https://img.shields.io/pypi/status/pyTooling.TerminalUI?logo=PyPI&logoColor=FBE072
5252
:alt: PyPI - Status
5353
:height: 22
54-
.. |img-pyTerminalUI-lib-status| image:: https://img.shields.io/librariesio/release/pypi/pyTerminalUI?logo=librariesdotio
54+
.. |img-TerminalUI-lib-status| image:: https://img.shields.io/librariesio/release/pypi/pyTooling.TerminalUI?logo=librariesdotio
5555
:alt: Libraries.io status for latest release
5656
:height: 22
57-
:target: https://libraries.io/github/Paebbels/pyTerminalUI
58-
.. |img-pyTerminalUI-req-status| image:: https://img.shields.io/requires/github/Paebbels/pyTerminalUI
57+
:target: https://libraries.io/github/pyTooling/pyTooling.TerminalUI
58+
.. |img-TerminalUI-req-status| image:: https://img.shields.io/requires/github/pyTooling/pyTooling.TerminalUI
5959
:alt: Requires.io
6060
:height: 22
61-
:target: https://requires.io/github/Paebbels/pyTerminalUI/requirements/?branch=master
62-
.. |img-pyTerminalUI-rtd| image:: https://img.shields.io/readthedocs/pyterminalui?label=ReadTheDocs&logo=readthedocs
61+
:target: https://requires.io/github/pyTooling/pyTooling.TerminalUI/requirements/?branch=master
62+
.. |img-TerminalUI-rtd| image:: https://img.shields.io/readthedocs/pyTooling.terminalui?label=ReadTheDocs&logo=readthedocs
6363
:alt: Read the Docs
6464
:height: 22
6565
:target: https://pyTerminalUI.readthedocs.io/
66-
.. |img-pyTerminalUI-doclicense| image:: https://img.shields.io/badge/doc%20license-CC--BY%204.0-green?logo=readthedocs
66+
.. |img-TerminalUI-doclicense| image:: https://img.shields.io/badge/doc%20license-CC--BY%204.0-green?logo=readthedocs
6767
:alt: Documentation License
6868
:height: 22
6969
:target: LICENSE.md
70-
.. |img-pyTerminalUI-doc| image:: https://img.shields.io/badge/doc-read%20now%20%E2%9E%94-blueviolet?logo=readthedocs
70+
.. |img-TerminalUI-doc| image:: https://img.shields.io/badge/doc-read%20now%20%E2%9E%94-blueviolet?logo=readthedocs
7171
:alt: Documentation - Read Now!
7272
:height: 22
7373
:target: https://pyTerminalUI.readthedocs.io/
7474

75-
|img-pyTerminalUI-github| |img-pyTerminalUI-codelicense| |img-pyTerminalUI-tag| |img-pyTerminalUI-release| |img-pyTerminalUI-date| |img-pyTerminalUI-lib-dep| |br|
76-
|img-pyTerminalUI-gha-pipeline| |img-pyTerminalUI-codacy-quality| |img-pyTerminalUI-codacy-coverage| |img-pyTerminalUI-codecov-coverage| |img-pyTerminalUI-lib-rank| |br|
77-
|img-pyTerminalUI-pypi-tag| |img-pyTerminalUI-pypi-python| |img-pyTerminalUI-pypi-status| |img-pyTerminalUI-lib-status| |img-pyTerminalUI-req-status| |br|
78-
|img-pyTerminalUI-rtd| |img-pyTerminalUI-doclicense| |img-pyTerminalUI-doc|
75+
|img-TerminalUI-github| |img-TerminalUI-codelicense| |img-TerminalUI-tag| |img-TerminalUI-release| |img-TerminalUI-date| |img-TerminalUI-lib-dep| |br|
76+
|img-TerminalUI-gha-pipeline| |img-TerminalUI-codacy-quality| |img-TerminalUI-codacy-coverage| |img-TerminalUI-codecov-coverage| |img-TerminalUI-lib-rank| |br|
77+
|img-TerminalUI-pypi-tag| |img-TerminalUI-pypi-python| |img-TerminalUI-pypi-status| |img-TerminalUI-lib-status| |img-TerminalUI-req-status| |br|
78+
|img-TerminalUI-rtd| |img-TerminalUI-doclicense| |img-TerminalUI-doc|
7979

8080
.. code-block::
8181
@@ -86,32 +86,32 @@
8686
| .__/ \__, ||_|\___|_| |_| |_| |_|_|_| |_|\__,_|_|\___/|___|
8787
|_| |___/
8888
89-
pyTerminalUI Documentation
90-
##########################
89+
pyTooling.TerminalUI Documentation
90+
##################################
9191

9292
A set of helpers to implement a text user interface (TUI) in a terminal.
9393

9494
Introduction
9595
************
9696

97-
This package offers a :py:class:`pyTerminalUI.LineTerminal` implementation,
98-
derived from a basic :py:class:`pyTerminalUI.Terminal` class. It eases the
97+
This package offers a :py:class:`pyTooling.TerminalUI.LineTerminal` implementation,
98+
derived from a basic :py:class:`pyTooling.TerminalUI.Terminal` class. It eases the
9999
creation of simple terminal/console applications. It includes colored outputs
100100
based on
101101

102102
List of meta classes
103103
********************
104104

105-
* :py:class:`pyTerminalUI.Terminal`
106-
* :py:class:`pyTerminalUI.LineTerminal`
105+
* :py:class:`pyTooling.TerminalUI.Terminal`
106+
* :py:class:`pyTooling.TerminalUI.LineTerminal`
107107

108108

109109
Example
110110
*******
111111

112112
.. code-block:: Python
113113
114-
from pyTerminalUI import LineTerminal
114+
from pyTooling.TerminalUI import LineTerminal
115115
116116
class Application(LineTerminal):
117117
def __init__(self):
@@ -174,7 +174,7 @@ License
174174

175175

176176
.. toctree::
177-
:caption: pyTerminalUI Classes
177+
:caption: pyTooling.TerminalUI Classes
178178
:hidden:
179179

180180
Terminal

pyTooling/TerminalUI/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def printException(cls, ex):
185185
print(("{RED}" + ("-" * 80) + "{NOCOLOR}").format(**cls.Foreground))
186186
print_tb(ex.__traceback__)
187187
print(("{RED}" + ("-" * 80) + "{NOCOLOR}").format(**cls.Foreground))
188-
print(("{RED}Please report this bug at GitHub: https://github.com/Paebbels/pyTerminalUI/issues{NOCOLOR}").format(**cls.Foreground))
188+
print(("{RED}Please report this bug at GitHub: https://github.com/pyTooling/pyTooling.TerminalUI/issues{NOCOLOR}").format(**cls.Foreground))
189189
print(("{RED}" + ("-" * 80) + "{NOCOLOR}").format(**cls.Foreground))
190190

191191
cls.exit(1)
@@ -208,7 +208,7 @@ def printNotImplementedError(cls, ex):
208208
**cls.Foreground
209209
))
210210
print(("{RED}" + ("-" * 80) + "{NOCOLOR}").format(**cls.Foreground))
211-
print(("{RED}Please report this bug at GitHub: https://github.com/Paebbels/pyTerminalUI/issues{NOCOLOR}").format(**cls.Foreground))
211+
print(("{RED}Please report this bug at GitHub: https://github.com/pyTooling/pyTooling.TerminalUI/issues{NOCOLOR}").format(**cls.Foreground))
212212
print(("{RED}" + ("-" * 80) + "{NOCOLOR}").format(**cls.Foreground))
213213

214214
cls.exit(1)
@@ -220,7 +220,7 @@ def printExceptionBase(cls, ex):
220220
print("{RED}FATAL: A known but unhandled exception reached the topmost exception handler!{NOCOLOR}".format(**cls.Foreground))
221221
print("{RED}ERROR:{NOCOLOR} {message}".format(message=ex.message, **cls.Foreground))
222222
print(("{RED}" + ("-" * 80) + "{NOCOLOR}").format(**cls.Foreground))
223-
print(("{RED}Please report this bug at GitHub: https://github.com/Paebbels/pyTerminalUI/issues{NOCOLOR}").format(**cls.Foreground))
223+
print(("{RED}Please report this bug at GitHub: https://github.com/pyTooling/pyTooling.TerminalUI/issues{NOCOLOR}").format(**cls.Foreground))
224224
print(("{RED}" + ("-" * 80) + "{NOCOLOR}").format(**cls.Foreground))
225225

226226
cls.exit(1)

0 commit comments

Comments
 (0)