-
Notifications
You must be signed in to change notification settings - Fork 118
/
setup.py
41 lines (36 loc) · 1.53 KB
/
setup.py
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
from setuptools import setup, find_packages
from pathlib import Path
base_path = Path(__file__).parent
long_description = (base_path / "README.md").read_text(encoding='utf-8')
VERSION = '1.7.0'
DESCRIPTION = 'A simple, lightweight and efficient API wrapper for Poe.com'
LONG_DESCRIPTION = '👾 A Python API wrapper for Poe.com. With this, you will have free access to GPT-4, Claude, Llama, Gemini, Mistral and more! 🚀'
setup(
name="poe-api-wrapper",
version=VERSION,
author="snowby666",
description=DESCRIPTION,
long_description_content_type="text/markdown",
long_description=long_description,
packages=find_packages(),
python_requires=">=3.7",
install_requires=['httpx[http2]', 'websocket-client', 'requests_toolbelt', 'loguru', 'rich==13.3.4', 'beautifulsoup4', 'quickjs', 'nest-asyncio', 'orjson', 'aiofiles'],
extras_require={
'proxy': ['ballyregan; python_version>="3.9"', 'numpy==1.26.4'],
'llm': ['fastapi', 'pydantic', 'nltk', 'daphne', 'openai', 'Twisted[tls,http2]', 'tiktoken'],
'tests': ['tox'],
},
keywords=['python', 'poe', 'quora', 'chatgpt', 'claude', 'poe-api', 'api'],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Operating System :: OS Independent"
],
url="https://github.com/snowby666/poe-api-wrapper",
package_data={'': ['*.json']},
entry_points={
"console_scripts": [
"poe = poe_api_wrapper.cli:main",
],
},
)