fmtr.tools 1.1.8__tar.gz → 1.1.10__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.

Files changed (74) hide show
  1. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/PKG-INFO +38 -38
  2. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/__init__.py +1 -0
  3. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/ai_tools/agentic_tools.py +11 -1
  4. fmtr_tools-1.1.10/fmtr/tools/packaging_tools.py +14 -0
  5. fmtr_tools-1.1.10/fmtr/tools/version +1 -0
  6. fmtr_tools-1.1.10/fmtr/tools/yaml_tools.py +69 -0
  7. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr.tools.egg-info/PKG-INFO +38 -38
  8. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr.tools.egg-info/SOURCES.txt +1 -0
  9. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr.tools.egg-info/requires.txt +37 -37
  10. fmtr_tools-1.1.10/fmtr.tools.egg-info/top_level.txt +1 -0
  11. fmtr_tools-1.1.8/fmtr/tools/version +0 -1
  12. fmtr_tools-1.1.8/fmtr/tools/yaml_tools.py +0 -23
  13. fmtr_tools-1.1.8/fmtr.tools.egg-info/top_level.txt +0 -2
  14. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/LICENSE +0 -0
  15. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/README.md +0 -0
  16. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/ai_tools/__init__.py +0 -0
  17. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/ai_tools/inference_tools.py +0 -0
  18. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/api_tools.py +0 -0
  19. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/async_tools.py +0 -0
  20. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/augmentation_tools.py +0 -0
  21. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/caching_tools.py +0 -0
  22. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/console_script_tools.py +0 -0
  23. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/constants.py +0 -0
  24. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/data_modelling_tools.py +0 -0
  25. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/dataclass_tools.py +0 -0
  26. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/datatype_tools.py +0 -0
  27. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/debugging_tools.py +0 -0
  28. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/docker_tools.py +0 -0
  29. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/environment_tools.py +0 -0
  30. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/function_tools.py +0 -0
  31. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/google_api_tools.py +0 -0
  32. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/hash_tools.py +0 -0
  33. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/hfh_tools.py +0 -0
  34. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/html_tools.py +0 -0
  35. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/import_tools.py +0 -0
  36. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/inspection_tools.py +0 -0
  37. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/interface_tools.py +0 -0
  38. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/iterator_tools.py +0 -0
  39. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/json_fix_tools.py +0 -0
  40. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/json_tools.py +0 -0
  41. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/logging_tools.py +0 -0
  42. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/merging_tools.py +0 -0
  43. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/metric_tools.py +0 -0
  44. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/name_tools.py +0 -0
  45. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/netrc_tools.py +0 -0
  46. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/openai_tools.py +0 -0
  47. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/parallel_tools.py +0 -0
  48. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/path_tools.py +0 -0
  49. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/pdf_tools.py +0 -0
  50. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/platform_tools.py +0 -0
  51. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/process_tools.py +0 -0
  52. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/profiling_tools.py +0 -0
  53. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/random_tools.py +0 -0
  54. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/semantic_tools.py +0 -0
  55. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/settings_tools.py +0 -0
  56. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/spaces_tools.py +0 -0
  57. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/string_tools.py +0 -0
  58. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/tabular_tools.py +0 -0
  59. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/tests/__init__.py +0 -0
  60. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/tests/conftest.py +0 -0
  61. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/tests/helpers.py +0 -0
  62. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/tests/test_datatype.py +0 -0
  63. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/tests/test_environment.py +0 -0
  64. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/tests/test_json.py +0 -0
  65. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/tests/test_path.py +0 -0
  66. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/tests/test_yaml.py +0 -0
  67. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/tokenization_tools.py +0 -0
  68. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/tools.py +0 -0
  69. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/unicode_tools.py +0 -0
  70. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr/tools/version_tools.py +0 -0
  71. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr.tools.egg-info/dependency_links.txt +0 -0
  72. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/fmtr.tools.egg-info/entry_points.txt +0 -0
  73. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/setup.cfg +0 -0
  74. {fmtr_tools-1.1.8 → fmtr_tools-1.1.10}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fmtr.tools
3
- Version: 1.1.8
3
+ Version: 1.1.10
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,53 +9,53 @@ 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: pymupdf4llm; extra == "test"
13
12
  Requires-Dist: pydantic-settings; extra == "test"
14
- Requires-Dist: tinynetrc; extra == "test"
15
- Requires-Dist: torchvision; extra == "test"
16
- Requires-Dist: pyyaml; extra == "test"
17
- Requires-Dist: openai; extra == "test"
18
- Requires-Dist: flet-webview; extra == "test"
13
+ Requires-Dist: flet-video; extra == "test"
14
+ Requires-Dist: pydantic; extra == "test"
19
15
  Requires-Dist: pymupdf; extra == "test"
