41 lines
821 B
TOML
41 lines
821 B
TOML
[project]
|
|
name = "hub-core"
|
|
version = "0.2.0"
|
|
description = "Reusable core primitives for FOS hubs"
|
|
requires-python = ">=3.12"
|
|
dependencies = [
|
|
"fastapi>=0.115.0",
|
|
"fastmcp>=2.0.0",
|
|
"httpx>=0.28.0",
|
|
"jsonschema>=4.23.0",
|
|
"sqlalchemy[asyncio]>=2.0.0",
|
|
"pydantic>=2.10.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
runtime = [
|
|
"alembic>=1.13.0",
|
|
"asyncpg>=0.29.0",
|
|
"psycopg2-binary>=2.9.0",
|
|
"uvicorn[standard]>=0.30.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
hub-core = "hub_core.runtime.cli:main"
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"aiosqlite>=0.20.0",
|
|
"pytest>=8.0.0",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["hub_core"]
|
|
artifacts = ["hub_core/migrations/script.py.mako"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|