ae-base 0.3.46__py3-none-any.whl → 0.3.47__py3-none-any.whl

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.
ae/base.py CHANGED
@@ -173,7 +173,7 @@ from types import ModuleType
173
173
  from typing import Any, Callable, Dict, Generator, Iterable, List, Optional, Tuple, Union, cast
174
174
 
175
175
 
176
- __version__ = '0.3.46'
176
+ __version__ = '0.3.47'
177
177
 
178
178
 
179
179
  os_path_abspath = os.path.abspath
@@ -283,7 +283,7 @@ def app_name_guess() -> str:
283
283
  app_name = os_path_basename(path)
284
284
  if app_name.lower() in unspecified_app_names:
285
285
  app_name = "unguessable"
286
- return app_name
286
+ return defuse(app_name)
287
287
 
288
288
 
289
289
  def build_config_variable_values(*names_defaults: Tuple[str, Any], section: str = 'app') -> Tuple[Any, ...]:
@@ -364,7 +364,7 @@ ASCII_UNICODE = (
364
364
  ('^', '^'), # U+FF3E: Fullwidth Circumflex Accent
365
365
  (',', '﹐'), # U+FE50: Small Comma
366
366
  (' ', '␣'), # U+2423: Open Box; more see underneath and https://unicode-explorer.com/articles/space-characters:
367
- # ' ' U+00A0: No-Break Space (NBSP); '?¿?' U+1680 Ogham Space Mark; ' ' U+2000 En Quad;
367
+ # ' ' U+00A0: No-Break Space (NBSP); '' U+1680 Ogham Space Mark; ' ' U+2000 En Quad;
368
368
  # ' ' U+2001 Em Quad; ' ' U+2002 En Space; ' ' U+2003 Em Space; ' ' U+2004 Three-Per-Em
369
369
  # ' ' U+2005 Four-Per-Em; ' ' U+2006 Six-Per-Em; ' ' U+2007 Figure Space;
370
370
  # ' ' U+2008 Punctuation Space; ' ' U+2009 Thin; ' ' U+200A Hair Space;
@@ -758,7 +758,7 @@ def os_host_name() -> str:
758
758
 
759
759
  :return: machine name string.
760
760
  """
761
- return platform.node()
761
+ return defuse(platform.node()) or "undeterminableHostName"
762
762
 
763
763
 
764
764
  def os_local_ip() -> str:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ae_base
3
- Version: 0.3.46
3
+ Version: 0.3.47
4
4
  Summary: ae namespace module portion base: basic constants, helper functions and context manager
5
5
  Home-page: https://gitlab.com/ae-group/ae_base
6
6
  Author: AndiEcker
@@ -56,17 +56,17 @@ Requires-Dist: twine; extra == "tests"
56
56
 
57
57
  <!-- THIS FILE IS EXCLUSIVELY MAINTAINED by the project ae.ae V0.3.95 -->
58
58
  <!-- THIS FILE IS EXCLUSIVELY MAINTAINED by the project aedev.tpl_namespace_root V0.3.14 -->
59
- # base 0.3.46
59
+ # base 0.3.47
60
60
 
61
61
  [![GitLab develop](https://img.shields.io/gitlab/pipeline/ae-group/ae_base/develop?logo=python)](
62
62
  https://gitlab.com/ae-group/ae_base)
63
63
  [![LatestPyPIrelease](
64
- https://img.shields.io/gitlab/pipeline/ae-group/ae_base/release0.3.45?logo=python)](
65
- https://gitlab.com/ae-group/ae_base/-/tree/release0.3.45)
64
+ https://img.shields.io/gitlab/pipeline/ae-group/ae_base/release0.3.46?logo=python)](
65
+ https://gitlab.com/ae-group/ae_base/-/tree/release0.3.46)
66
66
  [![PyPIVersions](https://img.shields.io/pypi/v/ae_base)](
67
67
  https://pypi.org/project/ae-base/#history)
68
68
 
69
- >ae_base module 0.3.46.
69
+ >ae_base module 0.3.47.
70
70
 
71
71
  [![Coverage](https://ae-group.gitlab.io/ae_base/coverage.svg)](
72
72
  https://ae-group.gitlab.io/ae_base/coverage/index.html)
@@ -0,0 +1,7 @@
1
+ ae/base.py,sha256=MYA5vcALiaubDxxDLDUywjXwMldKpijjN6LPoixWIto,63016
2
+ ae_base-0.3.47.dist-info/LICENSE.md,sha256=uoIIfORuk4V8ZeNh6SN0EUhiU79RC-indIMFqePKVhY,35002
3
+ ae_base-0.3.47.dist-info/METADATA,sha256=TF_qiiV2cvZ1dHeZrCSV1M_QKYgvTv-aKzlL9nxttYQ,5382
4
+ ae_base-0.3.47.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
5
+ ae_base-0.3.47.dist-info/top_level.txt,sha256=vUdgAslSmhZLXWU48fm8AG2BjVnkOWLco8rzuW-5zY0,3
6
+ ae_base-0.3.47.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
7
+ ae_base-0.3.47.dist-info/RECORD,,
@@ -1,7 +0,0 @@
1
- ae/base.py,sha256=Hx4PBK--rmdM7lclaq93bTTvP6fbtyZDu7juT4DkHRQ,62973
2
- ae_base-0.3.46.dist-info/LICENSE.md,sha256=uoIIfORuk4V8ZeNh6SN0EUhiU79RC-indIMFqePKVhY,35002
3
- ae_base-0.3.46.dist-info/METADATA,sha256=ChOaoCeYPuX4vTx6k8W8odqE5RAPGmbwqxtDVWJfDsQ,5382
4
- ae_base-0.3.46.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
5
- ae_base-0.3.46.dist-info/top_level.txt,sha256=vUdgAslSmhZLXWU48fm8AG2BjVnkOWLco8rzuW-5zY0,3
6
- ae_base-0.3.46.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
7
- ae_base-0.3.46.dist-info/RECORD,,