fmtr.tools 1.0.46__tar.gz → 1.0.48__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.46 → fmtr.tools-1.0.48}/PKG-INFO +2 -1
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/__init__.py +5 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/config.py +3 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/data_modelling_tools.py +3 -0
- fmtr.tools-1.0.48/fmtr/tools/debugging_tools.py +13 -0
- fmtr.tools-1.0.48/fmtr/tools/version +1 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr.tools.egg-info/PKG-INFO +2 -1
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr.tools.egg-info/SOURCES.txt +1 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr.tools.egg-info/requires.txt +4 -0
- fmtr.tools-1.0.46/fmtr/tools/version +0 -1
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/LICENSE +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/README.md +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/ai_tools/__init__.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/ai_tools/agentic_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/ai_tools/inference_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/api_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/async_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/augmentation_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/caching_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/config_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/console_script_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/dataclass_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/datatype_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/docker_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/environment_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/function_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/google_api_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/hash_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/hfh_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/html_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/import_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/inspection_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/interface_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/iterator_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/json_fix_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/json_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/logging_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/merging_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/metric_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/name_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/netrc_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/openai_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/parallel_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/path_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/pdf_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/platform_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/process_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/profiling_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/random_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/semantic_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/spaces_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/string_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/tabular_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/tests/__init__.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/tests/conftest.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/tests/helpers.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/tests/test_datatype.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/tests/test_environment.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/tests/test_json.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/tests/test_path.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/tests/test_yaml.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/tokenization_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/unicode_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/version_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr/tools/yaml_tools.py +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr.tools.egg-info/dependency_links.txt +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr.tools.egg-info/entry_points.txt +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/fmtr.tools.egg-info/top_level.txt +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/setup.cfg +0 -0
- {fmtr.tools-1.0.46 → fmtr.tools-1.0.48}/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.48
|
|
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
|
|
@@ -12,6 +12,7 @@ Provides-Extra: ai.client
|
|
|
12
12
|
Provides-Extra: api
|
|
13
13
|
Provides-Extra: augmentation
|
|
14
14
|
Provides-Extra: caching
|
|
15
|
+
Provides-Extra: debug
|
|
15
16
|
Provides-Extra: dm
|
|
16
17
|
Provides-Extra: docker.api
|
|
17
18
|
Provides-Extra: google.api
|
|
@@ -153,6 +153,11 @@ try:
|
|
|
153
153
|
except ImportError as exception:
|
|
154
154
|
tabular = MissingExtraMockModule('tabular', exception)
|
|
155
155
|
|
|
156
|
+
try:
|
|
157
|
+
from fmtr.tools import debugging_tools as debug
|
|
158
|
+
except ImportError as exception:
|
|
159
|
+
debug = MissingExtraMockModule('debug', exception)
|
|
160
|
+
|
|
156
161
|
|
|
157
162
|
__all__ = [
|
|
158
163
|
'config',
|
|
@@ -18,6 +18,8 @@ def to_df(*objs, name_value='value'):
|
|
|
18
18
|
rows.append(row)
|
|
19
19
|
|
|
20
20
|
df = tabular.DataFrame(rows)
|
|
21
|
+
if 'id' in df.columns:
|
|
22
|
+
df.set_index('id', inplace=True, drop=True)
|
|
21
23
|
return df
|
|
22
24
|
|
|
23
25
|
|
|
@@ -62,6 +64,7 @@ class Base(BaseModel, MixinFromJson):
|
|
|
62
64
|
|
|
63
65
|
df = to_df(*objs, name_value=name_value)
|
|
64
66
|
df['id'] = list(self.model_fields.keys())
|
|
67
|
+
df = df.set_index('id', drop=True)
|
|
65
68
|
return df
|
|
66
69
|
|
|
67
70
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import pydevd_pycharm
|
|
2
|
+
|
|
3
|
+
from fmtr.tools import environment_tools
|
|
4
|
+
from fmtr.tools.config import ToolsConfig
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
def trace(host=environment_tools.get(ToolsConfig.FMTR_DEBUG_HOST_KEY, ToolsConfig.FMTR_DEBUG_HOST), **kwargs):
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
Connect to PyCharm debugger
|
|
11
|
+
|
|
12
|
+
"""
|
|
13
|
+
pydevd_pycharm.settrace(host, port=5679, stdoutToServer=True, stderrToServer=True)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.0.48
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: fmtr.tools
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.48
|
|
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
|
|
@@ -12,6 +12,7 @@ Provides-Extra: ai.client
|
|
|
12
12
|
Provides-Extra: api
|
|
13
13
|
Provides-Extra: augmentation
|
|
14
14
|
Provides-Extra: caching
|
|
15
|
+
Provides-Extra: debug
|
|
15
16
|
Provides-Extra: dm
|
|
16
17
|
Provides-Extra: docker.api
|
|
17
18
|
Provides-Extra: google.api
|
|
@@ -28,6 +28,9 @@ sre_yield
|
|
|
28
28
|
[caching]
|
|
29
29
|
diskcache
|
|
30
30
|
|
|
31
|
+
[debug]
|
|
32
|
+
pydevd-pycharm
|
|
33
|
+
|
|
31
34
|
[dm]
|
|
32
35
|
pydantic
|
|
33
36
|
|
|
@@ -133,6 +136,7 @@ pandas
|
|
|
133
136
|
peft
|
|
134
137
|
pydantic
|
|
135
138
|
pydantic-ai[logfire,openai]
|
|
139
|
+
pydevd-pycharm
|
|
136
140
|
pymupdf
|
|
137
141
|
pymupdf4llm
|
|
138
142
|
pytest-cov
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.0.46
|
|
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
|