fmtr.tools 1.0.36__tar.gz → 1.0.38__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.36 → fmtr.tools-1.0.38}/PKG-INFO +2 -1
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/__init__.py +5 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/string_tools.py +9 -0
- fmtr.tools-1.0.38/fmtr/tools/tabular_tools.py +3 -0
- fmtr.tools-1.0.38/fmtr/tools/version +1 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr.tools.egg-info/PKG-INFO +2 -1
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr.tools.egg-info/SOURCES.txt +1 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr.tools.egg-info/requires.txt +3 -0
- fmtr.tools-1.0.36/fmtr/tools/version +0 -1
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/LICENSE +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/README.md +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/ai_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/api_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/async_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/augmentation_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/caching_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/config.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/config_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/console_script_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/data_modelling_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/dataclass_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/datatype_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/docker_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/environment_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/function_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/google_api_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/hash_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/hfh_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/html_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/import_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/inspection_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/interface_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/iterator_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/json_fix_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/json_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/logging_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/merging_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/metric_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/name_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/netrc_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/openai_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/parallel_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/path_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/pdf_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/platform_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/process_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/profiling_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/random_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/semantic_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/spaces_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/tests/__init__.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/tests/conftest.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/tests/helpers.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/tests/test_datatype.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/tests/test_environment.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/tests/test_json.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/tests/test_path.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/tests/test_yaml.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/tokenization_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/unicode_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/version_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr/tools/yaml_tools.py +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr.tools.egg-info/dependency_links.txt +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr.tools.egg-info/entry_points.txt +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/fmtr.tools.egg-info/top_level.txt +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/setup.cfg +0 -0
- {fmtr.tools-1.0.36 → fmtr.tools-1.0.38}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: fmtr.tools
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.38
|
|
4
4
|
Summary: Collection of high-level tools to simplify everyday development tasks, with a focus on AI/ML
|
|
5
5
|
Home-page: https://github.com/fmtr/fmtr.tools
|
|
6
6
|
Author: Frontmatter
|
|
@@ -30,6 +30,7 @@ Provides-Extra: process
|
|
|
30
30
|
Provides-Extra: profiling
|
|
31
31
|
Provides-Extra: semantic
|
|
32
32
|
Provides-Extra: spaces
|
|
33
|
+
Provides-Extra: tabular
|
|
33
34
|
Provides-Extra: test
|
|
34
35
|
Provides-Extra: tokenization
|
|
35
36
|
Provides-Extra: unicode
|
|
@@ -148,6 +148,11 @@ try:
|
|
|
148
148
|
except ImportError as exception:
|
|
149
149
|
pdf = MissingExtraMockModule('pdf', exception)
|
|
150
150
|
|
|
151
|
+
try:
|
|
152
|
+
from fmtr.tools import tabular_tools as tabular
|
|
153
|
+
except ImportError as exception:
|
|
154
|
+
tabular = MissingExtraMockModule('tabular', exception)
|
|
155
|
+
|
|
151
156
|
|
|
152
157
|
__all__ = [
|
|
153
158
|
'config',
|
|
@@ -2,6 +2,7 @@ from collections import namedtuple
|
|
|
2
2
|
|
|
3
3
|
import re
|
|
4
4
|
from string import Formatter
|
|
5
|
+
from textwrap import dedent
|
|
5
6
|
from typing import List
|
|
6
7
|
|
|
7
8
|
from fmtr.tools.datatype_tools import is_none
|
|
@@ -147,6 +148,14 @@ class Mask:
|
|
|
147
148
|
return self
|
|
148
149
|
|
|
149
150
|
|
|
151
|
+
def to_mask(text):
|
|
152
|
+
"""
|
|
153
|
+
|
|
154
|
+
Fix multi-string indents.
|
|
155
|
+
|
|
156
|
+
"""
|
|
157
|
+
return dedent(text).strip()
|
|
158
|
+
|
|
150
159
|
if __name__ == '__main__':
|
|
151
160
|
import numpy as np
|
|
152
161
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.0.38
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: fmtr.tools
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.38
|
|
4
4
|
Summary: Collection of high-level tools to simplify everyday development tasks, with a focus on AI/ML
|
|
5
5
|
Home-page: https://github.com/fmtr/fmtr.tools
|
|
6
6
|
Author: Frontmatter
|
|
@@ -30,6 +30,7 @@ Provides-Extra: process
|
|
|
30
30
|
Provides-Extra: profiling
|
|
31
31
|
Provides-Extra: semantic
|
|
32
32
|
Provides-Extra: spaces
|
|
33
|
+
Provides-Extra: tabular
|
|
33
34
|
Provides-Extra: test
|
|
34
35
|
Provides-Extra: tokenization
|
|
35
36
|
Provides-Extra: unicode
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.0.36
|
|
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
|