-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
53 lines (48 loc) · 1.25 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
[tool.poetry]
name = "turbo-chat"
version = "0.3.12"
description = "Idiomatic way to build chatgpt apps using async generators in python"
authors = ["Diwank Singh Tomer <[email protected]>"]
license = "MIT"
readme = "README.md"
packages = [{include = "turbo_chat"}]
[tool.poetry.dependencies]
python = "<3.11,>=3.8"
aiohttp = "^3.8.4"
openai = "^0.27.0"
pydantic = "^1.10.5"
tenacity = "^8.2.2"
tiktoken = "^0.3.1"
parse = "^1.19.0"
jinja2 = "^3.1.2"
jinja2schema = "^0.1.4"
jsonschema = "^4.17.3"
lemminflect = "^0.2.3"
proxytypes = "^0.10.0"
dirtyjson = "^1.0.8"
redis = {version = ">=4.5.0,<5.0.0", optional = true}
pygments = {version = "^2.15.0", optional = true}
colorama = {version = "^0.4.6", optional = true}
blobfile = "^2.0.1"
[tool.poetry.group.dev.dependencies]
black = "^23.1.0"
ruff = "^0.0.254"
pytype = "^2023.3.2"
poethepoet = "^0.18.1"
ward = "^0.67.2b0"
ipython = "^8.11.0"
nest-asyncio = "^1.5.6"
[tool.poetry.extras]
redis = ["redis"]
debug = ["colorama", "pygments"]
[tool.poe.tasks]
_ruff = "ruff --fix **/*.py"
_black = "black ."
_pytype = "pytype --config=pytype.toml"
lint = ["_ruff", "_black"]
check = ["lint", "_pytype"]
test = "ward"
all = ["check", "test"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"