Files
sqlmodel-pg-kit/pyproject.toml
2025-08-17 22:18:45 +08:00

45 lines
1.1 KiB
TOML

[project]
name = "sqlmodel-pg-kit"
version = "0.1.0"
description = "Reusable SQLModel + PostgreSQL kit: config dataclass, engines, CRUD, CLI."
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.10"
authors = [{ name = "Your Name", email = "you@example.com" }]
keywords = ["sqlmodel", "sqlalchemy", "postgresql", "orm", "crud"]
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"License :: OSI Approved :: MIT License",
"Topic :: Database",
]
dependencies = [
"sqlmodel>=0.0.16",
"psycopg[binary]>=3.1",
"asyncpg>=0.29",
"alembic>=1.13",
"pydantic>=2.6",
]
[project.optional-dependencies]
fastapi = ["fastapi>=0.111", "uvicorn>=0.30"]
pgvector = ["pgvector>=0.2"]
[project.scripts]
sqlmodel-pg-kit = "sqlmodel_pg_kit.cli:main"
[build-system]
requires = ["hatchling>=1.25"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
include = ["src/sqlmodel_pg_kit", "README.md", "LICENSE", "CHANGELOG.md", "conda/meta.yaml"]
[tool.hatch.build.targets.wheel]
packages = ["src/sqlmodel_pg_kit"]
[tool.pytest.ini_options]
markers = [
"integration: tests that require a running external Postgres",
]