Zero-dependency clients for errors.bitreport.pt following the same patterns as clients/node and clients/php: batch size 25, 5 s flush interval, 8 s HTTP timeout, fire-and-forget, env-var config. Each client ships with unit tests backed by an embedded HTTP server (no mocks), an example file, and a build manifest (pyproject.toml, go.mod, pom.xml). Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
33 lines
929 B
TOML
33 lines
929 B
TOML
[build-system]
|
|
requires = ["setuptools>=68"]
|
|
build-backend = "setuptools.backends.legacy:build"
|
|
|
|
[project]
|
|
name = "bitreport-errors"
|
|
version = "1.0.0"
|
|
description = "Lightweight error reporting client for errors.bitreport.pt"
|
|
readme = "README.md"
|
|
requires-python = ">=3.8"
|
|
license = { text = "MIT" }
|
|
keywords = ["error-reporting", "monitoring", "bitreport"]
|
|
classifiers = [
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.8",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Operating System :: OS Independent",
|
|
"Topic :: System :: Monitoring",
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://errors.bitreport.pt"
|
|
|
|
[tool.setuptools]
|
|
py-modules = ["error_reporter"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|