fmtr.tools 1.0.38__py3-none-any.whl → 1.0.40__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.
Potentially problematic release.
This version of fmtr.tools might be problematic. Click here for more details.
- fmtr/tools/ai_tools/__init__.py +11 -0
- fmtr/tools/ai_tools/agentic_tools.py +11 -0
- fmtr/tools/{ai_tools.py → ai_tools/inference_tools.py} +2 -5
- fmtr/tools/version +1 -1
- {fmtr.tools-1.0.38.dist-info → fmtr.tools-1.0.40.dist-info}/METADATA +9 -1
- {fmtr.tools-1.0.38.dist-info → fmtr.tools-1.0.40.dist-info}/RECORD +10 -8
- {fmtr.tools-1.0.38.dist-info → fmtr.tools-1.0.40.dist-info}/LICENSE +0 -0
- {fmtr.tools-1.0.38.dist-info → fmtr.tools-1.0.40.dist-info}/WHEEL +0 -0
- {fmtr.tools-1.0.38.dist-info → fmtr.tools-1.0.40.dist-info}/entry_points.txt +0 -0
- {fmtr.tools-1.0.38.dist-info → fmtr.tools-1.0.40.dist-info}/top_level.txt +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)
|
|
@@ -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
|
fmtr/tools/version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.40
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: fmtr.tools
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.40
|
|
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
|
|
@@ -58,7 +58,9 @@ Requires-Dist: semver ; extra == 'logging'
|
|
|
58
58
|
Provides-Extra: merging
|
|
59
59
|
Requires-Dist: deepmerge ; extra == 'merging'
|
|
60
60
|
Provides-Extra: metric
|
|
61
|
+
Requires-Dist: openpyxl ; extra == 'metric'
|
|
61
62
|
Requires-Dist: pandas ; extra == 'metric'
|
|
63
|
+
Requires-Dist: tabulate ; extra == 'metric'
|
|
62
64
|
Provides-Extra: netrc
|
|
63
65
|
Requires-Dist: tinynetrc ; extra == 'netrc'
|
|
64
66
|
Provides-Extra: openai.api
|
|
@@ -77,12 +79,16 @@ Requires-Dist: semver ; extra == 'process'
|
|
|
77
79
|
Provides-Extra: profiling
|
|
78
80
|
Requires-Dist: contexttimer ; extra == 'profiling'
|
|
79
81
|
Provides-Extra: semantic
|
|
82
|
+
Requires-Dist: openpyxl ; extra == 'semantic'
|
|
80
83
|
Requires-Dist: pandas ; extra == 'semantic'
|
|
81
84
|
Requires-Dist: sentence-transformers ; extra == 'semantic'
|
|
85
|
+
Requires-Dist: tabulate ; extra == 'semantic'
|
|
82
86
|
Provides-Extra: spaces
|
|
83
87
|
Requires-Dist: tinynetrc ; extra == 'spaces'
|
|
84
88
|
Provides-Extra: tabular
|
|
89
|
+
Requires-Dist: openpyxl ; extra == 'tabular'
|
|
85
90
|
Requires-Dist: pandas ; extra == 'tabular'
|
|
91
|
+
Requires-Dist: tabulate ; extra == 'tabular'
|
|
86
92
|
Provides-Extra: test
|
|
87
93
|
Requires-Dist: Unidecode ; extra == 'test'
|
|
88
94
|
Requires-Dist: bokeh ; extra == 'test'
|
|
@@ -107,6 +113,7 @@ Requires-Dist: json-repair ; extra == 'test'
|
|
|
107
113
|
Requires-Dist: logfire ; extra == 'test'
|
|
108
114
|
Requires-Dist: ollama ; extra == 'test'
|
|
109
115
|
Requires-Dist: openai ; extra == 'test'
|
|
116
|
+
Requires-Dist: openpyxl ; extra == 'test'
|
|
110
117
|
Requires-Dist: pandas ; extra == 'test'
|
|
111
118
|
Requires-Dist: peft ; extra == 'test'
|
|
112
119
|
Requires-Dist: pydantic ; extra == 'test'
|
|
@@ -118,6 +125,7 @@ Requires-Dist: pyyaml ; extra == 'test'
|
|
|
118
125
|
Requires-Dist: semver ; extra == 'test'
|
|
119
126
|
Requires-Dist: sentence-transformers ; extra == 'test'
|
|
120
127
|
Requires-Dist: sre-yield ; extra == 'test'
|
|
128
|
+
Requires-Dist: tabulate ; extra == 'test'
|
|
121
129
|
Requires-Dist: tinynetrc ; extra == 'test'
|
|
122
130
|
Requires-Dist: tokenizers ; extra == 'test'
|
|
123
131
|
Requires-Dist: torchaudio ; extra == 'test'
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
fmtr/tools/__init__.py,sha256=KDtV85yhOj1vjNsJA0WElOaQnVFmkX70jX6XO9Dxasc,5336
|
|
2
|
-
fmtr/tools/ai_tools.py,sha256=hN7DzuATXfurCDHugaluUsbmF_PzeKu3BTc2WXhG59g,11806
|
|
3
2
|
fmtr/tools/api_tools.py,sha256=u5YEdKyKto8MKY8legULLU7xeJ7lY2Bgyaep_xa8iZg,2089
|
|
4
3
|
fmtr/tools/async_tools.py,sha256=ewz757WcveQJd-G5SVr2JDOQVbdLGecCgl-tsBGVZz4,284
|
|
5
4
|
fmtr/tools/augmentation_tools.py,sha256=-6ESbO4CDlKqVOV1J1V6qBeoBMzbFIinkDHRHnCBej0,55
|
|
@@ -43,9 +42,12 @@ fmtr/tools/tabular_tools.py,sha256=lJ3hk-uTIddt6eXE5uEpFK4pnP3hPzCL64PckFswMpU,4
|
|
|
43
42
|
fmtr/tools/tokenization_tools.py,sha256=9FP5vgPufWv0XA961eVKObFll0d_2mM0W3ut3rtZyeo,4329
|
|
44
43
|
fmtr/tools/tools.py,sha256=xnfUrOnrT4OxFYez6vV5tAhydzCICJFiGVnviiZDEQo,796
|
|
45
44
|
fmtr/tools/unicode_tools.py,sha256=yS_9wpu8ogNoiIL7s1G_8bETFFO_YQlo4LNPv1NLDeY,52
|
|
46
|
-
fmtr/tools/version,sha256=
|
|
45
|
+
fmtr/tools/version,sha256=GotUYjLRWrcavUYKHcbuoAYqgrQefl8MFctyfNIMEg8,6
|
|
47
46
|
fmtr/tools/version_tools.py,sha256=axzzHBS9V1n6YuSacsDKG3VfAvRqR8qr6aENCibR8vs,1248
|
|
48
47
|
fmtr/tools/yaml_tools.py,sha256=Ol43ZwbnSXGnn1K98Uxx61KPGSqfC4axE-X2q1LKMwk,349
|
|
48
|
+
fmtr/tools/ai_tools/__init__.py,sha256=4VO4uyO2ZBzLVB63DYAVsv1qMT9NX39B9P5YCaPrfto,373
|
|
49
|
+
fmtr/tools/ai_tools/agentic_tools.py,sha256=Hwd8GuW1979fkgu8Gc_yJH2zS2gmqnYAxtstEDBsOqY,154
|
|
50
|
+
fmtr/tools/ai_tools/inference_tools.py,sha256=yF8Oxph0L8W2CnK_o-MVztBhWVwBpgOEkx9_m3uqQww,11840
|
|
49
51
|
fmtr/tools/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
50
52
|
fmtr/tools/tests/conftest.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
51
53
|
fmtr/tools/tests/helpers.py,sha256=N5sf9YoZV93a7tf_UxpLeyQ9vp6Ec0teNIimFDvc054,1091
|
|
@@ -54,9 +56,9 @@ fmtr/tools/tests/test_environment.py,sha256=iHaiMQfECYZPkPKwfuIZV9uHuWe3aE-p_dN_
|
|
|
54
56
|
fmtr/tools/tests/test_json.py,sha256=IeSP4ziPvRcmS8kq7k9tHonC9rN5YYq9GSNT2ul6Msk,287
|
|
55
57
|
fmtr/tools/tests/test_path.py,sha256=AkZQa6_8BQ-VaCyL_J-iKmdf2ZaM-xFYR37Kun3k4_g,2188
|
|
56
58
|
fmtr/tools/tests/test_yaml.py,sha256=jc0TwwKu9eC0LvFGNMERdgBue591xwLxYXFbtsRwXVM,287
|
|
57
|
-
fmtr.tools-1.0.
|
|
58
|
-
fmtr.tools-1.0.
|
|
59
|
-
fmtr.tools-1.0.
|
|
60
|
-
fmtr.tools-1.0.
|
|
61
|
-
fmtr.tools-1.0.
|
|
62
|
-
fmtr.tools-1.0.
|
|
59
|
+
fmtr.tools-1.0.40.dist-info/LICENSE,sha256=FW9aa6vVN5IjRQWLT43hs4_koYSmpcbIovlKeAJ0_cI,10757
|
|
60
|
+
fmtr.tools-1.0.40.dist-info/METADATA,sha256=L086zjSWUjZksNxMyzNc0QkZ99NpQ6tasGGCrxlLlyQ,13859
|
|
61
|
+
fmtr.tools-1.0.40.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
62
|
+
fmtr.tools-1.0.40.dist-info/entry_points.txt,sha256=CEStVkwJ1mTFvhN1WV5RdW83SkNW1d5Syj-KZ6A19ng,72
|
|
63
|
+
fmtr.tools-1.0.40.dist-info/top_level.txt,sha256=t5341a8ii3n4RFizwTeXGmcq_pf4GqL1h9ylE5LIWRk,12
|
|
64
|
+
fmtr.tools-1.0.40.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|