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

@@ -32,8 +32,6 @@ class Interface(ft.Column):
32
32
  PATH_ASSETS = None
33
33
  ROUTE_ROOT = '/'
34
34
 
35
- THEME = ft.Theme(color_scheme=ft.ColorScheme(primary=ft.Colors.PINK))
36
-
37
35
  @classmethod
38
36
  def render(cls, page: ft.Page):
39
37
  """
@@ -42,7 +40,7 @@ class Interface(ft.Column):
42
40
 
43
41
  """
44
42
  if not page.on_route_change:
45
- page.theme = cls.THEME
43
+ page.theme = cls.get_theme()
46
44
  page.views.clear()
47
45
  page.views.append(cls())
48
46
 
@@ -85,6 +83,18 @@ class Interface(ft.Column):
85
83
  logger.info(f"Launching {cls.TITLE} at {url}")
86
84
  ft.app(cls.render, view=cls.APPVIEW, host=cls.HOST, port=cls.PORT, assets_dir=cls.PATH_ASSETS)
87
85
 
86
+ @classmethod
87
+ def get_theme(self):
88
+ """
89
+
90
+ Overridable theme definition
91
+
92
+ """
93
+ text_style = ft.TextStyle(size=20)
94
+ theme = ft.Theme(
95
+ text_theme=ft.TextTheme(body_large=text_style),
96
+ )
97
+ return theme
88
98
 
89
99
  class Test(Interface):
