fastworkflow 2.17.3__py3-none-any.whl → 2.17.5__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 fastworkflow might be problematic. Click here for more details.

@@ -7,6 +7,8 @@ from functools import lru_cache
7
7
  from pathlib import Path
8
8
  from typing import Any, Optional
9
9
 
10
+ from fastworkflow.utils.logging import logger
11
+
10
12
  # Normalize arguments so logically identical calls share the same cache key
11
13
  @lru_cache(maxsize=128)
12
14
  def get_module(module_path: str, search_root: Optional[str] = None) -> Any:
@@ -90,12 +92,10 @@ def get_module(module_path: str, search_root: Optional[str] = None) -> Any:
90
92
  spec.loader.exec_module(module)
91
93
  return module
92
94
 
93
- except ImportError as e:
94
- # re-raise with clearer context
95
+ except Exception as e:
96
+ logger.critical(f"Could not import module from path: {module_path}. Error: {e}")
95
97
  raise ImportError(
96
98
  f"Could not import module from path: {module_path}. Error: {e}") from e
97
- except Exception:
98
- return None
99
99
 
100
100
  def get_module_import_path(file_path: str, source_dir: str) -> str:
101
101
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: fastworkflow
3
- Version: 2.17.3
3
+ Version: 2.17.5
4
4
  Summary: A framework for rapidly building large-scale, deterministic, interactive workflows with a fault-tolerant, conversational UX
5
5
  License: Apache-2.0
6
6
  Keywords: fastworkflow,ai,workflow,llm,openai
@@ -15,6 +15,8 @@ Provides-Extra: fastapi
15
15
  Requires-Dist: colorama (>=0.4.6,<0.5.0)
16
16
  Requires-Dist: datasets (>=4.0.0,<5.0.0)
17
17
  Requires-Dist: dspy (>=3.0.1,<4.0.0)
18
+ Requires-Dist: fastapi (>=0.115.5,<0.116.0) ; extra == "fastapi"
19
+ Requires-Dist: fastapi-mcp (>=0.4.0,<0.5.0) ; extra == "fastapi"
18
20
  Requires-Dist: libcst (>=1.8.2,<2.0.0)
19
21
  Requires-Dist: litellm[proxy] (>=1.75.8,<2.0.0)
20
22
  Requires-Dist: mmh3 (>=5.1.0,<6.0.0)
@@ -22,12 +24,14 @@ Requires-Dist: openai (>=1.99.5,<1.100.0)
22
24
  Requires-Dist: prompt_toolkit (>=3.0.43,<4.0.0)
23
25
  Requires-Dist: pydantic (>=2.9.2,<3.0.0)
24
26
  Requires-Dist: python-dotenv (>=1.0.1,<2.0.0)
27
+ Requires-Dist: python-jose[cryptography] (>=3.3.0,<4.0.0) ; extra == "fastapi"
25
28
  Requires-Dist: python-levenshtein (>=0.27.1,<0.28.0)
26
29
  Requires-Dist: scikit-learn (>=1.6.1,<2.0.0)
27
30
  Requires-Dist: sentence-transformers (>=3.4.1,<4.0.0)
28
31
  Requires-Dist: speedict (>=0.3.12,<0.4.0)
29
32
  Requires-Dist: torch (>=2.7.1,<3.0.0)
30
33
  Requires-Dist: transformers (>=4.48.2,<5.0.0)
34
+ Requires-Dist: uvicorn (>=0.29.0,<0.30.0) ; extra == "fastapi"
31
35
  Project-URL: homepage, https://github.com/radiantlogicinc/fastworkflow
32
36
  Project-URL: repository, https://github.com/radiantlogicinc/fastworkflow
33
37
  Description-Content-Type: text/markdown
@@ -632,7 +636,7 @@ Interested in contributing to `fastWorkflow` itself? Great!
632
636
  1. **Clone the repository:** `git clone https://github.com/your-repo/fastworkflow.git`
