f2ea74d7e3
Mirrors keysat 0014 + TS/Rust SDK 0.3.0. PublicPoliciesProduct gains entitlements_catalog: list[EntitlementDef] with slug + name + description. SDK consumers' in-app tier pickers can render display names + tooltip descriptions instead of raw slugs. Empty list on legacy products without a catalog. No breaking change.
49 lines
1.5 KiB
TOML
49 lines
1.5 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=68", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "keysat-licensing-client"
|
|
version = "0.3.0"
|
|
description = "Python client for Keysat — a self-hosted Bitcoin-paid software licensing server that runs on Start9. Verifies signed license keys offline and wraps the HTTP API for purchase, redemption, and revocation checks."
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
license = { text = "MIT OR Apache-2.0" }
|
|
authors = [{ name = "Keysat", email = "licensing@keysat.xyz" }]
|
|
keywords = ["bitcoin", "licensing", "btcpay", "start9", "ed25519"]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
"License :: OSI Approved :: Apache Software License",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Topic :: Security :: Cryptography",
|
|
]
|
|
dependencies = [
|
|
"cryptography>=42",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
online = ["httpx>=0.27"]
|
|
dev = [
|
|
"pytest>=8",
|
|
"ruff>=0.5",
|
|
"mypy>=1.10",
|
|
"httpx>=0.27",
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://keysat.xyz"
|
|
Repository = "https://github.com/keysat-xyz/keysat"
|
|
Documentation = "https://github.com/keysat-xyz/keysat/blob/main/docs/INTEGRATION.md"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["src"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
addopts = "-q"
|