DashScope SDK
Official Python client SDK for Alibaba DashScope API to call language models.
Model SDKs PyPI Apache-2.0
How DashScope SDK is used
DashScope SDK is a dependency in 6 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 127 projects, and what it is used with below comes from all of them. The most used alternative in our scan is OpenAI Python Library (245 projects). Projects that use it most often also use OpenAI Python Library (85.8%), NumPy (81.1%), Pydantic (78.7%).
DashScope SDK popularity over time
Gid Score 50: downloads 61, use in agent projects 54, GitHub stars n/a, downloads trend 50 (each 0-100). How it is calculated.
Often used with DashScope SDK
| OpenAI Python Library | 85.8% of DashScope SDK projects · 21.7× more than average |
|---|---|
| NumPy | 81.1% of DashScope SDK projects · 13.9× more than average |
| Pydantic | 78.7% of DashScope SDK projects · 9.1× more than average |
| Pillow | 71.7% of DashScope SDK projects · 18.7× more than average |
| pandas | 67.7% of DashScope SDK projects · 15.7× more than average |
| aiohttp | 66.9% of DashScope SDK projects · 32.5× more than average |
| PyYAML | 66.9% of DashScope SDK projects · 11.3× more than average |
| Beautiful Soup | 64.6% of DashScope SDK projects · 29.9× more than average |
From all 127 projects in our scan that use DashScope SDK, including the dependency samples.
Install
| Package | pip install dashscope |
|---|---|
| Main stacks | Python (127) |
| Example projects | dramaclaw/dramaclaw, ANative-Lab/EvoAgentX, apconw/Aix-DB, iniwap/AIWriteX, zstar1003/ragflow-plus |
Alternatives to DashScope SDK
Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside DashScope SDK are not listed here; they are in "Often used with".
| Tool | Gid Score | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|---|
| OpenAI Python Library pypi Official Python SDK to call OpenAI APIs including GPT models and embeddings. |
86 | 245 (15.1%) | 82.1M | 31.9K | Apache-2.0 |
| Anthropic Python SDK pypi Official Python library for calling Claude via the Anthropic API. |
73 | 113 (7.0%) | 42.7M | 3,980 | MIT |
| Google GenAI Python SDK pypi Official Python SDK for Google's generative AI models including Gemini. |
72 | 102 (6.3%) | 36.6M | 4,034 | Apache-2.0 |
| Cohere pypi Official SDK for accessing Cohere's language models and APIs. |
49 | 2 (0.1%) | 2.6M | 406 | MIT |
More in Model SDKs: OpenAI AI SDK Anthropic SDK Google Generative AI Hugging Face Hub LiteLLM Ollama Ollama JavaScript Library