20
- Requires-Dist: faker; extra == "test"
21
- Requires-Dist: pydevd-pycharm; extra == "test"
22
- Requires-Dist: distributed; extra == "test"
23
- Requires-Dist: contexttimer; extra == "test"
24
- Requires-Dist: semver; extra == "test"
25
- Requires-Dist: bokeh; extra == "test"
26
- Requires-Dist: torchaudio; extra == "test"
27
- Requires-Dist: huggingface_hub; extra == "test"
28
- Requires-Dist: google-auth-oauthlib; extra == "test"
29
- Requires-Dist: openpyxl; extra == "test"
30
- Requires-Dist: docker; extra == "test"
16
+ Requires-Dist: flet-webview; extra == "test"
17
+ Requires-Dist: logfire[fastapi]; extra == "test"
18
+ Requires-Dist: sre_yield; extra == "test"
19
+ Requires-Dist: peft; extra == "test"
20
+ Requires-Dist: pandas; extra == "test"
31
21
  Requires-Dist: pytest-cov; extra == "test"
32
- Requires-Dist: uvicorn[standard]; extra == "test"
22
+ Requires-Dist: google-auth-oauthlib; extra == "test"
23
+ Requires-Dist: json_repair; extra == "test"
24
+ Requires-Dist: huggingface_hub; extra == "test"
25
+ Requires-Dist: logfire; extra == "test"
33
26
  Requires-Dist: html2text; extra == "test"
27
+ Requires-Dist: openai; extra == "test"
28
+ Requires-Dist: pydevd-pycharm; extra == "test"
29
+ Requires-Dist: bokeh; extra == "test"
30
+ Requires-Dist: dask[bag]; extra == "test"
31
+ Requires-Dist: pydantic-ai[logfire,openai]; extra == "test"
32
+ Requires-Dist: contexttimer; extra == "test"
33
+ Requires-Dist: flet[all]; extra == "test"
34
34
  Requires-Dist: google-api-python-client; extra == "test"
35
- Requires-Dist: sentence_transformers; extra == "test"
36
- Requires-Dist: logfire; extra == "test"
35
+ Requires-Dist: tabulate; extra == "test"
36
+ Requires-Dist: deepmerge; extra == "test"
37
+ Requires-Dist: tinynetrc; extra == "test"
38
+ Requires-Dist: distributed; extra == "test"
39
+ Requires-Dist: yamlscript; extra == "test"
40
+ Requires-Dist: ollama; extra == "test"
37
41
  Requires-Dist: Unidecode; extra == "test"
38
- Requires-Dist: diskcache; extra == "test"
39
- Requires-Dist: flet[all]; extra == "test"
40
- Requires-Dist: pandas; extra == "test"
42
+ Requires-Dist: semver; extra == "test"
43
+ Requires-Dist: uvicorn[standard]; extra == "test"
44
+ Requires-Dist: docker; extra == "test"
45
+ Requires-Dist: faker; extra == "test"
41
46
  Requires-Dist: tokenizers; extra == "test"
42
- Requires-Dist: fastapi; extra == "test"
43
- Requires-Dist: peft; extra == "test"
44
- Requires-Dist: json_repair; extra == "test"
45
- Requires-Dist: google-auth; extra == "test"
46
47
  Requires-Dist: transformers[sentencepiece]; extra == "test"
47
- Requires-Dist: tabulate; extra == "test"
48
- Requires-Dist: logfire[fastapi]; extra == "test"
49
- Requires-Dist: ollama; extra == "test"
50
- Requires-Dist: flet-video; extra == "test"
51
- Requires-Dist: deepmerge; extra == "test"
52
- Requires-Dist: sre_yield; extra == "test"
53
- Requires-Dist: pydantic; extra == "test"
54
- Requires-Dist: pydantic-ai[logfire,openai]; extra == "test"
55
- Requires-Dist: dask[bag]; extra == "test"
48
+ Requires-Dist: sentence_transformers; extra == "test"
56
49
  Requires-Dist: google-auth-httplib2; extra == "test"
50
+ Requires-Dist: pymupdf4llm; extra == "test"
51
+ Requires-Dist: torchaudio; extra == "test"
52
+ Requires-Dist: google-auth; extra == "test"
53
+ Requires-Dist: diskcache; extra == "test"
54
+ Requires-Dist: fastapi; extra == "test"
55
+ Requires-Dist: openpyxl; extra == "test"
56
+ Requires-Dist: torchvision; extra == "test"
57
57
  Provides-Extra: yaml
