fmtr.tools 1.1.30__py3-none-any.whl → 1.2.1__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.

File without changes
@@ -0,0 +1,3 @@
1
+ def main():
2
+ from fmtr import tools
3
+ tools.hfh.main()
@@ -0,0 +1,2 @@
1
+ def main():
2
+ print('Ran test entrypoint.')
@@ -0,0 +1,8 @@
1
+ def main():
2
+ """
3
+
4
+ Test debugger connection
5
+
6
+ """
7
+ from fmtr.tools import debug
8
+ debug.trace(is_debug=True)
@@ -0,0 +1,8 @@
1
+ def main():
2
+ """
3
+
4
+ Start debugger
5
+
6
+ """
7
+ from fmtr.tools import debug
8
+ debug.debug_shell()
fmtr/tools/version CHANGED
@@ -1 +1 @@
1
- 1.1.30
1
+ 1.2.1
@@ -1,68 +1,15 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fmtr.tools
3
- Version: 1.1.30
3
+ Version: 1.2.1
4
4
  Summary: Collection of high-level tools to simplify everyday development tasks, with a focus on AI/ML
5
- Home-page: https://github.com/fmtr/fmtr.tools
5
+ Home-page: https://github.com/fmtr/tools
6
6
  Author: Frontmatter
7
7
  Author-email: innovative.fowler@mask.pro.fmtr.dev
8
8
  License: Copyright © 2025 Frontmatter. All rights reserved.
9
9
  Description-Content-Type: text/markdown
10
10
  License-File: LICENSE
11
11
  Provides-Extra: test
12
- Requires-Dist: pydantic-ai[logfire,openai]; extra == "test"
13
- Requires-Dist: distributed; extra == "test"
14
- Requires-Dist: torchvision; extra == "test"
15
- Requires-Dist: openpyxl; extra == "test"
16
- Requires-Dist: pyyaml; extra == "test"
17
- Requires-Dist: pydantic; extra == "test"
18
- Requires-Dist: filetype; extra == "test"
19
- Requires-Dist: yamlscript; extra == "test"
20
- Requires-Dist: dask[bag]; extra == "test"
21
- Requires-Dist: dnspython[doh]; extra == "test"
22
- Requires-Dist: tabulate; extra == "test"
23
- Requires-Dist: appdirs; extra == "test"
24
- Requires-Dist: logfire; extra == "test"
25
- Requires-Dist: pymupdf4llm; extra == "test"
26
- Requires-Dist: peft; extra == "test"
27
- Requires-Dist: faker; extra == "test"
28
- Requires-Dist: huggingface_hub; extra == "test"
29
- Requires-Dist: pandas; extra == "test"
30
- Requires-Dist: sentence_transformers; extra == "test"
31
- Requires-Dist: contexttimer; extra == "test"
32
- Requires-Dist: fastapi; extra == "test"
33
- Requires-Dist: torchaudio; extra == "test"
34
- Requires-Dist: ollama; extra == "test"
35
- Requires-Dist: diskcache; extra == "test"
36
- Requires-Dist: httpx; extra == "test"
37
- Requires-Dist: deepmerge; extra == "test"
38
- Requires-Dist: pymupdf; extra == "test"
39
- Requires-Dist: transformers[sentencepiece]; extra == "test"
40
- Requires-Dist: pydevd-pycharm; extra == "test"
41
12
  Requires-Dist: pytest-cov; extra == "test"
42
- Requires-Dist: google-api-python-client; extra == "test"
43
- Requires-Dist: sre_yield; extra == "test"
44
- Requires-Dist: pydantic-settings; extra == "test"
45
- Requires-Dist: setuptools; extra == "test"
46
- Requires-Dist: json_repair; extra == "test"
47
- Requires-Dist: google-auth-oauthlib; extra == "test"
48
- Requires-Dist: regex; extra == "test"
49
- Requires-Dist: docker; extra == "test"
50
- Requires-Dist: tinynetrc; extra == "test"
51
- Requires-Dist: html2text; extra == "test"
52
- Requires-Dist: flet[all]; extra == "test"
53
- Requires-Dist: semver; extra == "test"
54
- Requires-Dist: tokenizers; extra == "test"
55
- Requires-Dist: bokeh; extra == "test"
56
- Requires-Dist: openai; extra == "test"
57
- Requires-Dist: uvicorn[standard]; extra == "test"
58
- Requires-Dist: flet-video; extra == "test"
59
- Requires-Dist: logfire[fastapi]; extra == "test"
60
- Requires-Dist: Unidecode; extra == "test"
61
- Requires-Dist: google-auth-httplib2; extra == "test"
62
- Requires-Dist: logfire[httpx]; extra == "test"
63
- Requires-Dist: google-auth; extra == "test"
64
- Requires-Dist: httpx_retries; extra == "test"
65
- Requires-Dist: flet-webview; extra == "test"
66
13
  Provides-Extra: yaml
