-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
79 lines (64 loc) · 2.1 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
[tool.poetry]
name = "excursor"
version = "0.1.2"
description = ""
authors = ["Sean Toner <[email protected]>"]
readme = "README.md"
license = "Apache-2.0"
[tool.poetry.dependencies]
python = ">=3.9, <3.13"
numpy = "^1.26"
sympy = "^1.12"
# serve: service deps
httpx = {version = "^0.24", optional = true}
fastapi = {version = "^0.101.1", optional = true}
uvicorn = {extras = ["standard"], version = "^0.23.2", optional = true}
pydantic = {version = "^2.4", optional = true}
# viz: visualization including jupyter
plotly = {version = "^5.15", optional = true}
ipywidgets = {version = "^8.0", optional = true}
jupyterlab = {version = "^4.0", optional = true}
# If you are on linux, uncomment the torch line below
#torch = {version = "^2.0.1+cpu", optional = true, source = "pytorch"}
torch = {version = "^2.1.1+cpu", optional = true}
# If you are not on a mac, comment this line out
# torch = {version = "^2.1.1", optional = true, source = "pytorch"}
# data: tools for data analytics, cleaning and ops
# polars = {extras = ["numpy", "pandas", "pyarrow"], version = "^0.18.4", optional = true}
pyarrow = {version = "^14.0.0", optional = true}
duckdb = {version = "^0.9.0", optional = true}
daak = "^0.1.1"
ipykernel = "^6.25.2"
[tool.poetry.group.dev.dependencies]
ruff = "^0.0.286"
pytest = "^7.4"
autopep8 = "^2.0.4"
pycodestyle = "2.10.0"
pytest-asyncio = "^0.21.1"
[tool.poetry.extras]
viz = ["plotly", "ipywidgets", "jupyterlab"]
ml = ["torch"]
serve = ["httpx", "fastapi", "uvicorn", "pydantic"]
data = ["polars", "pyarrow", "duckdb"]
[tool.poetry.scripts]
py-dev = {callable = "excursor.core.installer:main"}
py-dev39 = {callable = "excursor.core.installer_39:main"}
[[tool.poetry.source]]
name = "pytorch"
# url = "https://download.pytorch.org/whl/cpu"
url = "https://download.pytorch.org/whl/cu121"
priority = "supplemental"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
fix = true
line-length = 120
target-version = "py311"
[tool.autopep8]
max_line_length = 120
ignore = "E501,W6" # or ["E501", "W6"]
in-place = true
recursive = true
aggressive = 3
exclude = "venv/"