OpenAI Python SDK
agent-sdkStable
The official Python library for the OpenAI API
Stars
31,168
Δ stars 7d
+38
Δ stars 30d
—
Forks
4,953
Contributors
156
npm DL / wk
—
PyPI DL / wk
86,814,708
Language
Python
Last push
2026-07-17
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
OpenAI Python SDK growth signals this week
- Gained 38 stars in the last 7 days
- Growing 2.0x faster than the previous week
- 13x the median weekly star growth of its category
Growth score: 50/100 week of 2026-07-20
Signal history
| Week | Score | Δ★ | Signal |
|---|---|---|---|
| 2026-07-20 | 50 | +38 | Stable |
| 2026-07-13 | 15 | +38 | Stable |
| 2026-07-06 | 53 | +68 | Stable |
| 2026-06-29 | 31 | +54 | Stable |
| 2026-06-22 | 34 | +56 | Stable |
| 2026-06-15 | 13 | +57 | Stable |
| 2026-06-08 | 15 | +63 | Stable |
OpenAI Python SDK alternatives
Projects in the same category, closest in size — picked by data, not opinion.
See all agent-sdk projects ranked by growth →
More from openai
Frequently asked questions
- Is OpenAI Python SDK still maintained?
- Yes — actively maintained. The last push was on 2026-07-17, with 156 contributors.
- Is OpenAI Python SDK growing?
- It is stable this week, with a growth score of 50/100. See the weekly history above.
- What are the best OpenAI Python SDK alternatives?
- Closest by category and size in our data: gpt-pilot, Semantic Kernel, OpenAI Agents SDK — full list with live signals above.
Topics
Embed this badge
Show your project's live signal in your README — it updates weekly with the data.
Tracked since 2026-06-10 · data as of 2026-07-19 · 585 open issues · 391 releases