-
Notifications
You must be signed in to change notification settings - Fork 242
Expand file tree
/
Copy pathpyproject.toml
More file actions
174 lines (155 loc) · 3.96 KB
/
pyproject.toml
File metadata and controls
174 lines (155 loc) · 3.96 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
[project]
name = "fastapi-fullstack"
version = "0.2.6"
description = "Full-stack FastAPI + Next.js template generator with PydanticAI/LangChain agents, WebSocket streaming, 20+ enterprise integrations, and Logfire/LangSmith observability. Ship AI apps fast. CLI tool to generate production-ready FastAPI + Next.js projects with AI agents, auth, and observability."
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
authors = [{ name = "Vstorm", email = "hr@vstorm.co" }]
keywords = [
"fastapi",
"nextjs",
"react",
"python",
"typescript",
"template",
"cookiecutter",
"full-stack",
"postgresql",
"mongodb",
"redis",
"docker",
"celery",
"ai-agents",
"llm",
"pydantic-ai",
"langchain",
"langgraph",
"logfire",
"observability",
"milvus",
"rag",
"retrieval-augmented-generation",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Framework :: FastAPI",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Code Generators",
]
dependencies = [
"click>=8.1.0",
"cookiecutter>=2.6.0",
"rich>=13.0.0",
"questionary>=2.0.0",
"pydantic>=2.0.0",
"pydantic-settings>=2.0.0",
"email-validator>=2.0.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-cov>=4.0.0",
"ruff>=0.8.0",
"ty>=0.0.29",
"pre-commit>=3.0.0",
]
docs = [
"mkdocs>=1.6.0",
"mkdocs-material>=9.5.0",
"pymdown-extensions>=10.0.0",
]
[project.scripts]
fastapi-fullstack = "fastapi_gen.cli:main"
[project.urls]
Homepage = "https://github.com/vstorm-co/full-stack-ai-agent-template"
Documentation = "https://github.com/vstorm-co/full-stack-ai-agent-template#readme"
Repository = "https://github.com/vstorm-co/full-stack-ai-agent-template"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["fastapi_gen"]
[tool.hatch.build.targets.wheel.force-include]
"template" = "fastapi_gen/template"
[tool.hatch.build.targets.sdist]
include = [
"fastapi_gen/",
"template/",
"README.md",
"LICENSE",
"pyproject.toml",
]
[tool.ruff]
target-version = "py311"
line-length = 100
# Exclude Jinja2 template files and generated test projects
exclude = [
"template",
"test",
"test_*",
]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"ARG", # flake8-unused-arguments
"SIM", # flake8-simplify
]
ignore = [
"E501", # line too long (handled by formatter)
"B008", # do not perform function calls in argument defaults
"B905", # zip without explicit strict
]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["ARG002"] # Unused method arguments are common in test fixtures
[tool.ruff.lint.isort]
known-first-party = ["fastapi_gen"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.ty.environment]
python-version = "3.11"
[tool.ty.src]
# Exclude Jinja2 template files and integration tests with dynamic imports
exclude = [
"template/",
"tests/",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
python_functions = ["test_*"]
addopts = "-v --tb=short"
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
]
[tool.coverage.run]
source = ["fastapi_gen"]
omit = [
"template/*",
]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"raise NotImplementedError",
]
[dependency-groups]
dev = [
"ty>=0.0.29",
"pytest-cov>=7.0.0",
"sqlalchemy>=2.0.40",
]