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

@@ -54,7 +54,16 @@ class SetupPaths(FromCallerMixin):
54
54
 
55
55
  if len(packages) != 1:
56
56
  dirs_str = ', '.join([str(dir) for dir in packages])
57
- raise ValueError(f'Expected exactly one package in {self.repo}, found {dirs_str}')
57
+ msg = f'Expected exactly one package in {self.repo}, found {dirs_str}'
58
+
59
+ from fmtr.tools import env
60
+ if env.get_bool('FMTR_SETUP_PAUSE'):
61
+ print(msg)
62
+ print('sleeping...')
63
+ from time import sleep
64
+ sleep(600)
65
+
66
+ raise ValueError(msg)
58
67
 
59
68
  package = next(iter(packages))
60
69
  return package
@@ -197,7 +206,7 @@ class Setup(FromCallerMixin):
197
206
  @property
198
207
  def package_dir(self):
199
208
  if self.paths.is_namespace:
200
- return {'': str(self.paths.repo)}
209
+ return {'': '.'}
201
210
  else:
202
211
  return None
203
212
 
fmtr/tools/version CHANGED
@@ -1 +1 @@
1
- 1.1.28
1
+ 1.1.29
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fmtr.tools
3
- Version: 1.1.28
3
+ Version: 1.1.29
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
@@ -9,60 +9,60 @@ 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: setuptools; extra == "test"
13
- Requires-Dist: httpx_retries; extra == "test"
14
- Requires-Dist: flet-webview; extra == "test"
15
- Requires-Dist: filetype; extra == "test"
16
- Requires-Dist: httpx; extra == "test"
12
+ Requires-Dist: contexttimer; extra == "test"
13
+ Requires-Dist: huggingface_hub; extra == "test"
14
+ Requires-Dist: sentence_transformers; extra == "test"
15
+ Requires-Dist: logfire[fastapi]; extra == "test"
16
+ Requires-Dist: dask[bag]; extra == "test"
17
+ Requires-Dist: ollama; extra == "test"
18
+ Requires-Dist: appdirs; extra == "test"
19
+ Requires-Dist: torchaudio; extra == "test"
20
+ Requires-Dist: Unidecode; extra == "test"
17
21
  Requires-Dist: bokeh; extra == "test"
22
+ Requires-Dist: httpx_retries; extra == "test"
23
+ Requires-Dist: openai; extra == "test"
18
24
  Requires-Dist: fastapi; extra == "test"
19
- Requires-Dist: tabulate; extra == "test"
20
- Requires-Dist: flet-video; extra == "test"
21
- Requires-Dist: uvicorn[standard]; extra == "test"
22
- Requires-Dist: logfire[httpx]; extra == "test"
23
- Requires-Dist: logfire; extra == "test"
24
- Requires-Dist: torchaudio; extra == "test"
25
- Requires-Dist: google-api-python-client; extra == "test"
26
- Requires-Dist: yamlscript; extra == "test"
27
- Requires-Dist: pydantic-ai[logfire,openai]; extra == "test"
28
- Requires-Dist: semver; extra == "test"
29
25
  Requires-Dist: html2text; extra == "test"
30
- Requires-Dist: dnspython[doh]; extra == "test"
31
- Requires-Dist: pydantic; extra == "test"
32
- Requires-Dist: tokenizers; extra == "test"
33
- Requires-Dist: deepmerge; extra == "test"
34
- Requires-Dist: ollama; extra == "test"
35
- Requires-Dist: diskcache; extra == "test"
26
+ Requires-Dist: google-auth-oauthlib; extra == "test"
27
+ Requires-Dist: pydantic-ai[logfire,openai]; extra == "test"
28
+ Requires-Dist: pandas; extra == "test"
36
29
  Requires-Dist: google-auth-httplib2; extra == "test"
37
- Requires-Dist: pymupdf; extra == "test"
38
- Requires-Dist: tinynetrc; extra == "test"
39
- Requires-Dist: pytest-cov; extra == "test"
40
- Requires-Dist: regex; extra == "test"
41
- Requires-Dist: faker; extra == "test"
42
- Requires-Dist: pydevd-pycharm; extra == "test"
43
- Requires-Dist: sre_yield; extra == "test"
44
- Requires-Dist: Unidecode; extra == "test"
45
30
  Requires-Dist: pyyaml; extra == "test"
