[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "metergate"
version = "0.1.0"
description = "Tiered usage quotas + capability gating: groups, per-user overrides, calendar-period reset."
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
authors = [{ name = "Egor Ivanov" }]
keywords = ["quota", "rate-limit", "usage", "metering", "capability", "tiers", "groups"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Topic :: System :: Systems Administration",
]
dependencies = []
[project.optional-dependencies]
postgres = ["psycopg[binary]>=3.1"]
redis = ["redis>=5.0"]
dev = ["pytest>=8"]
[project.scripts]
metergate = "metergate.cli:main"
[project.urls]
Homepage = "https://git.noctentrion.com/egor/metergate"
Source = "https://git.noctentrion.com/egor/metergate"
[tool.hatch.build.targets.wheel]
packages = ["src/metergate"]
[tool.pytest.ini_options]
testpaths = ["tests"]