58
- Requires-Dist: pyyaml; extra == "yaml"
58
+ Requires-Dist: yamlscript; extra == "yaml"
59
59
  Provides-Extra: logging
60
60
  Requires-Dist: logfire; extra == "logging"
61
61
  Requires-Dist: semver; extra == "logging"
@@ -19,6 +19,7 @@ import fmtr.tools.string_tools as string
19
19
  import fmtr.tools.name_tools as name
20
20
  import fmtr.tools.logging_tools as logging
21
21
  import fmtr.tools.async_tools as asyncio
22
+ import fmtr.tools.packaging_tools as packaging
22
23
  from fmtr.tools.logging_tools import logger
23
24
 
24
25
  from fmtr.tools.import_tools import MissingExtraMockModule
@@ -1,12 +1,14 @@
1
+ from typing import List, Optional
2
+
1
3
  import pydantic_ai
2
4
  from pydantic_ai import RunContext
3
5
  from pydantic_ai.agent import AgentRunResult, Agent
4
6
  from pydantic_ai.models.openai import OpenAIModel
5
7
  from pydantic_ai.providers.openai import OpenAIProvider
6
- from typing import List, Optional
7
8
 
8
9
  from fmtr.tools import environment_tools as env
9
10
  from fmtr.tools.constants import Constants
11
+ from fmtr.tools.string_tools import truncate_mid
10
12
 
11
13
  pydantic_ai.Agent.instrument_all()
12
14
 
@@ -97,6 +99,14 @@ class Task:
97
99
 
98
100
  return []
99
101
 
102
+ def __repr__(self):
103
+ """
104
+
105
+ String representation of the object
106
+
107
+ """
108
+ return f'{self.__class__.__name__}({repr(truncate_mid(self.SYSTEM_PROMPT_STATIC, 100))})'
109
+
100
110
  if __name__ == '__main__':
101
111
  import asyncio
102
112
  from fmtr.tools import dm
@@ -0,0 +1,14 @@
1
+ import importlib.metadata
2
+
3
+
4
+ def get_version(module):
5
+ """
6
+
7
+ Retrieve the version of a specified module.
8
+
9
+ """
10
+
11
+ if type(module) is not str:
12
+ module = module.__name__
13
+ version = importlib.metadata.version(module)
14
+ return version
@@ -0,0 +1 @@
1
+ 1.1.10
@@ -0,0 +1,69 @@
1
+ from functools import lru_cache
2
+ from typing import Any
3
+ from yaml import CDumper as Dumper
4
+ from yaml import dump
5
+
6
+ from fmtr.tools import environment_tools as env
7
+
8
+
9
+ def install():
10
+ """
11
+
12
+ Installs the YAML Script runtime binary of the specified version.
13
+
14
+ """
15
+ import subprocess
16
+ from fmtr.tools import logger, packaging
17
+
18
+ version = packaging.get_version('yamlscript')
19
+ logger.warning(f"Installing YAML Script runtime binary version {version}...")
20
+ result = subprocess.run(f"curl https://yamlscript.org/install | VERSION={version} LIB=1 bash", shell=True, check=True)
21
+ return result
22
+
23
+
24
+ @lru_cache
25
+ def get_module(is_auto=env.IS_DEBUG):
26
+ """
27
+
28
+ Get the YAML Script runtime module, installing the runtime if specified
29
+
30
+ """
31
+ try:
32
+ import yamlscript
33
+ except Exception as exception:
34
+ if not is_auto:
35
+ raise ImportError(f'YAML Script runtime missing and {is_auto=}. Set to {True} to install.') from exception
36
+ install()
37
+ import yamlscript
38
+ return yamlscript
39
+
40
+
41
+ @lru_cache
42
+ def get_interpreter():
43
+ """
44
+
45
+ Fetches and returns a cached instance of the YAMLScript interpreter.
46
+
47
+ """
48
+ module = get_module()
49
+ interpreter = module.YAMLScript()
50
+ return interpreter
51
+
52
+ def to_yaml(obj: Any) -> str:
53
+ """
54
+
55
+ Serialize to YAML
56
+
57
+ """
58
+ yaml_str = dump(obj, allow_unicode=True, Dumper=Dumper)
59
+ return yaml_str
60
+
61
+
62
+ def from_yaml(yaml_str: str) -> Any:
63
+ """
64
+
65
+ Deserialize from YAML
66
+
67
+ """
68
+ obj = get_interpreter().load(yaml_str)
69
+ return obj
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fmtr.tools
3
- Version: 1.1.8
3
+ Version: 1.1.10
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,53 +9,53 @@ 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: pymupdf4llm; extra == "test"
13
12
  Requires-Dist: pydantic-settings; extra == "test"
