-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
84 lines (76 loc) · 2.15 KB
/
pyproject.toml
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[tool.poetry]
name = "shuttleai"
version = "0"
description = "Access Shuttle AI's API via an easy-to-use Python wrapper. Dashboard: https://shuttleai.com Discord: https://discord.gg/shuttleai"
authors = ["Tristan Liu <[email protected]>", "Christian \"Thoth\" Heru <[email protected]>"]
maintainers = ["Christian \"Thoth\" Heru <[email protected]>"]
homepage = "https://github.com/shuttleai"
repository = "https://github.com/shuttleai/shuttleai-python"
urls = { Documentation = "https://docs.shuttleai.com", Dashboard = "https://shuttleai.com", Discord = "https://discord.gg/shuttleai", PyPI = "https://pypi.org/project/shuttleai" }
readme = "README.md"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
keywords = ["shuttleai", "ai", "gpt", "claude", "api", "free", "chatgpt", "gpt-4"]
[tool.poetry-version-plugin]
source = "init"
[tool.ruff]
select = ["E", "F", "W", "Q", "I"]
ignore = ["E203"]
fixable = ["ALL"]
unfixable = []
line-length = 120
extend-select = ["B"]
[tool.black]
line-length = 120
target-version = ['py39']
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.mypy]
disallow_untyped_defs = true
show_error_codes = true
no_implicit_optional = true
warn_return_any = true
warn_unused_ignores = true
exclude = ["docs", "tests", "examples", "tools", "build", "etc"]
[tool.poetry.dependencies]
python = "^3.9"
aiohttp = "^3.9.5"
orjson = "^3.10.3"
pydantic = "^2.7.3"
httpx = ">= 0.25.2, < 1"
python-dateutil = "^2.9.0.post0"
matplotlib = "^3.9.0"
pyreadline3 = "^3.4.1"
aiofiles = "^23.2.1"
types-aiofiles = "^23.2.0.20240403"
poetry-version-plugin = "^0.2.0"
[tool.poetry.group.dev.dependencies]
ruff = "^0.1.6"
mypy = "^1.10.0"
black = "^24.4.2"
types-requests = "^2.31.0.10"
pyyaml = "^6.0.1"
types-pyyaml = "^6.0.12.20240311"
[tool.poetry.scripts]
shuttleai = "shuttleai.cli.__main__:main"
clean = "etc.tools.clean:clean_all"
key = "etc.tools.key:show_key"
contr = "etc.tools.contributors:main"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"