-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
78 lines (68 loc) · 1.63 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
[tool.poetry]
name = "realitydb"
version = "0.0.2"
description = "RPC, WebSocket Server, JSON RPC 2.0, OpenAPI, Swagger UI"
authors = ["Oscar Bahamonde <[email protected]>"]
readme = "README.md"
license = "MIT"
keywords = ["RPC", "WebSocket", "FastAPI", "OpenAPI", "Swagger", "JSON-RPC"]
repository = "https://github.com/perudevlabs/realitydb"
homepage = "https://perudevlabs.com"
documentation = "https://realitydb-docs.perudevlabs.com"
[tool.poetry.dependencies]
python = "^3.10"
uvicorn = {extras = ["standard"], version = "^0.31.1"}
rocksdict = "^0.3.23"
pydantic = "^2.9.2"
orjson = "^3.10.7"
cachetools = "^5.5.0"
requests = "^2.32.3"
python-pptx = "^1.0.2"
python-docx = "^1.1.2"
pymupdf = "^1.24.11"
openpyxl = "^3.1.5"
cbase64 = "^0.0.9"
click = "^8.1.7"
fastapi = {extras = ["all"], version = "^0.115.2"}
sentence-transformers = "^3.2.0"
faiss-cpu = "^1.9.0"
pypdf2 = "^3.0.1"
[tool.poetry.group.dev.dependencies]
pytest-cov = "^4.1.0"
mypy = "^1.5.1"
flake8 = "^6.1.0"
black = "^23.9.1"
isort = "^5.12.0"
pre-commit = "^3.4.0"
autopep8 = "^2.0.4"
ruff = "^0.6.9"
pytest = "^8.3.3"
openai = "^1.51.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 88
target-version = ['py310']
exclude = '''
/(
\.venv
| \.git
| \.mypy_cache
| \.pytest_cache
| \.tox
| dist
| build
)/
'''
[tool.isort]
profile = "black"
[tool.flake8]
max-line-length = 88
extend-ignore = ["E203", "W503"]
exclude = ".venv,dist,build,*.egg-info"
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--cov=realitydb --cov-report=term-missing"
[tool.poetry.scripts]
realitydb = "cli:run_server"