stouputils 1.2.3__tar.gz → 1.2.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {stouputils-1.2.3 → stouputils-1.2.4}/PKG-INFO +1 -1
- {stouputils-1.2.3 → stouputils-1.2.4}/pyproject.toml +1 -1
- {stouputils-1.2.3 → stouputils-1.2.4}/.gitignore +0 -0
- {stouputils-1.2.3 → stouputils-1.2.4}/LICENSE +0 -0
- {stouputils-1.2.3 → stouputils-1.2.4}/README.md +0 -0
- {stouputils-1.2.3 → stouputils-1.2.4}/stouputils/__init__.py +0 -0
- {stouputils-1.2.3 → stouputils-1.2.4}/stouputils/all_doctests.py +0 -0
- {stouputils-1.2.3 → stouputils-1.2.4}/stouputils/applications/__init__.py +0 -0
- {stouputils-1.2.3 → stouputils-1.2.4}/stouputils/applications/automatic_docs.py +0 -0
- {stouputils-1.2.3 → stouputils-1.2.4}/stouputils/archive.py +0 -0
- {stouputils-1.2.3 → stouputils-1.2.4}/stouputils/backup.py +0 -0
- {stouputils-1.2.3 → stouputils-1.2.4}/stouputils/collections.py +0 -0
- {stouputils-1.2.3 → stouputils-1.2.4}/stouputils/continuous_delivery/__init__.py +0 -0
- {stouputils-1.2.3 → stouputils-1.2.4}/stouputils/continuous_delivery/cd_utils.py +0 -0
- {stouputils-1.2.3 → stouputils-1.2.4}/stouputils/continuous_delivery/github.py +0 -0
- {stouputils-1.2.3 → stouputils-1.2.4}/stouputils/continuous_delivery/pypi.py +0 -0
- {stouputils-1.2.3 → stouputils-1.2.4}/stouputils/continuous_delivery/pyproject.py +0 -0
- {stouputils-1.2.3 → stouputils-1.2.4}/stouputils/ctx.py +0 -0
- {stouputils-1.2.3 → stouputils-1.2.4}/stouputils/decorators.py +0 -0
- {stouputils-1.2.3 → stouputils-1.2.4}/stouputils/dont_look/zip_file_override.py +0 -0
- {stouputils-1.2.3 → stouputils-1.2.4}/stouputils/io.py +0 -0
- {stouputils-1.2.3 → stouputils-1.2.4}/stouputils/parallel.py +0 -0
- {stouputils-1.2.3 → stouputils-1.2.4}/stouputils/print.py +4 -4
- {stouputils-1.2.3 → stouputils-1.2.4}/stouputils/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: stouputils
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.4
|
|
4
4
|
Summary: Stouputils is a collection of utility modules designed to simplify and enhance the development process. It includes a range of tools for tasks such as execution of doctests, display utilities, decorators, as well as context managers, and many more.
|
|
5
5
|
Project-URL: Homepage, https://github.com/Stoupy51/stouputils
|
|
6
6
|
Project-URL: Issues, https://github.com/Stoupy51/stouputils/issues
|
|
@@ -5,7 +5,7 @@ build-backend = "hatchling.build"
|
|
|
5
5
|
|
|
6
6
|
[project]
|
|
7
7
|
name = "stouputils"
|
|
8
|
-
version = "1.2.
|
|
8
|
+
version = "1.2.4"
|
|
9
9
|
description = "Stouputils is a collection of utility modules designed to simplify and enhance the development process. It includes a range of tools for tasks such as execution of doctests, display utilities, decorators, as well as context managers, and many more."
|
|
10
10
|
readme = "README.md"
|
|
11
11
|
requires-python = ">=3.10"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -83,19 +83,19 @@ def info(*values: Any, color: str = GREEN, text: str = "INFO ", prefix: str = ""
|
|
|
83
83
|
print(remove_colors(message), *(remove_colors(str(v)) for v in values), file=log_file, **print_kwargs)
|
|
84
84
|
|
|
85
85
|
def debug(*values: Any, **print_kwargs: Any) -> None:
|
|
86
|
-
""" Print a debug message looking like "[DEBUG HH:MM:SS] message" in
|
|
86
|
+
""" Print a debug message looking like "[DEBUG HH:MM:SS] message" in cyan by default. """
|
|
87
87
|
if "text" not in print_kwargs:
|
|
88
88
|
print_kwargs["text"] = "DEBUG"
|
|
89
89
|
if "color" not in print_kwargs:
|
|
90
|
-
print_kwargs["color"] =
|
|
90
|
+
print_kwargs["color"] = CYAN
|
|
91
91
|
info(*values, **print_kwargs)
|
|
92
92
|
|
|
93
93
|
def alt_debug(*values: Any, **print_kwargs: Any) -> None:
|
|
94
|
-
""" Print a debug message looking like "[DEBUG HH:MM:SS] message" in
|
|
94
|
+
""" Print a debug message looking like "[DEBUG HH:MM:SS] message" in blue by default. """
|
|
95
95
|
if "text" not in print_kwargs:
|
|
96
96
|
print_kwargs["text"] = "DEBUG"
|
|
97
97
|
if "color" not in print_kwargs:
|
|
98
|
-
print_kwargs["color"] =
|
|
98
|
+
print_kwargs["color"] = BLUE
|
|
99
99
|
info(*values, **print_kwargs)
|
|
100
100
|
|
|
101
101
|
def suggestion(*values: Any, **print_kwargs: Any) -> None:
|
|
File without changes
|