-
Notifications
You must be signed in to change notification settings - Fork 10
/
pyproject.toml
69 lines (62 loc) · 1.82 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
[tool.poetry]
name = "brave-chat-server"
version = "0.1.0"
description = "A fully async based backend for Brave Chat built using FastAPI, SingleStore, Pydantic, SQLAlchemy, Redis Pub/Sub, and Deta."
authors = ["wiseaidev <business@wiseai.dev>"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/brave-chat/brave-chat-server"
homepage = "https://github.com/brave-chat/brave-chat-server"
documentation = ""
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
]
keywords = ["python", "fastapi", "singlestore", "aiomysql", "SQLAlchemy", "Deta", "chat app", "Brave Chat"]
packages = [
{ include = "app", from = "." },
]
include = [
"LICENSE",
"README.md",
]
[tool.poetry.dependencies]
python = "^3.9.10"
passlib = {extras = ["bcrypt"], version = "==1.7.4"}
fastapi = {extras = ["uvicorn"], version = "==0.81.0"}
PyJWT = "==2.4.0"
uvicorn = {extras = ["standard"], version = "==0.18.3"}
python-multipart = "==0.0.5"
deta = "==1.1.0"
pydantic = {extras = ["email"], version = "==1.9.2"}
SQLAlchemy = "==1.4.41"
aiomysql = "==0.1.1"
aioredis = "==2.0.1"
prometheus-fastapi-instrumentator = "==5.9.1"
openai = "==0.27.9"
[tool.poetry.group.dev.dependencies]
pytest = "^6.1.0"
flake8 = "^5.0.4"
coverage = "^6.5.0"
mypy = "^0.982"
pytest-cov = "^4.0.0"
tox = "^3.26.0"
isort = "^5.10.1"
black = "^22.10.0"
pre-commit = "^2.20.0"
httpx = "^0.23.0"
pylint = "^2.15.5"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
server = "app:serve"
[tool.black]
line-length = 79
[tool.pylint.'MESSAGES CONTROL']
extension-pkg-whitelist = ["pydantic",]
[tool.pylint.config]
init-hook='import sys; sys.path.append("./")'