bluer-options 5.189.1__tar.gz → 5.194.1__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.
Potentially problematic release.
This version of bluer-options might be problematic. Click here for more details.
- {bluer_options-5.189.1/bluer_options.egg-info → bluer_options-5.194.1}/PKG-INFO +1 -1
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/__init__.py +1 -1
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/logger/__init__.py +1 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/logger/config.py +18 -3
- {bluer_options-5.189.1 → bluer_options-5.194.1/bluer_options.egg-info}/PKG-INFO +1 -1
- {bluer_options-5.189.1 → bluer_options-5.194.1}/LICENSE +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/MANIFEST.in +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/README.md +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/alias.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/assert.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/bluer_options.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/bool.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/browse.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/code.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/env/backup.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/env/dot/cat.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/env/dot/cp.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/env/dot/edit.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/env/dot/load.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/env/dot/seed.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/env/dot.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/env.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/eval.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/generic_task.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/help.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/install.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/list.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/logging.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/open.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/options.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/pause.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/plugins.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/pylint.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/pytest.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/repeat.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/seed.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/sleep.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/source.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/string.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/terminal.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/test.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/wait.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/.bash/watch.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/__main__.py +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/assets/example1.sh +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/config.env +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/env/__init__.py +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/env/functions.py +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/help/__init__.py +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/help/__main__.py +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/help/functions.py +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/help/parsing.py +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/host/__init__.py +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/host/__main__.py +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/host/functions.py +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/list/__init__.py +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/list/__main__.py +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/logger/__main__.py +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/logger/watch.py +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/options/__init__.py +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/options/__main__.py +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/options/classes.py +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/string/__init__.py +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/string/__main__.py +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/string/constants.py +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/string/functions.py +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/terminal/__init__.py +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/terminal/__main__.py +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/terminal/functions.py +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/timer.py +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/timing/__init__.py +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/timing/classes.py +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/timing/elapsed_timer.py +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options/urls.py +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options.egg-info/SOURCES.txt +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options.egg-info/dependency_links.txt +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options.egg-info/requires.txt +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/bluer_options.egg-info/top_level.txt +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/pyproject.toml +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/requirements.txt +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/setup.cfg +0 -0
- {bluer_options-5.189.1 → bluer_options-5.194.1}/setup.py +0 -0
|
@@ -48,16 +48,31 @@ def crash_report(description):
|
|
|
48
48
|
logger.error(f"crash: {description}", exc_info=1)
|
|
49
49
|
|
|
50
50
|
|
|
51
|
+
def shorten_text(
|
|
52
|
+
text: str,
|
|
53
|
+
max_length: int = 100,
|
|
54
|
+
) -> str:
|
|
55
|
+
return (
|
|
56
|
+
"{}...".format(
|
|
57
|
+
text[: max_length - 3],
|
|
58
|
+
)
|
|
59
|
+
if len(text) > max_length
|
|
60
|
+
else text
|
|
61
|
+
)
|
|
62
|
+
|
|
63
|
+
|
|
51
64
|
def log_long_text(
|
|
52
65
|
logger: Logger,
|
|
53
66
|
text: str,
|
|
54
67
|
max_length: int = 100,
|
|
55
68
|
):
|
|
56
69
|
logger.info(
|
|
57
|
-
"{:,} char(s): {}
|
|
70
|
+
"{:,} char(s): {}".format(
|
|
58
71
|
len(text),
|
|
59
|
-
|
|
60
|
-
|
|
72
|
+
shorten_text(
|
|
73
|
+
text=text,
|
|
74
|
+
max_length=max_length,
|
|
75
|
+
),
|
|
61
76
|
)
|
|
62
77
|
)
|
|
63
78
|
|
|
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
|
|
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
|
|
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
|
|
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
|