init: scaffold psyc — defensive CTI routing & evidence-sealing platform
Stage-1 vertical slice: Pydantic Case model, SQLAlchemy Core persistence, URLhaus Scoutline fetcher, FastAPI/Jinja cockpit (cases list + detail), flat Typer CLI, Result[T, E] type module, structlog config. Architecture in docs/dossier.md; 12-fold style guide in docs/style.md. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
37
pyproject.toml
Normal file
37
pyproject.toml
Normal file
@@ -0,0 +1,37 @@
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "psyc"
|
||||
version = "0.1.0"
|
||||
description = "Defensive CTI routing & evidence-sealing platform"
|
||||
requires-python = ">=3.10"
|
||||
dependencies = [
|
||||
"fastapi>=0.115",
|
||||
"uvicorn[standard]>=0.30",
|
||||
"jinja2>=3.1",
|
||||
"python-multipart>=0.0.9",
|
||||
"pydantic>=2.7",
|
||||
"httpx>=0.27",
|
||||
"typer>=0.12",
|
||||
"pynacl>=1.5",
|
||||
"structlog>=24.1",
|
||||
"sqlalchemy>=2.0",
|
||||
]
|
||||
|
||||
[project.scripts]
|
||||
psyc = "psyc.cli:app"
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["src/psyc"]
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 120
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = ["E", "F", "I", "B"]
|
||||
ignore = ["UP006", "UP007", "UP035"]
|
||||
|
||||
[tool.ruff.lint.isort]
|
||||
known-first-party = ["psyc"]
|
||||
Reference in New Issue
Block a user