skillfed

aistudio-sdk

Python client library for the AIStudio API

aistudio-sdk v0.3.9 1.7M downloads/30d#3,671 on PyPI
Permissive license Apache-2.0 Active released

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-sdk

uv

uv add aistudio-sdk

poetry

poetry add aistudio-sdk

Installing 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

License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python

Tags

aistudio api clientbaidu aistudio sdkyiyan api pythonaistudio model librarypython sdk aistudiobaidu ai api wrapperaistudio developer tools
baidu-aiapi-clientmodel-library

More Artificial Intelligence packages