[READ-ONLY] Mirror of https://github.com/openstatusHQ/sdk-python. Official Python SDK for openstatus
1.8 kB
69 lines
1[project]
2name = "openstatus"
3version = "0.1.0"
4description = "Official Python SDK for Openstatus"
5readme = "README.md"
6license = { text = "MIT" }
7authors = [{ name = "Openstatus" }]
8requires-python = ">=3.10"
9keywords = ["openstatus", "monitoring", "status-page", "uptime", "sdk"]
10classifiers = [
11 "Development Status :: 3 - Alpha",
12 "Intended Audience :: Developers",
13 "License :: OSI Approved :: MIT License",
14 "Programming Language :: Python :: 3 :: Only",
15 "Programming Language :: Python :: 3.10",
16 "Programming Language :: Python :: 3.11",
17 "Programming Language :: Python :: 3.12",
18 "Programming Language :: Python :: 3.13",
19 "Typing :: Typed",
20]
21dependencies = [
22 "httpx>=0.27",
23 "protobuf>=7.35,<8",
24 "typing-extensions>=4.7; python_version<'3.11'",
25]
26
27[project.urls]
28Homepage = "https://www.openstatus.dev"
29Repository = "https://github.com/openstatusHQ/sdk-python"
30Issues = "https://github.com/openstatusHQ/sdk-python/issues"
31
32[dependency-groups]
33dev = [
34 "pytest>=8",
35 "pytest-asyncio>=0.24",
36 "pyright>=1.1.380",
37 "ruff>=0.6",
38 "respx>=0.21",
39 "types-protobuf>=5.28",
40]
41
42[build-system]
43requires = ["hatchling"]
44build-backend = "hatchling.build"
45
46[tool.hatch.build.targets.wheel]
47packages = ["src/openstatus"]
48
49[tool.hatch.build.targets.sdist]
50include = ["src/openstatus", "README.md", "LICENSE", "CHANGELOG.md"]
51
52[tool.pytest.ini_options]
53testpaths = ["tests/unit"]
54asyncio_mode = "auto"
55
56[tool.ruff]
57line-length = 100
58target-version = "py310"
59extend-exclude = ["src/openstatus/_gen"]
60
61[tool.ruff.lint]
62select = ["E", "F", "I", "B", "UP", "RUF"]
63
64[tool.pyright]
65include = ["src/openstatus", "tests"]
66exclude = ["src/openstatus/_gen", "**/__pycache__"]
67pythonVersion = "3.10"
68typeCheckingMode = "strict"
69reportMissingTypeStubs = false