46
- Requires-Dist: peft; extra == "test"
47
- Requires-Dist: pymupdf4llm; extra == "test"
31
+ Requires-Dist: pydantic-settings; extra == "test"
32
+ Requires-Dist: httpx; extra == "test"
48
33
  Requires-Dist: distributed; extra == "test"
49
- Requires-Dist: transformers[sentencepiece]; extra == "test"
34
+ Requires-Dist: deepmerge; extra == "test"
50
35
  Requires-Dist: json_repair; extra == "test"
36
+ Requires-Dist: dnspython[doh]; extra == "test"
37
+ Requires-Dist: tabulate; extra == "test"
38
+ Requires-Dist: tinynetrc; extra == "test"
39
+ Requires-Dist: pytest-cov; extra == "test"
40
+ Requires-Dist: openpyxl; extra == "test"
41
+ Requires-Dist: filetype; extra == "test"
42
+ Requires-Dist: transformers[sentencepiece]; extra == "test"
51
43
  Requires-Dist: torchvision; extra == "test"
52
- Requires-Dist: sentence_transformers; extra == "test"
44
+ Requires-Dist: google-api-python-client; extra == "test"
45
+ Requires-Dist: semver; extra == "test"
53
46
  Requires-Dist: google-auth; extra == "test"
54
- Requires-Dist: google-auth-oauthlib; extra == "test"
55
- Requires-Dist: pydantic-settings; extra == "test"
47
+ Requires-Dist: flet-webview; extra == "test"
56
48
  Requires-Dist: docker; extra == "test"
49
+ Requires-Dist: logfire[httpx]; extra == "test"
50
+ Requires-Dist: logfire; extra == "test"
51
+ Requires-Dist: sre_yield; extra == "test"
57
52
  Requires-Dist: flet[all]; extra == "test"
58
- Requires-Dist: contexttimer; extra == "test"
59
- Requires-Dist: huggingface_hub; extra == "test"
60
- Requires-Dist: pandas; extra == "test"
61
- Requires-Dist: openai; extra == "test"
62
- Requires-Dist: appdirs; extra == "test"
63
- Requires-Dist: dask[bag]; extra == "test"
64
- Requires-Dist: openpyxl; extra == "test"
65
- Requires-Dist: logfire[fastapi]; extra == "test"
53
+ Requires-Dist: tokenizers; extra == "test"
54
+ Requires-Dist: faker; extra == "test"
55
+ Requires-Dist: uvicorn[standard]; extra == "test"
56
+ Requires-Dist: pymupdf; extra == "test"
57
+ Requires-Dist: flet-video; extra == "test"
58
+ Requires-Dist: yamlscript; extra == "test"
59
+ Requires-Dist: pydantic; extra == "test"
60
+ Requires-Dist: pymupdf4llm; extra == "test"
61
+ Requires-Dist: pydevd-pycharm; extra == "test"
62
+ Requires-Dist: setuptools; extra == "test"
63
+ Requires-Dist: diskcache; extra == "test"
64
+ Requires-Dist: peft; extra == "test"
65
+ Requires-Dist: regex; extra == "test"
66
66
  Provides-Extra: yaml
67
67
  Requires-Dist: yamlscript; extra == "yaml"
68
68
  Requires-Dist: pyyaml; extra == "yaml"
@@ -46,7 +46,7 @@ fmtr/tools/tabular_tools.py,sha256=tpIpZzYku1HcJrHZJL6BC39LmN3WUWVhFbK2N7nDVmE,1
46
46
  fmtr/tools/tokenization_tools.py,sha256=me-IBzSLyNYejLybwjO9CNB6Mj2NYfKPaOVThXyaGNg,4268
47
47
  fmtr/tools/tools.py,sha256=CAsApa1YwVdNE6H66Vjivs_mXYvOas3rh7fPELAnTpk,795
48
48
  fmtr/tools/unicode_tools.py,sha256=yS_9wpu8ogNoiIL7s1G_8bETFFO_YQlo4LNPv1NLDeY,52
49
- fmtr/tools/version,sha256=KZLQYWcj6yTAXH4Eaz7K860XWssMDypvIyHOQjYOv80,6
49
+ fmtr/tools/version,sha256=wZz9CtD3YDZNyXBiUT3r7j9vLkFry7dx2nVdBteLS7A,6
50
50
  fmtr/tools/version_tools.py,sha256=yNs_CGqWpqE4jbK9wsPIi14peJVXYbhIcMqHAFOw3yE,1480
