Open source repo
openai-python
The official Python library for the OpenAI API
View on GitHubProject siteMore repos in the app
What it is
openai‑python is an open source tool for building with large language models, published on GitHub by openai and written mainly in Python. Its maintainers file it under openai, python.
In its own words on GitHub: “The official Python library for the OpenAI API.”
Who it is for
Developers and technical teams building products on top of large language models.
How to start
- Open the repo and read the README from the top, then the license file.
- It is written in Python, so you will usually install it with pip or uv inside a virtual environment.
- Pin a release or a commit, so an update does not change how it behaves without you noticing.
Why it is on our list
- It has a permissive Apache‑2.0 license, so you can use it at work.
- It is actively maintained: the last change was 6 days ago, as of November 26, 2026.
- It has its own site with documentation.
- It is widely used, with 32,248 stars on GitHub.
The facts
| License | Apache‑2.0 |
| What the license allows | You can use, change and ship it, including in paid products. Keep the notice and state your changes. It also grants a patent license. |
| Main language | Python |
| Stars | 32,248 |
| Topics | openai, python |
| Created | October 25, 2020 |
| Last checked | November 26, 2026 |
Before you use it
- Read the README and the license file in the repo.
- Look at recent issues to see how fast problems get fixed.
- Pin a version instead of always pulling the latest.
- Never paste API keys or customer data into a tool you have not checked.
- Run AI agents in a sandbox or a test project first.
Related repos
redash
Make Your Company Data Driven. Connect to any data source, easily visualize, dashboard and share your data.
scrapy
Scrapy, a fast high‑level web crawling & scraping framework for Python.
stable-baselines3
PyTorch version of Stable Baselines, reliable implementations of reinforcement learning algorithms.
Try it in your browser
Today's AI news, one card per swipe.
Free to start.