90
100
  """
fmtr/tools/version CHANGED
@@ -1 +1 @@
1
- 1.3.24
1
+ 1.3.25
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fmtr.tools
3
- Version: 1.3.24
3
+ Version: 1.3.25
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
@@ -126,61 +126,61 @@ Requires-Dist: logfire[httpx]; extra == "http"
126
126
  Provides-Extra: setup
127
127
  Requires-Dist: setuptools; extra == "setup"
128
128
  Provides-Extra: all
129
- Requires-Dist: httpx_retries; extra == "all"
130
- Requires-Dist: fastapi; extra == "all"
131
- Requires-Dist: ollama; extra == "all"
132
- Requires-Dist: tinynetrc; extra == "all"
133
- Requires-Dist: sentence_transformers; extra == "all"
134
- Requires-Dist: pandas; extra == "all"
135
- Requires-Dist: google-auth; extra == "all"
136
- Requires-Dist: bokeh; extra == "all"
137
- Requires-Dist: logfire[fastapi]; extra == "all"
138
- Requires-Dist: docker; extra == "all"
139
- Requires-Dist: pymupdf; extra == "all"
140
- Requires-Dist: regex; extra == "all"
141
- Requires-Dist: torchaudio; extra == "all"
142
- Requires-Dist: torchvision; extra == "all"
143
- Requires-Dist: logfire[httpx]; extra == "all"
144
- Requires-Dist: dnspython[doh]; extra == "all"
145
- Requires-Dist: httpx; extra == "all"
146
- Requires-Dist: logfire; extra == "all"
147
- Requires-Dist: google-auth-httplib2; extra == "all"
148
- Requires-Dist: contexttimer; extra == "all"
149
129
  Requires-Dist: tabulate; extra == "all"
150
- Requires-Dist: transformers[sentencepiece]; extra == "all"
151
- Requires-Dist: uvicorn[standard]; extra == "all"
130
+ Requires-Dist: openai; extra == "all"
131
+ Requires-Dist: contexttimer; extra == "all"
132
+ Requires-Dist: deepmerge; extra == "all"
152
133
  Requires-Dist: google-auth-oauthlib; extra == "all"
134
+ Requires-Dist: diskcache; extra == "all"
135
+ Requires-Dist: distributed; extra == "all"
136
+ Requires-Dist: pydantic; extra == "all"
137
+ Requires-Dist: faker; extra == "all"
138
+ Requires-Dist: transformers[sentencepiece]; extra == "all"
139
+ Requires-Dist: pytest-cov; extra == "all"
140
+ Requires-Dist: logfire[httpx]; extra == "all"
141
+ Requires-Dist: logfire; extra == "all"
142
+ Requires-Dist: ollama; extra == "all"
153
143
  Requires-Dist: google-api-python-client; extra == "all"
154
- Requires-Dist: peft; extra == "all"
155
- Requires-Dist: deepmerge; extra == "all"
156
- Requires-Dist: json_repair; extra == "all"
157
- Requires-Dist: Unidecode; extra == "all"
158
- Requires-Dist: flet[all]; extra == "all"
159
- Requires-Dist: flet-video; extra == "all"
144
+ Requires-Dist: torchaudio; extra == "all"
145
+ Requires-Dist: pymupdf4llm; extra == "all"
146
+ Requires-Dist: tinynetrc; extra == "all"
147
+ Requires-Dist: huggingface_hub; extra == "all"
160
148
  Requires-Dist: flet-webview; extra == "all"
161
- Requires-Dist: yamlscript; extra == "all"
149
+ Requires-Dist: google-auth-httplib2; extra == "all"
150
+ Requires-Dist: httpx_retries; extra == "all"
162
151
  Requires-Dist: setuptools; extra == "all"
152
+ Requires-Dist: flet[all]; extra == "all"
153
+ Requires-Dist: httpx; extra == "all"
154
+ Requires-Dist: bokeh; extra == "all"
155
+ Requires-Dist: dnspython[doh]; extra == "all"
163
156
  Requires-Dist: pydantic-settings; extra == "all"
164
- Requires-Dist: sre_yield; extra == "all"
165
- Requires-Dist: pytest-cov; extra == "all"
166
- Requires-Dist: diskcache; extra == "all"
167
- Requires-Dist: faker; extra == "all"
168
- Requires-Dist: openpyxl; extra == "all"
169
- Requires-Dist: distributed; extra == "all"
170
- Requires-Dist: semver; extra == "all"
171
157
  Requires-Dist: dask[bag]; extra == "all"
172
- Requires-Dist: pydevd-pycharm~=251.25410.159; extra == "all"
173
- Requires-Dist: pydantic; extra == "all"
174
158
  Requires-Dist: tokenizers; extra == "all"
175
- Requires-Dist: pymupdf4llm; extra == "all"
159
+ Requires-Dist: fastapi; extra == "all"
160
+ Requires-Dist: cachetools; extra == "all"
161
+ Requires-Dist: json_repair; extra == "all"
162
+ Requires-Dist: appdirs; extra == "all"
163
+ Requires-Dist: flet-video; extra == "all"
176
164
  Requires-Dist: pydantic-ai[logfire,openai]; extra == "all"
177
- Requires-Dist: huggingface_hub; extra == "all"
165
+ Requires-Dist: yamlscript; extra == "all"
166
+ Requires-Dist: google-auth; extra == "all"
167
+ Requires-Dist: pydevd-pycharm~=251.25410.159; extra == "all"
168
+ Requires-Dist: pyyaml; extra == "all"
169
+ Requires-Dist: sentence_transformers; extra == "all"
170
+ Requires-Dist: torchvision; extra == "all"
171
+ Requires-Dist: pymupdf; extra == "all"
172
+ Requires-Dist: Unidecode; extra == "all"
173
+ Requires-Dist: uvicorn[standard]; extra == "all"
174
+ Requires-Dist: docker; extra == "all"
175
+ Requires-Dist: peft; extra == "all"
178
176
  Requires-Dist: filetype; extra == "all"
177
+ Requires-Dist: openpyxl; extra == "all"
178
+ Requires-Dist: logfire[fastapi]; extra == "all"
179
179
  Requires-Dist: html2text; extra == "all"
180
- Requires-Dist: pyyaml; extra == "all"
181
- Requires-Dist: openai; extra == "all"
182
- Requires-Dist: appdirs; extra == "all"
183
- Requires-Dist: cachetools; extra == "all"
180
+ Requires-Dist: pandas; extra == "all"
181
+ Requires-Dist: sre_yield; extra == "all"
182
+ Requires-Dist: semver; extra == "all"
183
+ Requires-Dist: regex; extra == "all"
184
184
  Dynamic: author
185
185
  Dynamic: author-email
186
186
  Dynamic: description
@@ -43,7 +43,7 @@ fmtr/tools/tabular_tools.py,sha256=tpIpZzYku1HcJrHZJL6BC39LmN3WUWVhFbK2N7nDVmE,1
43
43
  fmtr/tools/tokenization_tools.py,sha256=me-IBzSLyNYejLybwjO9CNB6Mj2NYfKPaOVThXyaGNg,4268
44
44
  fmtr/tools/tools.py,sha256=CAsApa1YwVdNE6H66Vjivs_mXYvOas3rh7fPELAnTpk,795
45
45
  fmtr/tools/unicode_tools.py,sha256=yS_9wpu8ogNoiIL7s1G_8bETFFO_YQlo4LNPv1NLDeY,52
46
- fmtr/tools/version,sha256=6y8OlusXXRQ5CPOH7-e5z_iU7cHYXzBXhelkUzwZ9A4,6
46
+ fmtr/tools/version,sha256=9oPwmLmx2ypZRwy1I5BtQogCzAj4hez4q9gnekkz7fs,6
47
47
  fmtr/tools/yaml_tools.py,sha256=Bhhyd6GQVKO72Lp8ky7bAUjIB_65Hdh0Q45SKIEe6S8,1901
48
48
  fmtr/tools/ai_tools/__init__.py,sha256=JZrLuOFNV1A3wvJgonxOgz_4WS-7MfCuowGWA5uYCjs,372
49
49
  fmtr/tools/ai_tools/agentic_tools.py,sha256=acSEPFS-aguDXanWGs3fAAlRyJSYPZW7L-Kb2qDLm-I,4300
@@ -61,7 +61,7 @@ fmtr/tools/entrypoints/remote_debug_test.py,sha256=wmKg9o2pQq7eqeHmaO8oviujNgtns
61
61
  fmtr/tools/entrypoints/shell_debug.py,sha256=0No3tAg9Ri4_vvSlQCUtAY-11HR0nE45i0VVtiAViwY,106
62
62
  fmtr/tools/interface_tools/__init__.py,sha256=RBg-QC7OO-PdAbFBadzHTzgjASchrKavAqdVbmBq4nM,310
63
63
  fmtr/tools/interface_tools/controls.py,sha256=6C-estOVk4sHCyOFVJfMg3gcqhFADecI3jfxjBfHvg4,1305
64
- fmtr/tools/interface_tools/interface_tools.py,sha256=3FJRlQfJFztQezBdGZ_izO1Az3jk3INrN4A75jatAlo,2056
64
+ fmtr/tools/interface_tools/interface_tools.py,sha256=FBvtWSGFvgieDT-cOSY9KAW6csnObFKyj8O-QnsekE4,2252
65
65
  fmtr/tools/path_tools/__init__.py,sha256=v5CpmzXq5Ii90FtcmxAJKiLxmguZMrPnQ_HdT872Np0,443
66
66
  fmtr/tools/path_tools/app_path_tools.py,sha256=JrJvtTDd_gkCKcZtBCDTMktsM77PZwGV_hzQX0g5GU8,1722
67
67
  fmtr/tools/path_tools/path_tools.py,sha256=eh30PpmH0wopy0wNWuPT84cmXY1EvqsTSDT7AV_GPOY,8034
@@ -78,9 +78,9 @@ fmtr/tools/tests/test_path.py,sha256=AkZQa6_8BQ-VaCyL_J-iKmdf2ZaM-xFYR37Kun3k4_g
78
78
  fmtr/tools/tests/test_yaml.py,sha256=jc0TwwKu9eC0LvFGNMERdgBue591xwLxYXFbtsRwXVM,287
79
79
  fmtr/tools/version_tools/__init__.py,sha256=pg4iLtmIr5HtyEW_j0fMFoIdzqi_w9xH8-grQaXLB28,318
80
80
  fmtr/tools/version_tools/version_tools.py,sha256=Hcc6yferZS1hHbugRTdiHhSNmXEEG0hjCiTTXKna-YY,1127
81
- fmtr_tools-1.3.24.dist-info/licenses/LICENSE,sha256=FW9aa6vVN5IjRQWLT43hs4_koYSmpcbIovlKeAJ0_cI,10757
82
- fmtr_tools-1.3.24.dist-info/METADATA,sha256=9rp92m_r7Ir_xQIhKccZpv_YSQgQcH4YK2TWjc1XEBo,15938
83
- fmtr_tools-1.3.24.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
84
- fmtr_tools-1.3.24.dist-info/entry_points.txt,sha256=h-r__Xh5njtFqreMLg6cGuTFS4Qh-QqJPU1HB-_BS-Q,357
85
- fmtr_tools-1.3.24.dist-info/top_level.txt,sha256=LXem9xCgNOD72tE2gRKESdiQTL902mfFkwWb6-dlwEE,5
86
- fmtr_tools-1.3.24.dist-info/RECORD,,
81
+ fmtr_tools-1.3.25.dist-info/licenses/LICENSE,sha256=FW9aa6vVN5IjRQWLT43hs4_koYSmpcbIovlKeAJ0_cI,10757
82
+ fmtr_tools-1.3.25.dist-info/METADATA,sha256=ZWZ5dYyX44APjboL2WmwOW2IlSxCN9TRYkIv7KRtfFI,15938
83
+ fmtr_tools-1.3.25.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
84
+ fmtr_tools-1.3.25.dist-info/entry_points.txt,sha256=h-r__Xh5njtFqreMLg6cGuTFS4Qh-QqJPU1HB-_BS-Q,357
85
+ fmtr_tools-1.3.25.dist-info/top_level.txt,sha256=LXem9xCgNOD72tE2gRKESdiQTL902mfFkwWb6-dlwEE,5
86
+ fmtr_tools-1.3.25.dist-info/RECORD,,