67
14
  Requires-Dist: yamlscript; extra == "yaml"
68
15
  Requires-Dist: pyyaml; extra == "yaml"
@@ -175,6 +122,61 @@ Requires-Dist: semver; extra == "http"
175
122
  Requires-Dist: logfire[httpx]; extra == "http"
176
123
  Provides-Extra: setup
177
124
  Requires-Dist: setuptools; extra == "setup"
125
+ Provides-Extra: all
126
+ Requires-Dist: logfire[fastapi]; extra == "all"
127
+ Requires-Dist: torchaudio; extra == "all"
128
+ Requires-Dist: pymupdf; extra == "all"
129
+ Requires-Dist: ollama; extra == "all"
130
+ Requires-Dist: transformers[sentencepiece]; extra == "all"
131
+ Requires-Dist: uvicorn[standard]; extra == "all"
132
+ Requires-Dist: tokenizers; extra == "all"
133
+ Requires-Dist: tinynetrc; extra == "all"
134
+ Requires-Dist: pandas; extra == "all"
135
+ Requires-Dist: openai; extra == "all"
136
+ Requires-Dist: google-api-python-client; extra == "all"
137
+ Requires-Dist: pydantic-settings; extra == "all"
138
+ Requires-Dist: deepmerge; extra == "all"
139
+ Requires-Dist: pyyaml; extra == "all"
140
+ Requires-Dist: httpx_retries; extra == "all"
141
+ Requires-Dist: yamlscript; extra == "all"
142
+ Requires-Dist: setuptools; extra == "all"
143
+ Requires-Dist: dask[bag]; extra == "all"
144
+ Requires-Dist: faker; extra == "all"
145
+ Requires-Dist: logfire; extra == "all"
146
+ Requires-Dist: Unidecode; extra == "all"
147
+ Requires-Dist: google-auth-oauthlib; extra == "all"
148
+ Requires-Dist: flet-video; extra == "all"
149
+ Requires-Dist: docker; extra == "all"
150
+ Requires-Dist: google-auth; extra == "all"
151
+ Requires-Dist: tabulate; extra == "all"
152
+ Requires-Dist: pydevd-pycharm; extra == "all"
153
+ Requires-Dist: semver; extra == "all"
154
+ Requires-Dist: dnspython[doh]; extra == "all"
155
+ Requires-Dist: distributed; extra == "all"
156
+ Requires-Dist: json_repair; extra == "all"
157
+ Requires-Dist: torchvision; extra == "all"
158
+ Requires-Dist: diskcache; extra == "all"
159
+ Requires-Dist: openpyxl; extra == "all"
160
+ Requires-Dist: google-auth-httplib2; extra == "all"
161
+ Requires-Dist: httpx; extra == "all"
162
+ Requires-Dist: regex; extra == "all"
163
+ Requires-Dist: bokeh; extra == "all"
164
+ Requires-Dist: fastapi; extra == "all"
165
+ Requires-Dist: html2text; extra == "all"
166
+ Requires-Dist: filetype; extra == "all"
167
+ Requires-Dist: peft; extra == "all"
168
+ Requires-Dist: pydantic-ai[logfire,openai]; extra == "all"
169
+ Requires-Dist: pydantic; extra == "all"
170
+ Requires-Dist: sre_yield; extra == "all"
171
+ Requires-Dist: flet-webview; extra == "all"
172
+ Requires-Dist: sentence_transformers; extra == "all"
173
+ Requires-Dist: pytest-cov; extra == "all"
174
+ Requires-Dist: flet[all]; extra == "all"
175
+ Requires-Dist: logfire[httpx]; extra == "all"
176
+ Requires-Dist: pymupdf4llm; extra == "all"
177
+ Requires-Dist: appdirs; extra == "all"
178
+ Requires-Dist: contexttimer; extra == "all"
179
+ Requires-Dist: huggingface_hub; extra == "all"
178
180
  Dynamic: author