14
- Requires-Dist: tinynetrc; extra == "test"
15
- Requires-Dist: torchvision; extra == "test"
16
- Requires-Dist: pyyaml; extra == "test"
17
- Requires-Dist: openai; extra == "test"
18
- Requires-Dist: flet-webview; extra == "test"
13
+ Requires-Dist: flet-video; extra == "test"
14
+ Requires-Dist: pydantic; extra == "test"
19
15
  Requires-Dist: pymupdf; extra == "test"
20
- Requires-Dist: faker; extra == "test"
21
- Requires-Dist: pydevd-pycharm; extra == "test"
22
- Requires-Dist: distributed; extra == "test"
23
- Requires-Dist: contexttimer; extra == "test"
24
- Requires-Dist: semver; extra == "test"
25
- Requires-Dist: bokeh; extra == "test"
26
- Requires-Dist: torchaudio; extra == "test"
27
- Requires-Dist: huggingface_hub; extra == "test"
28
- Requires-Dist: google-auth-oauthlib; extra == "test"
29
- Requires-Dist: openpyxl; extra == "test"
30
- Requires-Dist: docker; extra == "test"
16
+ Requires-Dist: flet-webview; extra == "test"
17
+ Requires-Dist: logfire[fastapi]; extra == "test"
18
+ Requires-Dist: sre_yield; extra == "test"
19
+ Requires-Dist: peft; extra == "test"
20
+ Requires-Dist: pandas; extra == "test"
31
21
  Requires-Dist: pytest-cov; extra == "test"
32
- Requires-Dist: uvicorn[standard]; extra == "test"
22
+ Requires-Dist: google-auth-oauthlib; extra == "test"
23
+ Requires-Dist: json_repair; extra == "test"
24
+ Requires-Dist: huggingface_hub; extra == "test"
25
+ Requires-Dist: logfire; extra == "test"
33
26
  Requires-Dist: html2text; extra == "test"
27
+ Requires-Dist: openai; extra == "test"
28
+ Requires-Dist: pydevd-pycharm; extra == "test"
29
+ Requires-Dist: bokeh; extra == "test"
30
+ Requires-Dist: dask[bag]; extra == "test"
31
+ Requires-Dist: pydantic-ai[logfire,openai]; extra == "test"
32
+ Requires-Dist: contexttimer; extra == "test"
33
+ Requires-Dist: flet[all]; extra == "test"
34
34
  Requires-Dist: google-api-python-client; extra == "test"
35
- Requires-Dist: sentence_transformers; extra == "test"
36
- Requires-Dist: logfire; extra == "test"
35
+ Requires-Dist: tabulate; extra == "test"
36
+ Requires-Dist: deepmerge; extra == "test"
37
+ Requires-Dist: tinynetrc; extra == "test"
38
+ Requires-Dist: distributed; extra == "test"
39
+ Requires-Dist: yamlscript; extra == "test"
40
+ Requires-Dist: ollama; extra == "test"
37
41
  Requires-Dist: Unidecode; extra == "test"
38
- Requires-Dist: diskcache; extra == "test"
39
- Requires-Dist: flet[all]; extra == "test"
40
- Requires-Dist: pandas; extra == "test"
42
+ Requires-Dist: semver; extra == "test"
43
+ Requires-Dist: uvicorn[standard]; extra == "test"
44
+ Requires-Dist: docker; extra == "test"
45
+ Requires-Dist: faker; extra == "test"
41
46
  Requires-Dist: tokenizers; extra == "test"
42
- Requires-Dist: fastapi; extra == "test"
43
- Requires-Dist: peft; extra == "test"
44
- Requires-Dist: json_repair; extra == "test"
45
- Requires-Dist: google-auth; extra == "test"
46
47
  Requires-Dist: transformers[sentencepiece]; extra == "test"
47
- Requires-Dist: tabulate; extra == "test"
48
- Requires-Dist: logfire[fastapi]; extra == "test"
49
- Requires-Dist: ollama; extra == "test"
50
- Requires-Dist: flet-video; extra == "test"
51
- Requires-Dist: deepmerge; extra == "test"
52
- Requires-Dist: sre_yield; extra == "test"
53
- Requires-Dist: pydantic; extra == "test"
54
- Requires-Dist: pydantic-ai[logfire,openai]; extra == "test"
55
- Requires-Dist: dask[bag]; extra == "test"
48
+ Requires-Dist: sentence_transformers; extra == "test"
56
49
  Requires-Dist: google-auth-httplib2; extra == "test"
