fmtr.tools 1.0.38__tar.gz → 1.0.40__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.38 → fmtr.tools-1.0.40}/PKG-INFO +1 -1
- fmtr.tools-1.0.40/fmtr/tools/ai_tools/__init__.py +11 -0
- fmtr.tools-1.0.40/fmtr/tools/ai_tools/agentic_tools.py +11 -0
- fmtr.tools-1.0.38/fmtr/tools/ai_tools.py → fmtr.tools-1.0.40/fmtr/tools/ai_tools/inference_tools.py +2 -5
- fmtr.tools-1.0.40/fmtr/tools/version +1 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr.tools.egg-info/PKG-INFO +1 -1
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr.tools.egg-info/SOURCES.txt +3 -1
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr.tools.egg-info/requires.txt +8 -0
- fmtr.tools-1.0.38/fmtr/tools/version +0 -1
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/LICENSE +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/README.md +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/__init__.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/api_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/async_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/augmentation_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/caching_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/config.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/config_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/console_script_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/data_modelling_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/dataclass_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/datatype_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/docker_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/environment_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/function_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/google_api_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/hash_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/hfh_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/html_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/import_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/inspection_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/interface_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/iterator_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/json_fix_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/json_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/logging_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/merging_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/metric_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/name_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/netrc_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/openai_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/parallel_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/path_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/pdf_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/platform_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/process_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/profiling_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/random_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/semantic_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/spaces_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/string_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/tabular_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/tests/__init__.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/tests/conftest.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/tests/helpers.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/tests/test_datatype.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/tests/test_environment.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/tests/test_json.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/tests/test_path.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/tests/test_yaml.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/tokenization_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/unicode_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/version_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr/tools/yaml_tools.py +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr.tools.egg-info/dependency_links.txt +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr.tools.egg-info/entry_points.txt +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/fmtr.tools.egg-info/top_level.txt +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/setup.cfg +0 -0
- {fmtr.tools-1.0.38 → fmtr.tools-1.0.40}/setup.py +0 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
from fmtr.tools.import_tools import MissingExtraMockModule
|
|
2
|
+
|
|
3
|
+
try:
|
|
4
|
+
from fmtr.tools.ai_tools import inference_tools as infer
|
|
5
|
+
except ImportError as exception:
|
|
6
|
+
infer = MissingExtraMockModule('infer', exception)
|
|
7
|
+
|
|
8
|
+
try:
|
|
9
|
+
from fmtr.tools.ai_tools import agentic_tools as agentic
|
|
10
|
+
except ImportError as exception:
|
|
11
|
+
agentic = MissingExtraMockModule('agentic', exception)
|
fmtr.tools-1.0.38/fmtr/tools/ai_tools.py → fmtr.tools-1.0.40/fmtr/tools/ai_tools/inference_tools.py
RENAMED
|
@@ -365,7 +365,7 @@ class ToolsCall(data_modelling_tools.Root):
|
|
|
365
365
|
def tst():
|
|
366
366
|
"""
|
|
367
367
|
|
|
368
|
-
Test with a large number of small input/outputs.
|
|
368
|
+
Test with a large number of small input/outputs. TODO: Unit tests.
|
|
369
369
|
|
|
370
370
|
"""
|
|
371
371
|
mask = 'Write out the following number as words: {}. Just the text please, no explanation or alternatives'
|
|
@@ -382,7 +382,7 @@ def tst():
|
|
|
382
382
|
def tst_tool():
|
|
383
383
|
"""
|
|
384
384
|
|
|
385
|
-
Test Tool usage
|
|
385
|
+
Test Tool usage: TODO: Unit tests.
|
|
386
386
|
|
|
387
387
|
"""
|
|
388
388
|
|
|
@@ -411,9 +411,6 @@ def tst_tool():
|
|
|
411
411
|
print(obj)
|
|
412
412
|
|
|
413
413
|
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
414
|
if __name__ == '__main__':
|
|
418
415
|
texts = tst_tool()
|
|
419
416
|
texts
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.0.40
|
|
@@ -2,7 +2,6 @@ LICENSE
|
|
|
2
2
|
README.md
|
|
3
3
|
setup.py
|
|
4
4
|
./fmtr/tools/__init__.py
|
|
5
|
-
./fmtr/tools/ai_tools.py
|
|
6
5
|
./fmtr/tools/api_tools.py
|
|
7
6
|
./fmtr/tools/async_tools.py
|
|
8
7
|
./fmtr/tools/augmentation_tools.py
|
|
@@ -49,6 +48,9 @@ setup.py
|
|
|
49
48
|
./fmtr/tools/version
|
|
50
49
|
./fmtr/tools/version_tools.py
|
|
51
50
|
./fmtr/tools/yaml_tools.py
|
|
51
|
+
./fmtr/tools/ai_tools/__init__.py
|
|
52
|
+
./fmtr/tools/ai_tools/agentic_tools.py
|
|
53
|
+
./fmtr/tools/ai_tools/inference_tools.py
|
|
52
54
|
./fmtr/tools/tests/__init__.py
|
|
53
55
|
./fmtr/tools/tests/conftest.py
|
|
54
56
|
./fmtr/tools/tests/helpers.py
|
|
@@ -63,7 +63,9 @@ semver
|
|
|
63
63
|
deepmerge
|
|
64
64
|
|
|
65
65
|
[metric]
|
|
66
|
+
openpyxl
|
|
66
67
|
pandas
|
|
68
|
+
tabulate
|
|
67
69
|
|
|
68
70
|
[netrc]
|
|
69
71
|
tinynetrc
|
|
@@ -89,14 +91,18 @@ semver
|
|
|
89
91
|
contexttimer
|
|
90
92
|
|
|
91
93
|
[semantic]
|
|
94
|
+
openpyxl
|
|
92
95
|
pandas
|
|
93
96
|
sentence_transformers
|
|
97
|
+
tabulate
|
|
94
98
|
|
|
95
99
|
[spaces]
|
|
96
100
|
tinynetrc
|
|
97
101
|
|
|
98
102
|
[tabular]
|
|
103
|
+
openpyxl
|
|
99
104
|
pandas
|
|
105
|
+
tabulate
|
|
100
106
|
|
|
101
107
|
[test]
|
|
102
108
|
Unidecode
|
|
@@ -122,6 +128,7 @@ json_repair
|
|
|
122
128
|
logfire
|
|
123
129
|
ollama
|
|
124
130
|
openai
|
|
131
|
+
openpyxl
|
|
125
132
|
pandas
|
|
126
133
|
peft
|
|
127
134
|
pydantic
|
|
@@ -133,6 +140,7 @@ pyyaml
|
|
|
133
140
|
semver
|
|
134
141
|
sentence_transformers
|
|
135
142
|
sre_yield
|
|
143
|
+
tabulate
|
|
136
144
|
tinynetrc
|
|
137
145
|
tokenizers
|
|
138
146
|
torchaudio
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.0.38
|
|
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
|