179
181
  Dynamic: author-email
180
182
  Dynamic: description
@@ -3,7 +3,6 @@ fmtr/tools/api_tools.py,sha256=w8Zrp_EwN5KlUghwLoTCXo4z1irg5tAsReCqDLjASfE,2133
3
3
  fmtr/tools/async_tools.py,sha256=ewz757WcveQJd-G5SVr2JDOQVbdLGecCgl-tsBGVZz4,284
4
4
  fmtr/tools/augmentation_tools.py,sha256=-6ESbO4CDlKqVOV1J1V6qBeoBMzbFIinkDHRHnCBej0,55
5
5
  fmtr/tools/caching_tools.py,sha256=UOCYUNvLQ-NofR_dhqBmZF96-HRPf4At5MmxVk3gAIk,2943
6
- fmtr/tools/console_script_tools.py,sha256=7KVO0WI3Z7d7EZcmvTVS-O4OMxYYMZuA_7s0eubv76E,328
7
6
  fmtr/tools/constants.py,sha256=FOHvjovW_pHIvym9OXKZnztPvPVvudyG5S01i7XtXKE,1352
8
7
  fmtr/tools/data_modelling_tools.py,sha256=0BFm-F_cYzVTxftWQwORkPd0FM2BTLVh9-s0-rTTFoo,1744
9
8
  fmtr/tools/dataclass_tools.py,sha256=0Gt6KeLhtPgubo_2tYkIVqB8oQ91Qzag8OAGZDdjvMU,1209
@@ -46,12 +45,17 @@ fmtr/tools/tabular_tools.py,sha256=tpIpZzYku1HcJrHZJL6BC39LmN3WUWVhFbK2N7nDVmE,1
46
45
  fmtr/tools/tokenization_tools.py,sha256=me-IBzSLyNYejLybwjO9CNB6Mj2NYfKPaOVThXyaGNg,4268
47
46
  fmtr/tools/tools.py,sha256=CAsApa1YwVdNE6H66Vjivs_mXYvOas3rh7fPELAnTpk,795
48
47
  fmtr/tools/unicode_tools.py,sha256=yS_9wpu8ogNoiIL7s1G_8bETFFO_YQlo4LNPv1NLDeY,52
49
- fmtr/tools/version,sha256=HbDFufLknXNudkClHr0PRNRMHXcSFya4Y4jS4fFLpX0,6
48
+ fmtr/tools/version,sha256=IGYgplfxzMivcrhm_c7yDmQcSPOc4n8zjOgxOUnGPlM,5
50
49
  fmtr/tools/version_tools.py,sha256=yNs_CGqWpqE4jbK9wsPIi14peJVXYbhIcMqHAFOw3yE,1480
51
50
  fmtr/tools/yaml_tools.py,sha256=9kuYChqJelWQIjGlSnK4iDdOWWH06P0gp9jIcRrC3UI,1903
52
51
  fmtr/tools/ai_tools/__init__.py,sha256=JZrLuOFNV1A3wvJgonxOgz_4WS-7MfCuowGWA5uYCjs,372
53
52
  fmtr/tools/ai_tools/agentic_tools.py,sha256=YebH7R9ovVo3GzfWAZxY49e2fNt13APDMe290xx7zks,3720
54
53
  fmtr/tools/ai_tools/inference_tools.py,sha256=2UP2gXEyOJUjyyV6zmFIYmIxUsh1rXkRH0IbFvr2bRs,11908
54
+ fmtr/tools/entrypoints/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
55
+ fmtr/tools/entrypoints/cache_hfh.py,sha256=fQNs4J9twQuZH_Yj98-oOvEX7-LrSUP3kO8nzw2HrHs,60
56
+ fmtr/tools/entrypoints/ep_test.py,sha256=B8HfWISfSgw_xVX475CbJGh_QnpOe9MH65H8qGjTWbY,46
57
+ fmtr/tools/entrypoints/remote_debug_test.py,sha256=wmKg9o2pQq7eqeHmaO8oviujNgtnsCVEXOdXLIcQWs4,123
58
+ fmtr/tools/entrypoints/shell_debug.py,sha256=0No3tAg9Ri4_vvSlQCUtAY-11HR0nE45i0VVtiAViwY,106
55
59
  fmtr/tools/path_tools/__init__.py,sha256=v5CpmzXq5Ii90FtcmxAJKiLxmguZMrPnQ_HdT872Np0,443
