openai/openai-python

Public

mirrored fromhttps://github.com/openai/openai-pythonAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v0.6.2

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

README.md

43lines · modecode

1# OpenAI Python Library
2
3The OpenAI Python library provides convenient access to the OpenAI API
4from applications written in the Python language. It includes a
5pre-defined set of classes for API resources that initialize
6themselves dynamically from API responses which makes it compatible
7with a wide range of versions of the OpenAI API.
8
9This library additionally provides an `openai` command-line utility
10which makes it easy to interact with the API from your terminal. Run
11`openai api -h` for usage.
12
13## Documentation
14
15See the [OpenAI API docs](https://beta.openai.com/docs/api-reference?lang=python). (During
16the beta, you'll need to be signed into your account to see them.)
17
18## Installation
19
20You don't need this source code unless you want to modify the package. If you just
21want to use the package, just run:
22
23```sh
24pip install --upgrade openai
25```
26
27Install from source with:
28
29```sh
30python setup.py install
31```
32
33## Requirements
34
35- Python 2.7+ or Python 3.4+ (PyPy supported)
36
37In general we want to support the versions of Python that our
38customers are using, so if you run into issues with any version
39issues, please let us know at support@openai.com.
40
41## Credit
42
43This library is forked from the [Stripe Python Library](https://github.com/stripe/stripe-python).
44