fmtr.tools 1.0.28__tar.gz → 1.0.30__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 fmtr.tools might be problematic. Click here for more details.
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/PKG-INFO +1 -1
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/config.py +1 -1
- fmtr.tools-1.0.30/fmtr/tools/version +1 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/version_tools.py +18 -3
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr.tools.egg-info/PKG-INFO +1 -1
- fmtr.tools-1.0.28/fmtr/tools/version +0 -1
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/LICENSE +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/README.md +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/__init__.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/ai_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/api_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/async_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/augmentation_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/caching_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/config_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/console_script_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/data_modelling_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/dataclass_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/datatype_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/docker_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/environment_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/function_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/google_api_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/hash_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/hfh_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/html_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/import_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/inspection_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/interface_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/iterator_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/json_fix_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/json_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/logging_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/merging_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/metric_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/name_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/netrc_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/openai_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/parallel_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/path_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/platform_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/process_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/profiling_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/random_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/semantic_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/spaces_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/string_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/tests/__init__.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/tests/conftest.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/tests/helpers.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/tests/test_datatype.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/tests/test_environment.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/tests/test_json.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/tests/test_path.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/tests/test_yaml.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/tokenization_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/unicode_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr/tools/yaml_tools.py +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr.tools.egg-info/SOURCES.txt +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr.tools.egg-info/dependency_links.txt +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr.tools.egg-info/entry_points.txt +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr.tools.egg-info/requires.txt +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/fmtr.tools.egg-info/top_level.txt +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/setup.cfg +0 -0
- {fmtr.tools-1.0.28 → fmtr.tools-1.0.30}/setup.py +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.0.30
|
|
@@ -14,19 +14,34 @@ except ImportError as exception:
|
|
|
14
14
|
def read() -> str:
|
|
15
15
|
"""
|
|
16
16
|
|
|
17
|
-
Read a generic version file from the calling package path.
|
|
17
|
+
Read a generic version file from the calling package path.
|
|
18
18
|
|
|
19
19
|
"""
|
|
20
|
-
|
|
20
|
+
|
|
21
21
|
from fmtr.tools.tools import ToolsConfig
|
|
22
|
-
|
|
22
|
+
|
|
23
23
|
path = get_call_path(offset=2).parent / 'version'
|
|
24
24
|
text = path.read_text(encoding=ToolsConfig.ENCODING).strip()
|
|
25
25
|
|
|
26
|
+
text = get(text)
|
|
27
|
+
|
|
28
|
+
return text
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
def get(text) -> str:
|
|
32
|
+
"""
|
|
33
|
+
|
|
34
|
+
Optionally add dev build info.
|
|
35
|
+
|
|
36
|
+
"""
|
|
37
|
+
import os
|
|
38
|
+
from fmtr.tools import datatype_tools
|
|
39
|
+
|
|
26
40
|
is_dev = datatype_tools.to_bool(os.getenv('FMTR_DEV', default=False))
|
|
27
41
|
|
|
28
42
|
if is_dev:
|
|
29
43
|
import datetime
|
|
44
|
+
from fmtr.tools.tools import ToolsConfig
|
|
30
45
|
|
|
31
46
|
timestamp = datetime.datetime.now(datetime.timezone.utc).strftime(ToolsConfig.DATETIME_SEMVER_BUILD_FORMAT)
|
|
32
47
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.0.28
|
|
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
|