toolchemy 0.2.185__tar.gz → 0.2.186__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.
Files changed (35) hide show
  1. {toolchemy-0.2.185 → toolchemy-0.2.186}/PKG-INFO +2 -2
  2. {toolchemy-0.2.185 → toolchemy-0.2.186}/pyproject.toml +2 -2
  3. toolchemy-0.2.186/toolchemy/__main__.py +18 -0
  4. {toolchemy-0.2.185 → toolchemy-0.2.186}/toolchemy/ai/prompter.py +2 -2
  5. toolchemy-0.2.185/toolchemy/__main__.py +0 -9
  6. {toolchemy-0.2.185 → toolchemy-0.2.186}/LICENSE +0 -0
  7. {toolchemy-0.2.185 → toolchemy-0.2.186}/toolchemy/ai/clients/__init__.py +0 -0
  8. {toolchemy-0.2.185 → toolchemy-0.2.186}/toolchemy/ai/clients/common.py +0 -0
  9. {toolchemy-0.2.185 → toolchemy-0.2.186}/toolchemy/ai/clients/dummy_model_client.py +0 -0
  10. {toolchemy-0.2.185 → toolchemy-0.2.186}/toolchemy/ai/clients/factory.py +0 -0
  11. {toolchemy-0.2.185 → toolchemy-0.2.186}/toolchemy/ai/clients/gemini_client.py +0 -0
  12. {toolchemy-0.2.185 → toolchemy-0.2.186}/toolchemy/ai/clients/ollama_client.py +0 -0
  13. {toolchemy-0.2.185 → toolchemy-0.2.186}/toolchemy/ai/clients/openai_client.py +0 -0
  14. {toolchemy-0.2.185 → toolchemy-0.2.186}/toolchemy/ai/clients/pricing.py +0 -0
  15. {toolchemy-0.2.185 → toolchemy-0.2.186}/toolchemy/ai/clients/whisper_client.py +0 -0
  16. {toolchemy-0.2.185 → toolchemy-0.2.186}/toolchemy/ai/trackers/__init__.py +0 -0
  17. {toolchemy-0.2.185 → toolchemy-0.2.186}/toolchemy/ai/trackers/common.py +0 -0
  18. {toolchemy-0.2.185 → toolchemy-0.2.186}/toolchemy/ai/trackers/mlflow_tracker.py +0 -0
  19. {toolchemy-0.2.185 → toolchemy-0.2.186}/toolchemy/ai/trackers/neptune_tracker.py +0 -0
  20. {toolchemy-0.2.185 → toolchemy-0.2.186}/toolchemy/db/lightdb.py +0 -0
  21. {toolchemy-0.2.185 → toolchemy-0.2.186}/toolchemy/utils/__init__.py +0 -0
  22. {toolchemy-0.2.185 → toolchemy-0.2.186}/toolchemy/utils/at_exit_collector.py +0 -0
  23. {toolchemy-0.2.185 → toolchemy-0.2.186}/toolchemy/utils/cacher/__init__.py +0 -0
  24. {toolchemy-0.2.185 → toolchemy-0.2.186}/toolchemy/utils/cacher/cacher_diskcache.py +0 -0
  25. {toolchemy-0.2.185 → toolchemy-0.2.186}/toolchemy/utils/cacher/cacher_pickle.py +0 -0
  26. {toolchemy-0.2.185 → toolchemy-0.2.186}/toolchemy/utils/cacher/cacher_shelve.py +0 -0
  27. {toolchemy-0.2.185 → toolchemy-0.2.186}/toolchemy/utils/cacher/common.py +0 -0
  28. {toolchemy-0.2.185 → toolchemy-0.2.186}/toolchemy/utils/datestimes.py +0 -0
  29. {toolchemy-0.2.185 → toolchemy-0.2.186}/toolchemy/utils/locations.py +0 -0
  30. {toolchemy-0.2.185 → toolchemy-0.2.186}/toolchemy/utils/logger.py +0 -0
  31. {toolchemy-0.2.185 → toolchemy-0.2.186}/toolchemy/utils/timer.py +0 -0
  32. {toolchemy-0.2.185 → toolchemy-0.2.186}/toolchemy/utils/utils.py +0 -0
  33. {toolchemy-0.2.185 → toolchemy-0.2.186}/toolchemy/vision/__init__.py +0 -0
  34. {toolchemy-0.2.185 → toolchemy-0.2.186}/toolchemy/vision/caption_overlay.py +0 -0
  35. {toolchemy-0.2.185 → toolchemy-0.2.186}/toolchemy/vision/image.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: toolchemy
3
- Version: 0.2.185
3
+ Version: 0.2.186
4
4
  Summary: a set of auxiliary programming tools
5
5
  License-File: LICENSE
6
6
  Author: Cyprian Nosek
@@ -16,7 +16,7 @@ Requires-Dist: mlflow (>=3.8.1,<4.0.0)
16
16
  Requires-Dist: neptune-scale (>=0.13.0,<0.14.0)
17
17
  Requires-Dist: numpy (==2.0.2)
18
18
  Requires-Dist: ollama (>=0.6.0,<0.7.0)
19
- Requires-Dist: openai (>=1.82.1,<2.0.0)
19
+ Requires-Dist: openai (>=2.16.0,<3.0.0)
20
20
  Requires-Dist: pillow (>=11.2.1,<12.0.0)
21
21
  Requires-Dist: python-dateutil (>=2.9.0.post0,<3.0.0)
22
22
  Requires-Dist: tenacity (>=9.1.2,<10.0.0)
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "toolchemy"
3
- version = "0.2.185"
3
+ version = "0.2.186"
4
4
  description = "a set of auxiliary programming tools"
5
5
  authors = ["Cyprian Nosek <cyprian.nosek@protonmail.com>"]
6
6
 
@@ -11,7 +11,7 @@ torch = "^2.7.0"
11
11
  numpy = "2.0.2"
12
12
  mlflow = "^3.8.1"
13
13
  neptune-scale = "^0.13.0"
14
- openai = "^1.82.1"
14
+ openai = "^2.16.0"
15
15
  pillow = "^11.2.1"
16
16
  wyoming = "^1.7.1"
17
17
  python-dateutil = "^2.9.0.post0"
@@ -0,0 +1,18 @@
1
+ import click
2
+
3
+ from toolchemy.ai.prompter import run_studio
4
+
5
+
6
+ @click.group(context_settings=dict(allow_interspersed_args=False))
7
+ def cli():
8
+ pass
9
+
10
+
11
+ @cli.command(name="prompt-studio")
12
+ @click.option("--registry-dir", "-r", type=str, required=False, default=None, help="Optional path to the registry dir")
13
+ def prompt_studio(registry_dir: str | None = None):
14
+ run_studio(registry_path=registry_dir)
15
+
16
+
17
+ if __name__ == '__main__':
18
+ cli()
@@ -27,8 +27,8 @@ class IPrompter(ABC):
27
27
  pass
28
28
 
29
29
 
30
- def run_studio():
31
- prompter = PrompterMLflow()
30
+ def run_studio(registry_path: str | None = None):
31
+ prompter = PrompterMLflow(registry_store_dir=registry_path)
32
32
  prompter.run_studio()
33
33
 
34
34
 
@@ -1,9 +0,0 @@
1
- from toolchemy.utils.logger import get_logger
2
-
3
-
4
- def main():
5
- logger = get_logger(log_dir="/tmp")
6
- logger.info("test")
7
-
8
- if __name__ == '__main__':
9
- main()
File without changes