-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
89 lines (83 loc) · 1.66 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
85
86
87
88
89
[tool.poetry]
name = "prompting-api"
version = "0.1.0"
description = "The official REST API for Bittensor's flagship subnet 1 ([prompting](https://github.com/opentensor/prompting)), built by [Macrocosmos](https://macrocosmos.ai)."
authors = ["Felix Quinque, Dmytro Bobrenko, Steffen Cruz, Kalei Brady"]
readme = "README.md"
package-mode = false
[tool.black]
line-length = 120
target-version = ['py310']
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
)/
'''
[tool.isort]
atomic = true
profile = "black"
line_length = 120
skip_gitignore = true
[tool.ruff]
# Exclude a variety of commonly ignored directories.
line-length = 120
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
]
[tool.poetry.dependencies]
python = "3.10.*"
deprecated = "^1.2.14"
aiofiles = "^24.1.0"
aiohttp-apispec = "^2.2.3"
torch = "2.3.1"
pre-commit = "3.7.1"
python-dotenv = "^1.0.1"
loguru = "^0.7.2"
fastapi = "0.110.1"
pydantic = "^2.8.2"
apscheduler = "^3.10.4"
streamlit = "^1.36.0"
plotly = "^5.22.0"
ruff = "^0.5.4"
requests = "^2.32.3"
numpy = "1.22.4"
bittensor = {git = "https://github.com/opentensor/bittensor.git", rev = "release/7.1.2"}
pandas = "2.2.1"
black = "23.7.0"
pytest = "^8.3.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"