56
60
  fmtr/tools/path_tools/app_path_tools.py,sha256=JrJvtTDd_gkCKcZtBCDTMktsM77PZwGV_hzQX0g5GU8,1722
57
61
  fmtr/tools/path_tools/path_tools.py,sha256=8WBzNctpds5tVT1-FcizAORrBCGlkUbPcfOel-Js7ps,7878
@@ -66,9 +70,9 @@ fmtr/tools/tests/test_environment.py,sha256=iHaiMQfECYZPkPKwfuIZV9uHuWe3aE-p_dN_
66
70
  fmtr/tools/tests/test_json.py,sha256=IeSP4ziPvRcmS8kq7k9tHonC9rN5YYq9GSNT2ul6Msk,287
67
71
  fmtr/tools/tests/test_path.py,sha256=AkZQa6_8BQ-VaCyL_J-iKmdf2ZaM-xFYR37Kun3k4_g,2188
68
72
  fmtr/tools/tests/test_yaml.py,sha256=jc0TwwKu9eC0LvFGNMERdgBue591xwLxYXFbtsRwXVM,287
69
- fmtr_tools-1.1.30.dist-info/licenses/LICENSE,sha256=FW9aa6vVN5IjRQWLT43hs4_koYSmpcbIovlKeAJ0_cI,10757
70
- fmtr_tools-1.1.30.dist-info/METADATA,sha256=t8FTH-r8_OzJf0i8ROTnYr0EbZkhpXj9oIGlkgmV9-E,15735
71
- fmtr_tools-1.1.30.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
72
- fmtr_tools-1.1.30.dist-info/entry_points.txt,sha256=e-eOW1Ml13tbxHC6Er1MnVOEDePeWw7DKwlE-l-gCY0,205
73
- fmtr_tools-1.1.30.dist-info/top_level.txt,sha256=LXem9xCgNOD72tE2gRKESdiQTL902mfFkwWb6-dlwEE,5
74
- fmtr_tools-1.1.30.dist-info/RECORD,,
73
+ fmtr_tools-1.2.1.dist-info/licenses/LICENSE,sha256=FW9aa6vVN5IjRQWLT43hs4_koYSmpcbIovlKeAJ0_cI,10757
74
+ fmtr_tools-1.2.1.dist-info/METADATA,sha256=jNFEE6r7_TrdiJIO4PjjyPtPOgWHJ2IJOKmPHMG8MjM,15738
75
+ fmtr_tools-1.2.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
76
+ fmtr_tools-1.2.1.dist-info/entry_points.txt,sha256=fSQrDGNctdQXbUxpMWYVfVQ0mhZMDyaEDG3D3a0zOSc,278
77
+ fmtr_tools-1.2.1.dist-info/top_level.txt,sha256=LXem9xCgNOD72tE2gRKESdiQTL902mfFkwWb6-dlwEE,5
78
+ fmtr_tools-1.2.1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ [console_scripts]
2
+ fmtr-tools-cache-hfh = fmtr.tools.entrypoints.cache_hfh:main
3
+ fmtr-tools-ep-test = fmtr.tools.entrypoints.ep_test:main
4
+ fmtr-tools-remote-debug-test = fmtr.tools.entrypoints.remote_debug_test:main
5
+ fmtr-tools-shell-debug = fmtr.tools.entrypoints.shell_debug:main
@@ -1,23 +0,0 @@
1
- def cache_hfh():
2
- from fmtr import tools
3
- tools.hfh.main()
4
-
5
-
6
- def remote_debug_test():
7
- """
8
-
9
- Test debugger connection
10
-
11
- """
12
- from fmtr.tools import debug
13
- debug.trace(is_debug=True)
14
-
15
-
16
- def shell_debug():
17
- """
18
-
19
- Test debugger connection
20
-
21
- """
22
- from fmtr.tools import debug
23
- debug.debug_shell()
@@ -1,4 +0,0 @@
1
- [console_scripts]
2
- cache-hfh = fmtr.tools.console_script_tools:cache_hfh
3
- fmtr-shell-debug = fmtr.tools.console_script_tools:shell_debug
4
- remote-debug-test = fmtr.tools.console_script_tools:remote_debug_test