51
51
  fmtr/tools/yaml_tools.py,sha256=9kuYChqJelWQIjGlSnK4iDdOWWH06P0gp9jIcRrC3UI,1903
52
52
  fmtr/tools/ai_tools/__init__.py,sha256=JZrLuOFNV1A3wvJgonxOgz_4WS-7MfCuowGWA5uYCjs,372
@@ -57,7 +57,7 @@ fmtr/tools/path_tools/app_path_tools.py,sha256=JrJvtTDd_gkCKcZtBCDTMktsM77PZwGV_
57
57
  fmtr/tools/path_tools/path_tools.py,sha256=8WBzNctpds5tVT1-FcizAORrBCGlkUbPcfOel-Js7ps,7878
58
58
  fmtr/tools/path_tools/type_path_tools.py,sha256=Zgs-ek-GXRKDIlVDGdg3muB0PIxTg2ba0NeHw6y8FWQ,40
59
59
  fmtr/tools/setup_tools/__init__.py,sha256=fUCjzyE4JBPEOZhC4B--VPj_eOCkQb1QG5PIgiGj03U,386
60
- fmtr/tools/setup_tools/setup_tools.py,sha256=-BqbfiexUPhs71WBynpupGc_FD5MFLfD7FzT4XwlR9c,8540
60
+ fmtr/tools/setup_tools/setup_tools.py,sha256=V43H_gHVnoSJ3LoCPXxPLijv6oYeW4N5KcOp4cTIrtA,8765
61
61
  fmtr/tools/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
62
62
  fmtr/tools/tests/conftest.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
63
63
  fmtr/tools/tests/helpers.py,sha256=N5sf9YoZV93a7tf_UxpLeyQ9vp6Ec0teNIimFDvc054,1091
@@ -66,9 +66,9 @@ fmtr/tools/tests/test_environment.py,sha256=iHaiMQfECYZPkPKwfuIZV9uHuWe3aE-p_dN_
66
66
  fmtr/tools/tests/test_json.py,sha256=IeSP4ziPvRcmS8kq7k9tHonC9rN5YYq9GSNT2ul6Msk,287
67
67
  fmtr/tools/tests/test_path.py,sha256=AkZQa6_8BQ-VaCyL_J-iKmdf2ZaM-xFYR37Kun3k4_g,2188
68
68
  fmtr/tools/tests/test_yaml.py,sha256=jc0TwwKu9eC0LvFGNMERdgBue591xwLxYXFbtsRwXVM,287
69
- fmtr_tools-1.1.28.dist-info/licenses/LICENSE,sha256=FW9aa6vVN5IjRQWLT43hs4_koYSmpcbIovlKeAJ0_cI,10757
70
- fmtr_tools-1.1.28.dist-info/METADATA,sha256=VZ1GCYGE62S_ek4EqQv_4TtDS-cSfCA4xxCcfWP5lwU,15735
71
- fmtr_tools-1.1.28.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
72
- fmtr_tools-1.1.28.dist-info/entry_points.txt,sha256=e-eOW1Ml13tbxHC6Er1MnVOEDePeWw7DKwlE-l-gCY0,205
73
- fmtr_tools-1.1.28.dist-info/top_level.txt,sha256=LXem9xCgNOD72tE2gRKESdiQTL902mfFkwWb6-dlwEE,5
74
- fmtr_tools-1.1.28.dist-info/RECORD,,
69
+ fmtr_tools-1.1.29.dist-info/licenses/LICENSE,sha256=FW9aa6vVN5IjRQWLT43hs4_koYSmpcbIovlKeAJ0_cI,10757
70
+ fmtr_tools-1.1.29.dist-info/METADATA,sha256=RynfGC952t00-hXrPmX2z2koK5XhBOaLC4b-RvmPsjQ,15735
71
+ fmtr_tools-1.1.29.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
72
+ fmtr_tools-1.1.29.dist-info/entry_points.txt,sha256=e-eOW1Ml13tbxHC6Er1MnVOEDePeWw7DKwlE-l-gCY0,205
73
+ fmtr_tools-1.1.29.dist-info/top_level.txt,sha256=LXem9xCgNOD72tE2gRKESdiQTL902mfFkwWb6-dlwEE,5
74
+ fmtr_tools-1.1.29.dist-info/RECORD,,