633
637
  2. **Set up the environment:** Create a virtual environment using your preferred tool (venv, uv, conda, poetry, etc.) with Python 3.11+
634
638
  3. **Install in editable mode with dev dependencies:** `pip install -e .` or `uv pip install -e ".[dev]"`
635
- 4. **[Join our Discord](https://discord.gg/CCpNujh2):** Ask questions, discuss functionality, showcase your fastWorkflows
639
+ 4. **[Join our Discord](https://discord.gg/k2g58dDjYR):** Ask questions, discuss functionality, showcase your fastWorkflows
636
640
 
637
641
  ---
638
642
 
@@ -169,15 +169,15 @@ fastworkflow/utils/generate_param_examples.py,sha256=K0x1Zwe82xqhKA15AYTodWg7mqu
169
169
  fastworkflow/utils/logging.py,sha256=2SA-04fg7Lx_vGf980tfCOGDQxBvU9X6Vbhv47rbdaw,4110
170
170
  fastworkflow/utils/parameterize_func_decorator.py,sha256=V6YJnishWRCdwiBQW6P17hmGGrga0Empk-AN5Gm7iMk,633
171
171
  fastworkflow/utils/pydantic_model_2_dspy_signature_class.py,sha256=w1pvl8rJq48ulFwaAtBgfXYn_SBIDBgq1aLMUg1zJn8,12875
172
- fastworkflow/utils/python_utils.py,sha256=OzSf-bGve1401SHM3QXXFauBOBrlGQzPNgvvGJPavX0,8200
172
+ fastworkflow/utils/python_utils.py,sha256=D0JBdzkwKoyK7XvZcnIxOgsS8CRGdvuW-zcO45_pfOA,8252
173
173
  fastworkflow/utils/react.py,sha256=HubwmM4H9UzLaLaeIkJseKCNMjyrOXvMZz-8sw4ycCE,11224
174
174
  fastworkflow/utils/signatures.py,sha256=QOLX3j-AJkRWIkDhogbhxQo8MIt668xIKwd4SWiS2LY,31734
175
175
  fastworkflow/utils/startup_progress.py,sha256=9icSdnpFAxzIq0sUliGpNaH0Efvrt5lDtGfURV5BD98,3539
176
176
  fastworkflow/workflow.py,sha256=37gn7e3ct-gdGw43zS6Ab_ADoJJBO4eJW2PywfUpjEg,18825
177
177
  fastworkflow/workflow_agent.py,sha256=-RXoHXH-vrEh6AWC6iYAwwR9CvaRynYuu-KrzOPCJbg,16348
178
178
  fastworkflow/workflow_inheritance_model.py,sha256=Pp-qSrQISgPfPjJVUfW84pc7HLmL2evuq0UVIYR51K0,7974
179
- fastworkflow-2.17.3.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
180
- fastworkflow-2.17.3.dist-info/METADATA,sha256=RJinHDtUwsyyaoy480PF0MC5WUbVJcJjG3jZxorh3hU,30360
181
- fastworkflow-2.17.3.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
182
- fastworkflow-2.17.3.dist-info/entry_points.txt,sha256=m8HqoPzCyaZLAx-V5X8MJgw3Lx3GiPDlxNEZ7K-Gb-U,54
183
- fastworkflow-2.17.3.dist-info/RECORD,,
179
+ fastworkflow-2.17.5.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
180
+ fastworkflow-2.17.5.dist-info/METADATA,sha256=ZQS_0wRF3-QBbTIhRwwHzpTgeDHzz2gxBogyK0JLX7Q,30634
181
+ fastworkflow-2.17.5.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
182
+ fastworkflow-2.17.5.dist-info/entry_points.txt,sha256=m8HqoPzCyaZLAx-V5X8MJgw3Lx3GiPDlxNEZ7K-Gb-U,54
183
+ fastworkflow-2.17.5.dist-info/RECORD,,