-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
86 lines (76 loc) · 1.72 KB
/
Copy pathpyproject.toml
File metadata and controls
86 lines (76 loc) · 1.72 KB
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
[project]
name = "psynapse_backend"
dynamic = ["version"]
description = "A node-based UI editor using PySide6 with FastAPI backend"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
"fastapi[all]>=0.121.2",
"pydantic>=2.12.4",
"python-multipart>=0.0.20",
"typer>=0.20.0",
]
[project.scripts]
psynapse-backend = "psynapse_backend.main:cli"
[project.optional-dependencies]
llm = [
"litellm>=1.79.1",
"openai>=2.6.1",
"pydantic>=2.12.3",
]
z-image = [
"accelerate>=1.12.0",
"diffusers>=0.36.0",
"sentencepiece>=0.2.1",
"transformers>=4.57.6",
]
[dependency-groups]
dev = [
"uv>=0.4.20",
"pytest>=8.3.3",
"isort>=5.13.2",
"black>=24.10.0",
"ruff>=0.6.9",
"pytest-anyio>=0.0.0",
"trio>=0.31.0",
]
docs = [
"mkdocs>=1.6.1",
"mkdocstrings>=0.26.1",
"mkdocstrings-python>=1.11.1",
"mkdocs-material>=9.5.39",
"mkdocs-minify-plugin>=0.8.0",
"mkdocs-glightbox>=0.4.0",
"mkdocs-jupyter>=0.25.0",
"mkdocs-panzoom-plugin",
"jupyter>=1.1.1",
]
build = [
"twine>=5.1.1",
"wheel>=0.40",
"build>=0.10"
]
backend = [
"aiohttp>=3.13.1",
"fastapi[all]>=0.120.1",
]
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.targets.wheel]
packages = ["psynapse_backend"]
[tool.ruff]
target-version = "py312"
[tool.ruff.lint]
select = ["I", "F401"]
[tool.ruff.lint.isort]
known-first-party = ["psynapse_backend"]
section-order = ["future", "standard-library", "third-party", "first-party", "local-folder"]
combine-as-imports = true
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"