OpenAI Python SDK

agent-sdkNo score yet

The official Python library for the OpenAI API

Stars

30,955

Δ stars 7d

Δ stars 30d

Forks

4,832

Contributors

155

npm DL / wk

PyPI DL / wk

Language

Python

Last push

2026-06-05

About OpenAI Python SDK

The OpenAI Python library provides convenient access to the OpenAI REST API from any Python 3.9+ application. The library includes type definitions for all request params and response fields, and offers both synchronous and asynchronous clients powered by httpx. It is generated from our OpenAPI specification with Stainless. The REST API documentation can be found on platform.openai.com. The full API of this library can be found in api.md.

Read the full README on GitHub →

Install

pip install openai
Newly tracked — a growth score appears after the first full scoring week. Signals are deliberately suppressed during cold start to avoid false positives.

OpenAI Python SDK alternatives

Projects in the same category, closest in size — picked by data, not opinion.

OpenAI Agents SDKNo score yet27,053
Vercel AI SDKNo score yet24,770
PydanticAINo score yet17,672
OpenAI Node SDKNo score yet10,964

See all agent-sdk projects ranked by growth →

More from openai

OpenAI Agents SDKNo score yet27,053
OpenAI SwarmNo score yet21,611
OpenAI Node SDKNo score yet10,964

Frequently asked questions

Is OpenAI Python SDK still maintained?
Yes — actively maintained. The last push was on 2026-06-05, with 155 contributors.
What are the best OpenAI Python SDK alternatives?
Closest by category and size in our data: OpenAI Agents SDK, Vercel AI SDK, PydanticAI — full list with live signals above.

Embed this badge

Show your project's live signal in your README — it updates weekly with the data.

[![OpenAI Python SDK on What's Trending in AI](https://whatstrendinginai.com/badges/openai__openai-python.svg)](https://whatstrendinginai.com/projects/openai__openai-python/)

OpenAI Python SDK badge

Tracked since 2026-06-10 · data as of 2026-06-10 · 530 open issues · 385 releases