FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
openai-python/setup.py at main · SAM-Aryan/openai-python · GitHub
SAM-Aryan
/
openai-python
Public
forked from
openai/openai-python
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
openai-python
/
setup.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
51 lines (48 loc) · 1.54 KB
Breadcrumbs
openai-python
/
setup.py
Copy path
File metadata and controls
51 lines (48 loc) · 1.54 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
import
os
from
setuptools
import
find_packages
,
setup
version_contents
=
{}
version_path
=
os
.
path
.
join
(
os
.
path
.
abspath
(
os
.
path
.
dirname
(
__file__
)),
"openai/version.py"
)
with
open
(
version_path
,
"rt"
)
as
f
:
exec
(
f
.
read
(),
version_contents
)
setup
(
name
=
"openai"
,
description
=
"Python client library for the OpenAI API"
,
version
=
version_contents
[
"VERSION"
],
install_requires
=
[
"requests>=2.20"
,
# to get the patch for CVE-2018-18074
"tqdm"
,
# Needed for progress bars
"pandas>=1.2.3"
,
# Needed for CLI fine-tuning data preparation tool
"pandas-stubs>=1.1.0.11"
,
# Needed for type hints for mypy
"openpyxl>=3.0.7"
,
# Needed for CLI fine-tuning data preparation tool xlsx format
"numpy"
,
"typing_extensions"
,
# Needed for type hints for mypy
],
extras_require
=
{
"dev"
: [
"black~=21.6b0"
,
"pytest==6.*"
],
"wandb"
: [
"wandb"
],
"embeddings"
: [
"scikit-learn>=1.0.2"
,
# Needed for embedding utils, versions >= 1.1 require python 3.8
"tenacity>=8.0.1"
,
"matplotlib"
,
"sklearn"
,
"plotly"
,
],
},
python_requires
=
">=3.7.1"
,
entry_points
=
{
"console_scripts"
: [
"openai=openai._openai_scripts:main"
,
],
},
packages
=
find_packages
(
exclude
=
[
"tests"
,
"tests.*"
]),
package_data
=
{
"openai"
: [
"py.typed"
,
]
},
author
=
"OpenAI"
,
author_email
=
"support@openai.com"
,
url
=
"https://github.com/openai/openai-python"
,
)
Back
|
FazBrowse Home
|
New Git URL