返回提交历史
Modified
.gitignore
+5
-2
Modified
README.md
+6
-0
Modified
g4f/.v1/requirements.txt
+6
-2
Deleted
pyproject.toml
+0
-20
Modified
requirements.txt
+6
-23
Added
setup.py
+36
-0
XFEstudio/gpt4free
pypi package (pip install `g4f`)
6f4d1ca7
代码差异
6 个文件
+59
-47
@@ -30,5 +30,8 @@ cookie.json
30
30
*.pyc
31
31
32
32
dist/
33
34
setup.py
33
*.egg-info/
34
*.egg
35
*.egg-info
36
build
37
test.py
@@ -5,6 +5,12 @@ By using this repository or any code related to it, you agree to the [legal noti
5
5
This (quite censored) New Version of gpt4free, was just released, it may contain bugs, open an issue or contribute a PR when encountering one, some features were disabled.
6
6
Docker is for now not available but I would be happy if someone contributes a PR. The g4f GUI will be uploaded soon enough.
7
7
8
### New
9
- pypi package:
10
```
11
pip install g4f
12
```
13
8
14
## Table of Contents:
9
15
10
16
- [Getting Started](#getting-started)
@@ -5,11 +5,13 @@ pypasser
5
5
names
6
6
colorama
7
7
curl_cffi
8
aiohttp
9
flask
10
flask_cors
8
11
streamlit
9
12
selenium
10
13
fake-useragent
11
14
twocaptcha
12
https://github.com/AI-Yash/st-chat/archive/refs/pull/24/head.zip
13
15
pydantic
14
16
pymailtm
15
17
Levenshtein
@@ -18,4 +20,6 @@ mailgw_temporary_email
18
20
pycryptodome
19
21
random-password-generator
20
22
numpy>=1.22.2 # not directly required, pinned by Snyk to avoid a vulnerability
21
tornado>=6.3.2 # not directly required, pinned by Snyk to avoid a vulnerability
23
tornado>=6.3.2 # not directly required, pinned by Snyk to avoid a vulnerability
24
PyExecJS
25
browser_cookie3
@@ -1,20 +0,0 @@
1
[build-system]
2
requires = ["setuptools", "wheel"]
3
build-backend = "setuptools.build_meta"
4
5
[project]
6
name = "gpt4free"
7
version = "0.2.0"
8
description = ""
9
authors = []
10
license = { text = "GPL-3.0" }
11
readme = "README.md"
12
requires-python = ">=3.10"
13
dynamic = ["dependencies"]
14
15
[tool.setuptools.packages.find]
16
include = ["g4f*"]
17
18
19
[tool.setuptools.dynamic]
20
dependencies = {file = ["requirements.txt"]}
@@ -1,26 +1,9 @@
1
websocket-client
2
requests
3
tls-client
4
pypasser
5
names
6
colorama
1
pycryptodome
7
2
curl_cffi
8
3
aiohttp
9
flask
10
flask_cors
11
streamlit
12
selenium
13
fake-useragent
14
twocaptcha
15
streamlit-chat@https://github.com/AI-Yash/st-chat/archive/refs/pull/24/head.zip
16
pydantic
17
pymailtm
18
Levenshtein
19
retrying
20
mailgw_temporary_email
21
pycryptodome
22
random-password-generator
23
numpy>=1.22.2 # not directly required, pinned by Snyk to avoid a vulnerability
24
tornado>=6.3.2 # not directly required, pinned by Snyk to avoid a vulnerability
25
PyExecJS
4
asyncio
5
certifi
6
Providers
26
7
browser_cookie3
8
websockets
9
execjs
@@ -0,0 +1,36 @@
1
from setuptools import setup, find_packages
2
import codecs
3
import os
4
5
here = os.path.abspath(os.path.dirname(__file__))
6
7
with codecs.open(os.path.join(here, "README.md"), encoding="utf-8") as fh:
8
long_description = "\n" + fh.read()
9
10
with open('requirements.txt') as f:
11
required = f.read().splitlines()
12
13
VERSION = '0.0.1'
14
DESCRIPTION = 'The official gpt4free repository | various collection of powerful language models'
15
16
# Setting up
17
setup(
18
name="g4f",
19
version=VERSION,
20
author="Tekky",
21
author_email="<support@g4f.ai>",
22
description=DESCRIPTION,
23
long_description_content_type="text/markdown",
24
long_description=long_description,
25
packages=find_packages(),
26
install_requires=required,
27
keywords=['python', 'chatbot', 'reverse-engineering', 'openai', 'chatbots', 'gpt', 'language-model', 'gpt-3', 'gpt3', 'openai-api', 'gpt-4', 'gpt4', 'chatgpt', 'chatgpt-api', 'openai-chatgpt', 'chatgpt-free', 'chatgpt-4', 'chatgpt4','chatgpt4-api', 'free', 'free-gpt', 'gpt4free', 'g4f'],
28
classifiers=[
29
"Development Status :: 2 - Pre-Alpha",
30
"Intended Audience :: Developers",
31
"Programming Language :: Python :: 3",
32
"Operating System :: Unix",
33
"Operating System :: MacOS :: MacOS X",
34
"Operating System :: Microsoft :: Windows",
35
]
36
)