dspy
Downloads in the 30 and 7 days to November 28, 2026. Refreshed weekly.
Package Information
No reported malware or high/critical advisories · Details
The current version has no OSV.dev malware reports and no critical or high-severity vulnerabilities.
Package Insights
((week_daily_avg - month_daily_avg) / month_daily_avg) * 100More insights and metrics
Downloads by OS
Python Versions
Top Countries
Weekly Downloads
GitHub Stars *
Dependencies
- anyio
- cachetools >=5.5.0
- certifi >=2026.10.19
- cloudpickle >=3.1.2
- diskcache >=5.6.0
-
gepa
<0.2.0,>=0.1.4
python_version < "3.15"
- json-repair >=0.54.2
- jsonschema >=4.0.0
- orjson >=3.9.0
- pydantic >=2.11.0
- pyyaml >=6.0.1
- regex >=2023.10.3
- requests >=2.31.0
- tqdm >=4.66.1
30 optional dependencies
-
anthropic<1.0.0,>=0.18.0[anthropic]extra == "anthropic"
-
build>=1.0.3[dev]extra == "dev"
-
datamodel-code-generator>=0.26.3[dev]extra == "dev"
-
datasets>=2.14.6[test-extras]extra == "test-extras"
-
deno<3.0.0,>=2.4.5[deno]extra == "deno"
-
gepa<0.2.0,>=0.1.4[dev]extra == "dev"
-
langchain-core>=0.3.0[langchain]extra == "langchain"
-
langchain-core>=0.3.0[test-extras]extra == "test-extras"
-
litellm!=1.106.0,!=1.106.1,!=1.106.2,!=1.106.3,!=1.106.4,!=1.106.5,!=1.106.6,!=1.106.7,!=1.108.0,!=1.108.1,!=1.108.2,!=1.108.3,>=1.65.8[litellm]extra == "litellm"
-
mcp>=1.2.0[test-extras]python_version >= "3.10" and extra == "test-extras"
-
mcp[mcp]python_version >= "3.10" and extra == "mcp"
-
numpy>=1.26.0[numpy]extra == "numpy"
-
numpy>=1.26.0[dev]extra == "dev"
-
numpy>=1.26.0[test-extras]extra == "test-extras"
-
openai>=1.66.2[dev]extra == "dev"
-
openai>=1.66.2[openai]extra == "openai"
-
optuna>=3.4.0[test-extras]extra == "test-extras"
-
optuna>=3.4.0[optuna]extra == "optuna"
-
pandas>=2.1.1[test-extras]extra == "test-extras"
-
pillow>=10.1.0[dev]extra == "dev"
-
pre-commit>=3.7.0[dev]extra == "dev"
-
pytest>=6.2.5[dev]extra == "dev"
-
pytest-asyncio>=0.26.0[dev]extra == "dev"
-
pytest-mock>=3.12.0[dev]extra == "dev"
-
pytest-xdist>=3.5.0[dev]extra == "dev"
-
ruff>=0.3.0[dev]extra == "dev"
-
tenacity>=8.2.3[litellm]extra == "litellm"
-
ty==0.0.89[dev]extra == "dev"
-
virtualenv>=21.14.12[dev]extra == "dev"
-
weaviate-client<4.22.0,>=4.5.4[weaviate]extra == "weaviate"
Used By
- dspy-ai 381.5K/mo
- cmpnd 83.6K/mo
- predict-rlm 33.7K/mo
- clio-agent 11.7K/mo
- dspy-qwen-adapter 8.8K/mo
- skilled-proposer 7.8K/mo
- tactus 7.0K/mo
- flock-core 6.4K/mo
- fleet-rlm 5.1K/mo
- dspy-toon 4.7K/mo