aiagent.club
中文
PyPI

openai

#46 of 964 in the AI Agent Index

45 Score
Real usage
99
Momentum
Attention

About

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.

The full API of this library can be found in api.md.

The primary API for interacting with OpenAI models is the Responses API. You can generate text from the model with the code below.

The previous standard (supported indefinitely) for generating text…

Across sources

371.5M Downloads / month
  • Downloads / month 371.5M
  • Downloads / week 87.8M
  • Downloads / day 14.4M