50
+ Requires-Dist: pymupdf4llm; extra == "test"
51
+ Requires-Dist: torchaudio; extra == "test"
52
+ Requires-Dist: google-auth; extra == "test"
53
+ Requires-Dist: diskcache; extra == "test"
54
+ Requires-Dist: fastapi; extra == "test"
55
+ Requires-Dist: openpyxl; extra == "test"
56
+ Requires-Dist: torchvision; extra == "test"
57
57
  Provides-Extra: yaml
58
- Requires-Dist: pyyaml; extra == "yaml"
58
+ Requires-Dist: yamlscript; extra == "yaml"
59
59
  Provides-Extra: logging
60
60
  Requires-Dist: logfire; extra == "logging"
61
61
  Requires-Dist: semver; extra == "logging"
@@ -31,6 +31,7 @@ setup.py
31
31
  ./fmtr/tools/name_tools.py
32
32
  ./fmtr/tools/netrc_tools.py
33
33
  ./fmtr/tools/openai_tools.py
34
+ ./fmtr/tools/packaging_tools.py
34
35
  ./fmtr/tools/parallel_tools.py
35
36
  ./fmtr/tools/path_tools.py
36
37
  ./fmtr/tools/pdf_tools.py
@@ -113,51 +113,51 @@ tabulate
113
113
  openpyxl
114
114
 
115
115
  [test]
116
- pymupdf4llm
117
116
  pydantic-settings
118
- tinynetrc
119
- torchvision
120
- pyyaml
121
- openai
122
- flet-webview
117
+ flet-video
118
+ pydantic
123
119
  pymupdf
124
- faker
125
- pydevd-pycharm
126
- distributed
127
- contexttimer
128
- semver
129
- bokeh
130
- torchaudio
131
- huggingface_hub
132
- google-auth-oauthlib
133
- openpyxl
134
- docker
120
+ flet-webview
121
+ logfire[fastapi]
122
+ sre_yield
123
+ peft
124
+ pandas
135
125
  pytest-cov
136
- uvicorn[standard]
126
+ google-auth-oauthlib
127
+ json_repair
128
+ huggingface_hub
129
+ logfire
137
130
  html2text
131
+ openai
132
+ pydevd-pycharm
133
+ bokeh
134
+ dask[bag]
135
+ pydantic-ai[logfire,openai]
136
+ contexttimer
137
+ flet[all]
138
138
  google-api-python-client
139
- sentence_transformers
140
- logfire
139
+ tabulate
140
+ deepmerge
141
+ tinynetrc
142
+ distributed
143
+ yamlscript
144
+ ollama
141
145
  Unidecode
142
- diskcache
143
- flet[all]
144
- pandas
146
+ semver
147
+ uvicorn[standard]
148
+ docker
149
+ faker
145
150
  tokenizers
146
- fastapi
147
- peft
148
- json_repair
149
- google-auth
150
151
  transformers[sentencepiece]
151
- tabulate
152
- logfire[fastapi]
153
- ollama
154
- flet-video
155
- deepmerge
156
- sre_yield
157
- pydantic
158
- pydantic-ai[logfire,openai]
159
- dask[bag]
152
+ sentence_transformers
160
153
  google-auth-httplib2
154
+ pymupdf4llm
155
+ torchaudio
156
+ google-auth
157
+ diskcache
158
+ fastapi
159
+ openpyxl
160
+ torchvision
161
161
 
162
162
  [tokenization]
163
163
  tokenizers
@@ -169,4 +169,4 @@ Unidecode
169
169
  semver
170
170
 
171
171
  [yaml]
172
- pyyaml
172
+ yamlscript
@@ -1 +0,0 @@
1
- 1.1.8
@@ -1,23 +0,0 @@
1
- from typing import Any
2
- from yaml import CLoader as Loader, CDumper as Dumper
3
- from yaml import load, dump
4
-
5
-
6
- def to_yaml(obj: Any) -> str:
7
- """
8
-
9
-
10
-
11
- """
12
- yaml_str = dump(obj, allow_unicode=True, Dumper=Dumper)
13
- return yaml_str
14
-
15
-
16
- def from_yaml(yaml_str: str) -> Any:
17
- """
18
-
19
-
20
-
21
- """
22
- obj = load(yaml_str, Loader=Loader)
23
- return obj
@@ -1,2 +0,0 @@
1
- docker
2
- fmtr
File without changes
File without changes
File without changes
File without changes