diff --git a/examples/drivers/example_agent.py b/examples/drivers/example_agent.py index 4a41fd5..f1b8466 100644 --- a/examples/drivers/example_agent.py +++ b/examples/drivers/example_agent.py @@ -1,14 +1,17 @@ from griptape.black_forest.drivers.black_forest_image_generation_driver import ( BlackForestImageGenerationDriver, ) +from griptape.engines import PromptImageGenerationEngine from griptape.structures import Agent from griptape.tools import FileManagerTool, PromptImageGenerationTool agent = Agent( tools=[ PromptImageGenerationTool( - image_generation_driver=BlackForestImageGenerationDriver( - model="flux-pro-1.1" + engine=PromptImageGenerationEngine( + image_generation_driver=BlackForestImageGenerationDriver( + model="flux-pro-1.1" + ) ), off_prompt=True, ), diff --git a/examples/drivers/example_agent_canny.py b/examples/drivers/example_agent_canny.py index 7830e93..80da8a9 100644 --- a/examples/drivers/example_agent_canny.py +++ b/examples/drivers/example_agent_canny.py @@ -1,15 +1,18 @@ from griptape.black_forest.drivers.black_forest_image_generation_driver import ( BlackForestImageGenerationDriver, ) +from griptape.engines import VariationImageGenerationEngine from griptape.structures import Agent from griptape.tools import FileManagerTool, VariationImageGenerationTool agent = Agent( tools=[ VariationImageGenerationTool( - image_generation_driver=BlackForestImageGenerationDriver( - model="flux-pro-1.0-canny", # flux-pro-1.0-canny is required for Canny. - guidance_canny=100, + engine=VariationImageGenerationEngine( + image_generation_driver=BlackForestImageGenerationDriver( + model="flux-pro-1.0-canny", # flux-pro-1.0-canny is required for Canny. + guidance_canny=100, + ) ), off_prompt=True, ), diff --git a/examples/drivers/example_agent_depth.py b/examples/drivers/example_agent_depth.py index c2e4924..fa716e2 100644 --- a/examples/drivers/example_agent_depth.py +++ b/examples/drivers/example_agent_depth.py @@ -1,14 +1,17 @@ from griptape.black_forest.drivers.black_forest_image_generation_driver import ( BlackForestImageGenerationDriver, ) +from griptape.engines import VariationImageGenerationEngine from griptape.structures import Agent from griptape.tools import FileManagerTool, VariationImageGenerationTool agent = Agent( tools=[ VariationImageGenerationTool( - image_generation_driver=BlackForestImageGenerationDriver( - model="flux-pro-1.0-depth", # flux-pro-1.0-depth is required for Depth. + engine=VariationImageGenerationEngine( + image_generation_driver=BlackForestImageGenerationDriver( + model="flux-pro-1.0-depth", # flux-pro-1.0-depth is required for Depth. + ) ), off_prompt=True, ), diff --git a/examples/drivers/example_agent_inpainting.py b/examples/drivers/example_agent_inpainting.py index 3fdde68..e951c82 100644 --- a/examples/drivers/example_agent_inpainting.py +++ b/examples/drivers/example_agent_inpainting.py @@ -1,14 +1,17 @@ from griptape.black_forest.drivers.black_forest_image_generation_driver import ( BlackForestImageGenerationDriver, ) +from griptape.engines import InpaintingImageGenerationEngine from griptape.structures import Agent from griptape.tools import FileManagerTool, InpaintingImageGenerationTool agent = Agent( tools=[ InpaintingImageGenerationTool( - image_generation_driver=BlackForestImageGenerationDriver( - model="flux-pro-1.0", # flux-pro-1.0 is required for inpainting. + engine=InpaintingImageGenerationEngine( + image_generation_driver=BlackForestImageGenerationDriver( + model="flux-pro-1.0", # flux-pro-1.0 is required for inpainting. + ) ), off_prompt=True, ), diff --git a/examples/drivers/example_agent_outpainting.py b/examples/drivers/example_agent_outpainting.py index 16ba83d..592a4af 100644 --- a/examples/drivers/example_agent_outpainting.py +++ b/examples/drivers/example_agent_outpainting.py @@ -1,14 +1,17 @@ from griptape.black_forest.drivers.black_forest_image_generation_driver import ( BlackForestImageGenerationDriver, ) +from griptape.engines import OutpaintingImageGenerationEngine from griptape.structures import Agent from griptape.tools import FileManagerTool, OutpaintingImageGenerationTool agent = Agent( tools=[ OutpaintingImageGenerationTool( - image_generation_driver=BlackForestImageGenerationDriver( - model="flux-pro-1.0", # flux-pro-1.0 is required for outpainting. + engine=OutpaintingImageGenerationEngine( + image_generation_driver=BlackForestImageGenerationDriver( + model="flux-pro-1.0", # flux-pro-1.0 is required for outpainting. + ) ), off_prompt=True, ), diff --git a/examples/drivers/example_agent_variation.py b/examples/drivers/example_agent_variation.py index 7023bf7..bf5d103 100644 --- a/examples/drivers/example_agent_variation.py +++ b/examples/drivers/example_agent_variation.py @@ -1,6 +1,7 @@ from griptape.black_forest.drivers.black_forest_image_generation_driver import ( BlackForestImageGenerationDriver, ) +from griptape.engines import VariationImageGenerationEngine from griptape.structures import Agent from griptape.tools import ( FileManagerTool, @@ -10,9 +11,11 @@ agent = Agent( tools=[ VariationImageGenerationTool( - image_generation_driver=BlackForestImageGenerationDriver( - model="flux-pro-1.1-ultra", # flux-pro-1.1-ultra is a better model for image variation - image_prompt_strength=0.7, + engine=VariationImageGenerationEngine( + image_generation_driver=BlackForestImageGenerationDriver( + model="flux-pro-1.1-ultra", # flux-pro-1.1-ultra is a better model for image variation + image_prompt_strength=0.7, + ) ), off_prompt=True, ), diff --git a/poetry.lock b/poetry.lock index bafe96c..50e02c9 100644 --- a/poetry.lock +++ b/poetry.lock @@ -221,6 +221,28 @@ files = [ {file = "distro-1.9.0.tar.gz", hash = "sha256:2fa77c6fd8940f116ee1d6b94a2f90b13b5ea8d019b98bc8bafdcabcdd9bdbed"}, ] +[[package]] +name = "docker" +version = "7.1.0" +description = "A Python library for the Docker Engine API." +optional = false +python-versions = ">=3.8" +files = [ + {file = "docker-7.1.0-py3-none-any.whl", hash = "sha256:c96b93b7f0a746f9e77d325bcfb87422a3d8bd4f03136ae8a85b37f1898d5fc0"}, + {file = "docker-7.1.0.tar.gz", hash = "sha256:ad8c70e6e3f8926cb8a92619b832b4ea5299e2831c14284663184e200546fa6c"}, +] + +[package.dependencies] +pywin32 = {version = ">=304", markers = "sys_platform == \"win32\""} +requests = ">=2.26.0" +urllib3 = ">=1.26.0" + +[package.extras] +dev = ["coverage (==7.2.7)", "pytest (==7.4.2)", "pytest-cov (==4.1.0)", "pytest-timeout (==2.1.0)", "ruff (==0.1.8)"] +docs = ["myst-parser (==0.18.0)", "sphinx (==5.1.1)"] +ssh = ["paramiko (>=2.4.3)"] +websockets = ["websocket-client (>=1.3.0)"] + [[package]] name = "exceptiongroup" version = "1.2.2" @@ -267,29 +289,33 @@ name = "griptape" version = "0.34.3" description = "Modular Python framework for LLM workflows, tools, memory, and data." optional = false -python-versions = "^3.9" -files = [] -develop = false +python-versions = "<4.0,>=3.9" +files = [ + {file = "griptape-0.34.3-py3-none-any.whl", hash = "sha256:2556f55fae9f7f5814d9f7e3a8b2013d08a82bcf758f7d8ad3b09c40247afa64"}, + {file = "griptape-0.34.3.tar.gz", hash = "sha256:df7b24f60756f5079d39932a80d33c8a1f77a6ec913b4a806aa4b68f02d9ec44"}, +] [package.dependencies] -attrs = "^24.2.0" -filetype = "^1.2" -jinja2 = "^3.1.4" -marshmallow = "^3.21.3" -marshmallow-enum = "^1.5.1" -numpy = "~2.0.2" -openai = "^1.1.1" -pillow = {version = "^11.0.0", optional = true} -pyyaml = "^6.0.1" -requests = "^2.32.0" -rich = "^13.7.1" -schema = "^0.7.7" -tenacity = "^8.5.0" -tiktoken = "^0.8" -wrapt = "^1.16.0" +attrs = ">=24.2.0,<25.0.0" +docker = ">=7.1.0,<8.0.0" +filetype = ">=1.2,<2.0" +jinja2 = ">=3.1.4,<4.0.0" +marshmallow = ">=3.21.3,<4.0.0" +marshmallow-enum = ">=1.5.1,<2.0.0" +numpy = ">=1.26.4,<2.0.0" +openai = ">=1.1.1,<2.0.0" +pillow = {version = ">=11.0.0,<12.0.0", optional = true, markers = "extra == \"drivers-image-generation-huggingface\" or extra == \"loaders-image\" or extra == \"all\""} +pyyaml = ">=6.0.1,<7.0.0" +requests = ">=2.32.0,<3.0.0" +rich = ">=13.7.1,<14.0.0" +schema = ">=0.7.7,<0.8.0" +stringcase = ">=1.2.0,<2.0.0" +tenacity = ">=8.5.0,<9.0.0" +tiktoken = ">=0.8,<0.9" +wrapt = ">=1.16.0,<2.0.0" [package.extras] -all = ["anthropic (>=0.39.0,<0.40.0)", "astrapy (>=1.4,<2.0)", "beautifulsoup4 (>=4.12.3,<5.0.0)", "boto3 (>=1.34.119,<2.0.0)", "cohere (>=5.11.2,<6.0.0)", "diffusers (>=0.31.0,<0.32.0)", "duckduckgo-search (>=6.2.12,<7.0.0)", "elevenlabs (>=1.1.2,<2.0.0)", "exa-py (>=1.1.4,<2.0.0)", "google-generativeai (>=0.8.2,<0.9.0)", "mail-parser (>=4.0.0,<5.0.0)", "markdownify (>=0.13.1,<0.14.0)", "marqo (>=3.7.0,<4.0.0)", "ollama (>=0.3.0,<0.4.0)", "opensearch-py (>=2.3.1,<3.0.0)", "opentelemetry-api (>=1.25.0,<2.0.0)", "opentelemetry-exporter-otlp-proto-http (>=1.25.0,<2.0.0)", "opentelemetry-instrumentation (>=0.49b1,<0.50)", "opentelemetry-instrumentation-threading (>=0.49b1,<0.50)", "opentelemetry-sdk (>=1.25.0,<2.0.0)", "pandas (>=2.2,<3.0)", "pgvector (>=0.3.4,<0.4.0)", "pillow (>=11.0.0,<12.0.0)", "pinecone-client (>=3,<4)", "playwright (>=1.42,<2.0)", "psycopg2-binary (>=2.9.9,<3.0.0)", "pusher (>=3.3.2,<4.0.0)", "pymongo (>=4.8.0,<5.0.0)", "pypdf (>=5.0.1,<6.0.0)", "qdrant-client (>=1.10.1,<2.0.0)", "redis (>=5.1.0,<6.0.0)", "snowflake-sqlalchemy (>=1.6.1,<2.0.0)", "sqlalchemy (>=2.0.31,<3.0.0)", "tavily-python (>=0.5.0,<0.6.0)", "trafilatura (>=1.6,<2.0)", "transformers (>=4.41.1,<5.0.0)", "voyageai (>=0.2.1,<0.3.0)"] +all = ["anthropic (>=0.37.1,<0.38.0)", "astrapy (>=1.4,<2.0)", "azure-core (>=1.31.0,<2.0.0)", "azure-storage-blob (>=12.23.1,<13.0.0)", "beautifulsoup4 (>=4.12.3,<5.0.0)", "boto3 (>=1.34.119,<2.0.0)", "cohere (>=5.11.2,<6.0.0)", "diffusers (>=0.31.0,<0.32.0)", "duckduckgo-search (>=6.2.12,<7.0.0)", "elevenlabs (>=1.1.2,<2.0.0)", "exa-py (>=1.1.4,<2.0.0)", "google-generativeai (>=0.8.2,<0.9.0)", "mail-parser (>=3.15.0,<4.0.0)", "markdownify (>=0.13.1,<0.14.0)", "marqo (>=3.7.0,<4.0.0)", "ollama (>=0.3.0,<0.4.0)", "opensearch-py (>=2.3.1,<3.0.0)", "opentelemetry-api (>=1.25.0,<2.0.0)", "opentelemetry-exporter-otlp-proto-http (>=1.25.0,<2.0.0)", "opentelemetry-instrumentation (>=0.46b0,<0.47)", "opentelemetry-instrumentation-threading (>=0.46b0,<0.47)", "opentelemetry-sdk (>=1.25.0,<2.0.0)", "pandas (>=1.3,<2.0)", "pgvector (>=0.3.4,<0.4.0)", "pillow (>=11.0.0,<12.0.0)", "pinecone-client (>=3,<4)", "playwright (>=1.42,<2.0)", "psycopg2-binary (>=2.9.9,<3.0.0)", "pusher (>=3.3.2,<4.0.0)", "pymongo (>=4.8.0,<5.0.0)", "pypdf (>=5.0.1,<6.0.0)", "qdrant-client (>=1.10.1,<2.0.0)", "redis (>=5.1.0,<6.0.0)", "snowflake-sqlalchemy (>=1.6.1,<2.0.0)", "sqlalchemy (>=2.0.31,<3.0.0)", "tavily-python (>=0.5.0,<0.6.0)", "trafilatura (>=1.6,<2.0)", "transformers (>=4.41.1,<5.0.0)", "voyageai (>=0.2.1,<0.3.0)"] drivers-embedding-amazon-bedrock = ["boto3 (>=1.34.119,<2.0.0)"] drivers-embedding-amazon-sagemaker = ["boto3 (>=1.34.119,<2.0.0)"] drivers-embedding-cohere = ["cohere (>=5.11.2,<6.0.0)"] @@ -301,15 +327,16 @@ drivers-event-listener-amazon-iot = ["boto3 (>=1.34.119,<2.0.0)"] drivers-event-listener-amazon-sqs = ["boto3 (>=1.34.119,<2.0.0)"] drivers-event-listener-pusher = ["pusher (>=3.3.2,<4.0.0)"] drivers-file-manager-amazon-s3 = ["boto3 (>=1.34.119,<2.0.0)"] +drivers-file-manager-griptape-cloud = ["azure-core (>=1.31.0,<2.0.0)", "azure-storage-blob (>=12.23.1,<13.0.0)"] drivers-image-generation-huggingface = ["diffusers (>=0.31.0,<0.32.0)", "pillow (>=11.0.0,<12.0.0)"] drivers-memory-conversation-amazon-dynamodb = ["boto3 (>=1.34.119,<2.0.0)"] drivers-memory-conversation-redis = ["redis (>=5.1.0,<6.0.0)"] -drivers-observability-datadog = ["opentelemetry-api (>=1.25.0,<2.0.0)", "opentelemetry-exporter-otlp-proto-http (>=1.25.0,<2.0.0)", "opentelemetry-instrumentation (>=0.49b1,<0.50)", "opentelemetry-instrumentation-threading (>=0.49b1,<0.50)", "opentelemetry-sdk (>=1.25.0,<2.0.0)"] -drivers-observability-griptape-cloud = ["opentelemetry-api (>=1.25.0,<2.0.0)", "opentelemetry-exporter-otlp-proto-http (>=1.25.0,<2.0.0)", "opentelemetry-instrumentation (>=0.49b1,<0.50)", "opentelemetry-instrumentation-threading (>=0.49b1,<0.50)", "opentelemetry-sdk (>=1.25.0,<2.0.0)"] -drivers-observability-opentelemetry = ["opentelemetry-api (>=1.25.0,<2.0.0)", "opentelemetry-exporter-otlp-proto-http (>=1.25.0,<2.0.0)", "opentelemetry-instrumentation (>=0.49b1,<0.50)", "opentelemetry-instrumentation-threading (>=0.49b1,<0.50)", "opentelemetry-sdk (>=1.25.0,<2.0.0)"] -drivers-prompt-amazon-bedrock = ["anthropic (>=0.39.0,<0.40.0)", "boto3 (>=1.34.119,<2.0.0)"] +drivers-observability-datadog = ["opentelemetry-api (>=1.25.0,<2.0.0)", "opentelemetry-exporter-otlp-proto-http (>=1.25.0,<2.0.0)", "opentelemetry-instrumentation (>=0.46b0,<0.47)", "opentelemetry-instrumentation-threading (>=0.46b0,<0.47)", "opentelemetry-sdk (>=1.25.0,<2.0.0)"] +drivers-observability-griptape-cloud = ["opentelemetry-api (>=1.25.0,<2.0.0)", "opentelemetry-exporter-otlp-proto-http (>=1.25.0,<2.0.0)", "opentelemetry-instrumentation (>=0.46b0,<0.47)", "opentelemetry-instrumentation-threading (>=0.46b0,<0.47)", "opentelemetry-sdk (>=1.25.0,<2.0.0)"] +drivers-observability-opentelemetry = ["opentelemetry-api (>=1.25.0,<2.0.0)", "opentelemetry-exporter-otlp-proto-http (>=1.25.0,<2.0.0)", "opentelemetry-instrumentation (>=0.46b0,<0.47)", "opentelemetry-instrumentation-threading (>=0.46b0,<0.47)", "opentelemetry-sdk (>=1.25.0,<2.0.0)"] +drivers-prompt-amazon-bedrock = ["anthropic (>=0.37.1,<0.38.0)", "boto3 (>=1.34.119,<2.0.0)"] drivers-prompt-amazon-sagemaker = ["boto3 (>=1.34.119,<2.0.0)", "transformers (>=4.41.1,<5.0.0)"] -drivers-prompt-anthropic = ["anthropic (>=0.39.0,<0.40.0)"] +drivers-prompt-anthropic = ["anthropic (>=0.37.1,<0.38.0)"] drivers-prompt-cohere = ["cohere (>=5.11.2,<6.0.0)"] drivers-prompt-google = ["google-generativeai (>=0.8.2,<0.9.0)"] drivers-prompt-huggingface-hub = ["huggingface-hub (>=0.26.2,<0.27.0)", "transformers (>=4.41.1,<5.0.0)"] @@ -334,17 +361,11 @@ drivers-web-scraper-trafilatura = ["trafilatura (>=1.6,<2.0)"] drivers-web-search-duckduckgo = ["duckduckgo-search (>=6.2.12,<7.0.0)"] drivers-web-search-exa = ["exa-py (>=1.1.4,<2.0.0)"] drivers-web-search-tavily = ["tavily-python (>=0.5.0,<0.6.0)"] -loaders-email = ["mail-parser (>=4.0.0,<5.0.0)"] +loaders-email = ["mail-parser (>=3.15.0,<4.0.0)"] loaders-image = ["pillow (>=11.0.0,<12.0.0)"] loaders-pdf = ["pypdf (>=5.0.1,<6.0.0)"] loaders-sql = ["sqlalchemy (>=2.0.31,<3.0.0)"] -[package.source] -type = "git" -url = "https://github.com/griptape-ai/griptape" -reference = "dev" -resolved_reference = "c016350bc60dd9f59cc376e1e8c081fab25ea595" - [[package]] name = "h11" version = "0.14.0" @@ -691,56 +712,47 @@ files = [ [[package]] name = "numpy" -version = "2.0.2" +version = "1.26.4" description = "Fundamental package for array computing in Python" optional = false python-versions = ">=3.9" files = [ - {file = "numpy-2.0.2-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:51129a29dbe56f9ca83438b706e2e69a39892b5eda6cedcb6b0c9fdc9b0d3ece"}, - {file = "numpy-2.0.2-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:f15975dfec0cf2239224d80e32c3170b1d168335eaedee69da84fbe9f1f9cd04"}, - {file = "numpy-2.0.2-cp310-cp310-macosx_14_0_arm64.whl", hash = "sha256:8c5713284ce4e282544c68d1c3b2c7161d38c256d2eefc93c1d683cf47683e66"}, - {file = "numpy-2.0.2-cp310-cp310-macosx_14_0_x86_64.whl", hash = "sha256:becfae3ddd30736fe1889a37f1f580e245ba79a5855bff5f2a29cb3ccc22dd7b"}, - {file = "numpy-2.0.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2da5960c3cf0df7eafefd806d4e612c5e19358de82cb3c343631188991566ccd"}, - {file = "numpy-2.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:496f71341824ed9f3d2fd36cf3ac57ae2e0165c143b55c3a035ee219413f3318"}, - {file = "numpy-2.0.2-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:a61ec659f68ae254e4d237816e33171497e978140353c0c2038d46e63282d0c8"}, - {file = "numpy-2.0.2-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:d731a1c6116ba289c1e9ee714b08a8ff882944d4ad631fd411106a30f083c326"}, - {file = "numpy-2.0.2-cp310-cp310-win32.whl", hash = "sha256:984d96121c9f9616cd33fbd0618b7f08e0cfc9600a7ee1d6fd9b239186d19d97"}, - {file = "numpy-2.0.2-cp310-cp310-win_amd64.whl", hash = "sha256:c7b0be4ef08607dd04da4092faee0b86607f111d5ae68036f16cc787e250a131"}, - {file = "numpy-2.0.2-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:49ca4decb342d66018b01932139c0961a8f9ddc7589611158cb3c27cbcf76448"}, - {file = "numpy-2.0.2-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:11a76c372d1d37437857280aa142086476136a8c0f373b2e648ab2c8f18fb195"}, - {file = "numpy-2.0.2-cp311-cp311-macosx_14_0_arm64.whl", hash = "sha256:807ec44583fd708a21d4a11d94aedf2f4f3c3719035c76a2bbe1fe8e217bdc57"}, - {file = "numpy-2.0.2-cp311-cp311-macosx_14_0_x86_64.whl", hash = "sha256:8cafab480740e22f8d833acefed5cc87ce276f4ece12fdaa2e8903db2f82897a"}, - {file = "numpy-2.0.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a15f476a45e6e5a3a79d8a14e62161d27ad897381fecfa4a09ed5322f2085669"}, - {file = "numpy-2.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:13e689d772146140a252c3a28501da66dfecd77490b498b168b501835041f951"}, - {file = "numpy-2.0.2-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:9ea91dfb7c3d1c56a0e55657c0afb38cf1eeae4544c208dc465c3c9f3a7c09f9"}, - {file = "numpy-2.0.2-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:c1c9307701fec8f3f7a1e6711f9089c06e6284b3afbbcd259f7791282d660a15"}, - {file = "numpy-2.0.2-cp311-cp311-win32.whl", hash = "sha256:a392a68bd329eafac5817e5aefeb39038c48b671afd242710b451e76090e81f4"}, - {file = "numpy-2.0.2-cp311-cp311-win_amd64.whl", hash = "sha256:286cd40ce2b7d652a6f22efdfc6d1edf879440e53e76a75955bc0c826c7e64dc"}, - {file = "numpy-2.0.2-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:df55d490dea7934f330006d0f81e8551ba6010a5bf035a249ef61a94f21c500b"}, - {file = "numpy-2.0.2-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:8df823f570d9adf0978347d1f926b2a867d5608f434a7cff7f7908c6570dcf5e"}, - {file = "numpy-2.0.2-cp312-cp312-macosx_14_0_arm64.whl", hash = "sha256:9a92ae5c14811e390f3767053ff54eaee3bf84576d99a2456391401323f4ec2c"}, - {file = "numpy-2.0.2-cp312-cp312-macosx_14_0_x86_64.whl", hash = "sha256:a842d573724391493a97a62ebbb8e731f8a5dcc5d285dfc99141ca15a3302d0c"}, - {file = "numpy-2.0.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c05e238064fc0610c840d1cf6a13bf63d7e391717d247f1bf0318172e759e692"}, - {file = "numpy-2.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0123ffdaa88fa4ab64835dcbde75dcdf89c453c922f18dced6e27c90d1d0ec5a"}, - {file = "numpy-2.0.2-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:96a55f64139912d61de9137f11bf39a55ec8faec288c75a54f93dfd39f7eb40c"}, - {file = "numpy-2.0.2-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:ec9852fb39354b5a45a80bdab5ac02dd02b15f44b3804e9f00c556bf24b4bded"}, - {file = "numpy-2.0.2-cp312-cp312-win32.whl", hash = "sha256:671bec6496f83202ed2d3c8fdc486a8fc86942f2e69ff0e986140339a63bcbe5"}, - {file = "numpy-2.0.2-cp312-cp312-win_amd64.whl", hash = "sha256:cfd41e13fdc257aa5778496b8caa5e856dc4896d4ccf01841daee1d96465467a"}, - {file = "numpy-2.0.2-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:9059e10581ce4093f735ed23f3b9d283b9d517ff46009ddd485f1747eb22653c"}, - {file = "numpy-2.0.2-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:423e89b23490805d2a5a96fe40ec507407b8ee786d66f7328be214f9679df6dd"}, - {file = "numpy-2.0.2-cp39-cp39-macosx_14_0_arm64.whl", hash = "sha256:2b2955fa6f11907cf7a70dab0d0755159bca87755e831e47932367fc8f2f2d0b"}, - {file = "numpy-2.0.2-cp39-cp39-macosx_14_0_x86_64.whl", hash = "sha256:97032a27bd9d8988b9a97a8c4d2c9f2c15a81f61e2f21404d7e8ef00cb5be729"}, - {file = "numpy-2.0.2-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:1e795a8be3ddbac43274f18588329c72939870a16cae810c2b73461c40718ab1"}, - {file = "numpy-2.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f26b258c385842546006213344c50655ff1555a9338e2e5e02a0756dc3e803dd"}, - {file = "numpy-2.0.2-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:5fec9451a7789926bcf7c2b8d187292c9f93ea30284802a0ab3f5be8ab36865d"}, - {file = "numpy-2.0.2-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:9189427407d88ff25ecf8f12469d4d39d35bee1db5d39fc5c168c6f088a6956d"}, - {file = "numpy-2.0.2-cp39-cp39-win32.whl", hash = "sha256:905d16e0c60200656500c95b6b8dca5d109e23cb24abc701d41c02d74c6b3afa"}, - {file = "numpy-2.0.2-cp39-cp39-win_amd64.whl", hash = "sha256:a3f4ab0caa7f053f6797fcd4e1e25caee367db3112ef2b6ef82d749530768c73"}, - {file = "numpy-2.0.2-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:7f0a0c6f12e07fa94133c8a67404322845220c06a9e80e85999afe727f7438b8"}, - {file = "numpy-2.0.2-pp39-pypy39_pp73-macosx_14_0_x86_64.whl", hash = "sha256:312950fdd060354350ed123c0e25a71327d3711584beaef30cdaa93320c392d4"}, - {file = "numpy-2.0.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:26df23238872200f63518dd2aa984cfca675d82469535dc7162dc2ee52d9dd5c"}, - {file = "numpy-2.0.2-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:a46288ec55ebbd58947d31d72be2c63cbf839f0a63b49cb755022310792a3385"}, - {file = "numpy-2.0.2.tar.gz", hash = "sha256:883c987dee1880e2a864ab0dc9892292582510604156762362d9326444636e78"}, + {file = "numpy-1.26.4-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:9ff0f4f29c51e2803569d7a51c2304de5554655a60c5d776e35b4a41413830d0"}, + {file = "numpy-1.26.4-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:2e4ee3380d6de9c9ec04745830fd9e2eccb3e6cf790d39d7b98ffd19b0dd754a"}, + {file = "numpy-1.26.4-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d209d8969599b27ad20994c8e41936ee0964e6da07478d6c35016bc386b66ad4"}, + {file = "numpy-1.26.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ffa75af20b44f8dba823498024771d5ac50620e6915abac414251bd971b4529f"}, + {file = "numpy-1.26.4-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:62b8e4b1e28009ef2846b4c7852046736bab361f7aeadeb6a5b89ebec3c7055a"}, + {file = "numpy-1.26.4-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:a4abb4f9001ad2858e7ac189089c42178fcce737e4169dc61321660f1a96c7d2"}, + {file = "numpy-1.26.4-cp310-cp310-win32.whl", hash = "sha256:bfe25acf8b437eb2a8b2d49d443800a5f18508cd811fea3181723922a8a82b07"}, + {file = "numpy-1.26.4-cp310-cp310-win_amd64.whl", hash = "sha256:b97fe8060236edf3662adfc2c633f56a08ae30560c56310562cb4f95500022d5"}, + {file = "numpy-1.26.4-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:4c66707fabe114439db9068ee468c26bbdf909cac0fb58686a42a24de1760c71"}, + {file = "numpy-1.26.4-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:edd8b5fe47dab091176d21bb6de568acdd906d1887a4584a15a9a96a1dca06ef"}, + {file = "numpy-1.26.4-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7ab55401287bfec946ced39700c053796e7cc0e3acbef09993a9ad2adba6ca6e"}, + {file = "numpy-1.26.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:666dbfb6ec68962c033a450943ded891bed2d54e6755e35e5835d63f4f6931d5"}, + {file = "numpy-1.26.4-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:96ff0b2ad353d8f990b63294c8986f1ec3cb19d749234014f4e7eb0112ceba5a"}, + {file = "numpy-1.26.4-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:60dedbb91afcbfdc9bc0b1f3f402804070deed7392c23eb7a7f07fa857868e8a"}, + {file = "numpy-1.26.4-cp311-cp311-win32.whl", hash = "sha256:1af303d6b2210eb850fcf03064d364652b7120803a0b872f5211f5234b399f20"}, + {file = "numpy-1.26.4-cp311-cp311-win_amd64.whl", hash = "sha256:cd25bcecc4974d09257ffcd1f098ee778f7834c3ad767fe5db785be9a4aa9cb2"}, + {file = "numpy-1.26.4-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:b3ce300f3644fb06443ee2222c2201dd3a89ea6040541412b8fa189341847218"}, + {file = "numpy-1.26.4-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:03a8c78d01d9781b28a6989f6fa1bb2c4f2d51201cf99d3dd875df6fbd96b23b"}, + {file = "numpy-1.26.4-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9fad7dcb1aac3c7f0584a5a8133e3a43eeb2fe127f47e3632d43d677c66c102b"}, + {file = "numpy-1.26.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:675d61ffbfa78604709862923189bad94014bef562cc35cf61d3a07bba02a7ed"}, + {file = "numpy-1.26.4-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:ab47dbe5cc8210f55aa58e4805fe224dac469cde56b9f731a4c098b91917159a"}, + {file = "numpy-1.26.4-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:1dda2e7b4ec9dd512f84935c5f126c8bd8b9f2fc001e9f54af255e8c5f16b0e0"}, + {file = "numpy-1.26.4-cp312-cp312-win32.whl", hash = "sha256:50193e430acfc1346175fcbdaa28ffec49947a06918b7b92130744e81e640110"}, + {file = "numpy-1.26.4-cp312-cp312-win_amd64.whl", hash = "sha256:08beddf13648eb95f8d867350f6a018a4be2e5ad54c8d8caed89ebca558b2818"}, + {file = "numpy-1.26.4-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:7349ab0fa0c429c82442a27a9673fc802ffdb7c7775fad780226cb234965e53c"}, + {file = "numpy-1.26.4-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:52b8b60467cd7dd1e9ed082188b4e6bb35aa5cdd01777621a1658910745b90be"}, + {file = "numpy-1.26.4-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d5241e0a80d808d70546c697135da2c613f30e28251ff8307eb72ba696945764"}, + {file = "numpy-1.26.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f870204a840a60da0b12273ef34f7051e98c3b5961b61b0c2c1be6dfd64fbcd3"}, + {file = "numpy-1.26.4-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:679b0076f67ecc0138fd2ede3a8fd196dddc2ad3254069bcb9faf9a79b1cebcd"}, + {file = "numpy-1.26.4-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:47711010ad8555514b434df65f7d7b076bb8261df1ca9bb78f53d3b2db02e95c"}, + {file = "numpy-1.26.4-cp39-cp39-win32.whl", hash = "sha256:a354325ee03388678242a4d7ebcd08b5c727033fcff3b2f536aea978e15ee9e6"}, + {file = "numpy-1.26.4-cp39-cp39-win_amd64.whl", hash = "sha256:3373d5d70a5fe74a2c1bb6d2cfd9609ecf686d47a2d7b1d37a8f3b6bf6003aea"}, + {file = "numpy-1.26.4-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:afedb719a9dcfc7eaf2287b839d8198e06dcd4cb5d276a3df279231138e83d30"}, + {file = "numpy-1.26.4-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:95a7476c59002f2f6c590b9b7b998306fba6a5aa646b1e22ddfeaf8f78c3a29c"}, + {file = "numpy-1.26.4-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:7e50d0a0cc3189f9cb0aeb3a6a6af18c16f59f004b866cd2be1c14b36134a4a0"}, + {file = "numpy-1.26.4.tar.gz", hash = "sha256:2a02aba9ed12e4ac4eb3ea9421c420301a0c6460d9830d74a9df87efa4912010"}, ] [[package]] @@ -1124,6 +1136,33 @@ pytest = ">=6.2.5" [package.extras] dev = ["pre-commit", "pytest-asyncio", "tox"] +[[package]] +name = "pywin32" +version = "308" +description = "Python for Window Extensions" +optional = false +python-versions = "*" +files = [ + {file = "pywin32-308-cp310-cp310-win32.whl", hash = "sha256:796ff4426437896550d2981b9c2ac0ffd75238ad9ea2d3bfa67a1abd546d262e"}, + {file = "pywin32-308-cp310-cp310-win_amd64.whl", hash = "sha256:4fc888c59b3c0bef905ce7eb7e2106a07712015ea1c8234b703a088d46110e8e"}, + {file = "pywin32-308-cp310-cp310-win_arm64.whl", hash = "sha256:a5ab5381813b40f264fa3495b98af850098f814a25a63589a8e9eb12560f450c"}, + {file = "pywin32-308-cp311-cp311-win32.whl", hash = "sha256:5d8c8015b24a7d6855b1550d8e660d8daa09983c80e5daf89a273e5c6fb5095a"}, + {file = "pywin32-308-cp311-cp311-win_amd64.whl", hash = "sha256:575621b90f0dc2695fec346b2d6302faebd4f0f45c05ea29404cefe35d89442b"}, + {file = "pywin32-308-cp311-cp311-win_arm64.whl", hash = "sha256:100a5442b7332070983c4cd03f2e906a5648a5104b8a7f50175f7906efd16bb6"}, + {file = "pywin32-308-cp312-cp312-win32.whl", hash = "sha256:587f3e19696f4bf96fde9d8a57cec74a57021ad5f204c9e627e15c33ff568897"}, + {file = "pywin32-308-cp312-cp312-win_amd64.whl", hash = "sha256:00b3e11ef09ede56c6a43c71f2d31857cf7c54b0ab6e78ac659497abd2834f47"}, + {file = "pywin32-308-cp312-cp312-win_arm64.whl", hash = "sha256:9b4de86c8d909aed15b7011182c8cab38c8850de36e6afb1f0db22b8959e3091"}, + {file = "pywin32-308-cp313-cp313-win32.whl", hash = "sha256:1c44539a37a5b7b21d02ab34e6a4d314e0788f1690d65b48e9b0b89f31abbbed"}, + {file = "pywin32-308-cp313-cp313-win_amd64.whl", hash = "sha256:fd380990e792eaf6827fcb7e187b2b4b1cede0585e3d0c9e84201ec27b9905e4"}, + {file = "pywin32-308-cp313-cp313-win_arm64.whl", hash = "sha256:ef313c46d4c18dfb82a2431e3051ac8f112ccee1a34f29c263c583c568db63cd"}, + {file = "pywin32-308-cp37-cp37m-win32.whl", hash = "sha256:1f696ab352a2ddd63bd07430080dd598e6369152ea13a25ebcdd2f503a38f1ff"}, + {file = "pywin32-308-cp37-cp37m-win_amd64.whl", hash = "sha256:13dcb914ed4347019fbec6697a01a0aec61019c1046c2b905410d197856326a6"}, + {file = "pywin32-308-cp38-cp38-win32.whl", hash = "sha256:5794e764ebcabf4ff08c555b31bd348c9025929371763b2183172ff4708152f0"}, + {file = "pywin32-308-cp38-cp38-win_amd64.whl", hash = "sha256:3b92622e29d651c6b783e368ba7d6722b1634b8e70bd376fd7610fe1992e19de"}, + {file = "pywin32-308-cp39-cp39-win32.whl", hash = "sha256:7873ca4dc60ab3287919881a7d4f88baee4a6e639aa6962de25a98ba6b193341"}, + {file = "pywin32-308-cp39-cp39-win_amd64.whl", hash = "sha256:71b3322d949b4cc20776436a9c9ba0eeedcbc9c650daa536df63f0ff111bb920"}, +] + [[package]] name = "pyyaml" version = "6.0.2" @@ -1378,6 +1417,16 @@ files = [ {file = "sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc"}, ] +[[package]] +name = "stringcase" +version = "1.2.0" +description = "String case converter." +optional = false +python-versions = "*" +files = [ + {file = "stringcase-1.2.0.tar.gz", hash = "sha256:48a06980661908efe8d9d34eab2b6c13aefa2163b3ced26972902e3bdfd87008"}, +] + [[package]] name = "tenacity" version = "8.5.0" @@ -1621,4 +1670,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "71a992b5be11f4bf1f6fff16727474101e700c8e46b8c659489e9e5ad278d547" +content-hash = "7e9ac2ffc878d20ba1b04fe180f5fcdebc817b6064c4f507b671f03a2e88bc3f" diff --git a/pyproject.toml b/pyproject.toml index d3f3440..3782e02 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,8 +10,8 @@ packages = [ [tool.poetry.dependencies] python = "^3.9" -#griptape = {extras = ["loaders-image"], version = "^0.34.3"} -griptape = { git = "https://github.com/griptape-ai/griptape", branch="dev", extras=["loaders-image"] } +griptape = {extras = ["loaders-image"], version = "^0.34.3"} +#griptape = { git = "https://github.com/griptape-ai/griptape", branch="dev", extras=["loaders-image"] } [tool.poetry.group.test] optional = true