aistudio-sdk
Python client library for the AIStudio API
What it is and what it does
aistudio-sdk is a Python wrapper around the AIStudio API, maintained by Baidu, that lets developers integrate AIStudio models and the Yiyan API into their applications. It abstracts the HTTP communication layer through dependencies like requests and bce-python-sdk, and provides utilities like tqdm for progress tracking and prettytable for formatted output. The library is designed for AIStudio developers building model-library operations and AI-powered projects.
The package is actively maintained (latest release 18 days ago) and sits in the top 5000 PyPI packages by download volume. It has no known security vulnerabilities. Installation is straightforward via pip with low friction, and the dependency chain is composed of stable, widely-used packages.
Use it for:
- Build applications that call Baidu's Yiyan API for text generation or AI inference tasks.
- Integrate AIStudio model library operations into Python projects without writing raw HTTP requests.
- Develop AIStudio plugins or extensions that need programmatic access to model management APIs.
- Prototype AI-powered applications using AIStudio's pre-trained models from within Python.
- Automate model library operations such as querying, deploying, or managing models via Python scripts.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Python client library for the AIStudio API, enabling developers to build projects, applications, and plugins using AIStudio models and the Yiyan API.
Yes, if you are building on the AIStudio platform or need to call Baidu's Yiyan API from Python. The package is actively maintained, has low install friction, carries a permissive license, and has no known vulnerabilities. The main condition is that you have AIStudio credentials and a clear use case within the Baidu AI ecosystem; it is not a general-purpose AI library.
Install
aistudio-sdk on PyPI
pip
pip install aistudio-sdkuv
uv add aistudio-sdkpoetry
poetry add aistudio-sdkInstalling aistudio-sdk
Before you install
Low install friction with a pure-wheel distribution. Active maintenance with a recent release 18 days ago. Six runtime dependencies are all common, well-maintained packages (psutil, requests, tqdm, bce-python-sdk, prettytable, click).
License in practice
Apache-2.0 is permissive; you can use, modify, and distribute this package freely in commercial and private projects provided you retain the license notice.
Quickstart
pip install aistudio-sdk --upgrade
import aistudio_sdk
# Create client and call AIStudio API methods
Requires valid AIStudio credentials and network access to AIStudio API endpoints.
Verify before relying
- Whether the package requires specific Python versions (requires_python is unspecified in metadata).
- Documentation availability and completeness for API integration.
- Whether bce-python-sdk (Baidu Cloud Engine SDK) introduces additional system or network dependencies.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 6 — psutil, requests, tqdm, bce-python-sdk, prettytable, click |
| Maintenance | actively maintained — 18 days since the last release |
| First released | |
| Downloads | 1,662,770/month — #3,671 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: aistudio_sdk-0.3.9-py3-none-any.whl
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
qianfanPython SDK for Baidu Qianfan large language…
permissive · top 15,000 on PyPI
arthur-clientPython SDK for integrating machine learning…
permissive · top 15,000 on PyPI
screenshotoneA Python SDK for the ScreenshotOne.com API that…
permissive · top 15,000 on PyPI
serpapiOfficial Python client for SerpApi that queries…
permissive · top 15,000 on PyPI
qase-api-clientPython client library for the Qase TestOps API…
unclear · top 15,000 on PyPI
dify-pluginA Python SDK for building plugins that extend…
permissive · top 5,000 on PyPI
python-gerrit-apiProvides a Python client library for…
permissive · top 15,000 on PyPI
gooddata-api-clientProvides a Python client for the GoodData API,…
permissive · top 15,000 on PyPI
socketdevA Python SDK that wraps the Socket.dev REST…
permissive · top 15,000 on PyPI
google-search-resultsA Python client for querying search results…
permissive · top 5,000 on PyPI