fmtr.tools 1.1.9__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.9 → fmtr_tools-1.1.10}/PKG-INFO +36 -36
  2. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/__init__.py +1 -0
  3. fmtr_tools-1.1.10/fmtr/tools/packaging_tools.py +14 -0
  4. fmtr_tools-1.1.10/fmtr/tools/version +1 -0
  5. fmtr_tools-1.1.10/fmtr/tools/yaml_tools.py +69 -0
  6. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr.tools.egg-info/PKG-INFO +36 -36
  7. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr.tools.egg-info/SOURCES.txt +1 -0
  8. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr.tools.egg-info/requires.txt +35 -35
  9. fmtr_tools-1.1.10/fmtr.tools.egg-info/top_level.txt +1 -0
  10. fmtr_tools-1.1.9/fmtr/tools/version +0 -1
  11. fmtr_tools-1.1.9/fmtr/tools/yaml_tools.py +0 -23
  12. fmtr_tools-1.1.9/fmtr.tools.egg-info/top_level.txt +0 -2
  13. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/LICENSE +0 -0
  14. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/README.md +0 -0
  15. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/ai_tools/__init__.py +0 -0
  16. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/ai_tools/agentic_tools.py +0 -0
  17. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/ai_tools/inference_tools.py +0 -0
  18. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/api_tools.py +0 -0
  19. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/async_tools.py +0 -0
  20. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/augmentation_tools.py +0 -0
  21. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/caching_tools.py +0 -0
  22. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/console_script_tools.py +0 -0
  23. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/constants.py +0 -0
  24. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/data_modelling_tools.py +0 -0
  25. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/dataclass_tools.py +0 -0
  26. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/datatype_tools.py +0 -0
  27. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/debugging_tools.py +0 -0
  28. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/docker_tools.py +0 -0
  29. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/environment_tools.py +0 -0
  30. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/function_tools.py +0 -0
  31. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/google_api_tools.py +0 -0
  32. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/hash_tools.py +0 -0
  33. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/hfh_tools.py +0 -0
  34. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/html_tools.py +0 -0
  35. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/import_tools.py +0 -0
  36. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/inspection_tools.py +0 -0
  37. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/interface_tools.py +0 -0
  38. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/iterator_tools.py +0 -0
  39. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/json_fix_tools.py +0 -0
  40. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/json_tools.py +0 -0
  41. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/logging_tools.py +0 -0
  42. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/merging_tools.py +0 -0
  43. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/metric_tools.py +0 -0
  44. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/name_tools.py +0 -0
  45. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/netrc_tools.py +0 -0
  46. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/openai_tools.py +0 -0
  47. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/parallel_tools.py +0 -0
  48. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/path_tools.py +0 -0
  49. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/pdf_tools.py +0 -0
  50. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/platform_tools.py +0 -0
  51. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/process_tools.py +0 -0
  52. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/profiling_tools.py +0 -0
  53. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/random_tools.py +0 -0
  54. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/semantic_tools.py +0 -0
  55. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/settings_tools.py +0 -0
  56. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/spaces_tools.py +0 -0
  57. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/string_tools.py +0 -0
  58. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/tabular_tools.py +0 -0
  59. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/tests/__init__.py +0 -0
  60. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/tests/conftest.py +0 -0
  61. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/tests/helpers.py +0 -0
  62. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/tests/test_datatype.py +0 -0
  63. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/tests/test_environment.py +0 -0
  64. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/tests/test_json.py +0 -0
  65. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/tests/test_path.py +0 -0
  66. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/tests/test_yaml.py +0 -0
  67. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/tokenization_tools.py +0 -0
  68. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/tools.py +0 -0
  69. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/unicode_tools.py +0 -0
  70. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr/tools/version_tools.py +0 -0
  71. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr.tools.egg-info/dependency_links.txt +0 -0
  72. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/fmtr.tools.egg-info/entry_points.txt +0 -0
  73. {fmtr_tools-1.1.9 → fmtr_tools-1.1.10}/setup.cfg +0 -0
  74. {fmtr_tools-1.1.9 → 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.9
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: json_repair; extra == "test"
13
- Requires-Dist: pydantic-ai[logfire,openai]; extra == "test"
12
+ Requires-Dist: pydantic-settings; extra == "test"
13
+ Requires-Dist: flet-video; extra == "test"
14
+ Requires-Dist: pydantic; extra == "test"
15
+ Requires-Dist: pymupdf; 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"
14
21
  Requires-Dist: pytest-cov; 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"
26
+ Requires-Dist: html2text; extra == "test"
15
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
+ Requires-Dist: google-api-python-client; extra == "test"
16
35
  Requires-Dist: tabulate; extra == "test"
17
- Requires-Dist: google-auth-httplib2; extra == "test"
18
- Requires-Dist: openpyxl; extra == "test"
19
- Requires-Dist: fastapi; 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"
20
41
  Requires-Dist: Unidecode; extra == "test"
21
- Requires-Dist: flet[all]; extra == "test"
22
- Requires-Dist: dask[bag]; extra == "test"
42
+ Requires-Dist: semver; extra == "test"
23
43
  Requires-Dist: uvicorn[standard]; extra == "test"
24
- Requires-Dist: pydevd-pycharm; extra == "test"
25
- Requires-Dist: huggingface_hub; extra == "test"
26
- Requires-Dist: logfire; extra == "test"
27
- Requires-Dist: pyyaml; extra == "test"
28
- Requires-Dist: sre_yield; extra == "test"
29
44
  Requires-Dist: docker; extra == "test"
30
- Requires-Dist: flet-webview; extra == "test"
31
- Requires-Dist: logfire[fastapi]; extra == "test"
32
- Requires-Dist: bokeh; extra == "test"
33
- Requires-Dist: pydantic; extra == "test"
34
- Requires-Dist: pandas; extra == "test"
35
- Requires-Dist: semver; extra == "test"
36
45
  Requires-Dist: faker; extra == "test"
37
- Requires-Dist: contexttimer; extra == "test"
46
+ Requires-Dist: tokenizers; extra == "test"
47
+ Requires-Dist: transformers[sentencepiece]; extra == "test"
48
+ Requires-Dist: sentence_transformers; extra == "test"
49
+ Requires-Dist: google-auth-httplib2; extra == "test"
38
50
  Requires-Dist: pymupdf4llm; extra == "test"
39
- Requires-Dist: pydantic-settings; extra == "test"
40
- Requires-Dist: peft; extra == "test"
41
51
  Requires-Dist: torchaudio; extra == "test"
42
52
  Requires-Dist: google-auth; extra == "test"
43
- Requires-Dist: flet-video; extra == "test"
44
- Requires-Dist: tinynetrc; extra == "test"
45
- Requires-Dist: torchvision; extra == "test"
46
- Requires-Dist: google-auth-oauthlib; extra == "test"
47
- Requires-Dist: deepmerge; extra == "test"
48
- Requires-Dist: distributed; extra == "test"
49
- Requires-Dist: transformers[sentencepiece]; extra == "test"
50
- Requires-Dist: ollama; extra == "test"
51
- Requires-Dist: pymupdf; extra == "test"
52
- Requires-Dist: html2text; extra == "test"
53
- Requires-Dist: sentence_transformers; extra == "test"
54
- Requires-Dist: tokenizers; extra == "test"
55
- Requires-Dist: google-api-python-client; extra == "test"
56
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
@@ -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.9
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: json_repair; extra == "test"
13
- Requires-Dist: pydantic-ai[logfire,openai]; extra == "test"
12
+ Requires-Dist: pydantic-settings; extra == "test"
13
+ Requires-Dist: flet-video; extra == "test"
14
+ Requires-Dist: pydantic; extra == "test"
15
+ Requires-Dist: pymupdf; 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"
14
21
  Requires-Dist: pytest-cov; 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"
26
+ Requires-Dist: html2text; extra == "test"
15
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
+ Requires-Dist: google-api-python-client; extra == "test"
16
35
  Requires-Dist: tabulate; extra == "test"
17
- Requires-Dist: google-auth-httplib2; extra == "test"
18
- Requires-Dist: openpyxl; extra == "test"
19
- Requires-Dist: fastapi; 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"
20
41
  Requires-Dist: Unidecode; extra == "test"
21
- Requires-Dist: flet[all]; extra == "test"
22
- Requires-Dist: dask[bag]; extra == "test"
42
+ Requires-Dist: semver; extra == "test"
23
43
  Requires-Dist: uvicorn[standard]; extra == "test"
24
- Requires-Dist: pydevd-pycharm; extra == "test"
25
- Requires-Dist: huggingface_hub; extra == "test"
26
- Requires-Dist: logfire; extra == "test"
27
- Requires-Dist: pyyaml; extra == "test"
28
- Requires-Dist: sre_yield; extra == "test"
29
44
  Requires-Dist: docker; extra == "test"
30
- Requires-Dist: flet-webview; extra == "test"
31
- Requires-Dist: logfire[fastapi]; extra == "test"
32
- Requires-Dist: bokeh; extra == "test"
33
- Requires-Dist: pydantic; extra == "test"
34
- Requires-Dist: pandas; extra == "test"
35
- Requires-Dist: semver; extra == "test"
36
45
  Requires-Dist: faker; extra == "test"
37
- Requires-Dist: contexttimer; extra == "test"
46
+ Requires-Dist: tokenizers; extra == "test"
47
+ Requires-Dist: transformers[sentencepiece]; extra == "test"
48
+ Requires-Dist: sentence_transformers; extra == "test"
49
+ Requires-Dist: google-auth-httplib2; extra == "test"
38
50
  Requires-Dist: pymupdf4llm; extra == "test"
39
- Requires-Dist: pydantic-settings; extra == "test"
40
- Requires-Dist: peft; extra == "test"
41
51
  Requires-Dist: torchaudio; extra == "test"
42
52
  Requires-Dist: google-auth; extra == "test"
43
- Requires-Dist: flet-video; extra == "test"
44
- Requires-Dist: tinynetrc; extra == "test"
45
- Requires-Dist: torchvision; extra == "test"
46
- Requires-Dist: google-auth-oauthlib; extra == "test"
47
- Requires-Dist: deepmerge; extra == "test"
48
- Requires-Dist: distributed; extra == "test"
49
- Requires-Dist: transformers[sentencepiece]; extra == "test"
50
- Requires-Dist: ollama; extra == "test"
51
- Requires-Dist: pymupdf; extra == "test"
52
- Requires-Dist: html2text; extra == "test"
53
- Requires-Dist: sentence_transformers; extra == "test"
54
- Requires-Dist: tokenizers; extra == "test"
55
- Requires-Dist: google-api-python-client; extra == "test"
56
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
- json_repair
117
- pydantic-ai[logfire,openai]
116
+ pydantic-settings
117
+ flet-video
118
+ pydantic
119
+ pymupdf
120
+ flet-webview
121
+ logfire[fastapi]
122
+ sre_yield
123
+ peft
124
+ pandas
118
125
  pytest-cov
126
+ google-auth-oauthlib
127
+ json_repair
128
+ huggingface_hub
129
+ logfire
130
+ html2text
119
131
  openai
132
+ pydevd-pycharm
133
+ bokeh
134
+ dask[bag]
135
+ pydantic-ai[logfire,openai]
136
+ contexttimer
137
+ flet[all]
138
+ google-api-python-client
120
139
  tabulate
121
- google-auth-httplib2
122
- openpyxl
123
- fastapi
140
+ deepmerge
141
+ tinynetrc
142
+ distributed
143
+ yamlscript
144
+ ollama
124
145
  Unidecode
125
- flet[all]
126
- dask[bag]
146
+ semver
127
147
  uvicorn[standard]
128
- pydevd-pycharm
129
- huggingface_hub
130
- logfire
131
- pyyaml
132
- sre_yield
133
148
  docker
134
- flet-webview
135
- logfire[fastapi]
136
- bokeh
137
- pydantic
138
- pandas
139
- semver
140
149
  faker
141
- contexttimer
150
+ tokenizers
151
+ transformers[sentencepiece]
152
+ sentence_transformers
153
+ google-auth-httplib2
142
154
  pymupdf4llm
143
- pydantic-settings
144
- peft
145
155
  torchaudio
146
156
  google-auth
147
- flet-video
148
- tinynetrc
149
- torchvision
150
- google-auth-oauthlib
151
- deepmerge
152
- distributed
153
- transformers[sentencepiece]
154
- ollama
155
- pymupdf
156
- html2text
157
- sentence_transformers
158
- tokenizers
159
- google-api-python-client
160
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.9
@@ -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