-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
90 lines (80 loc) · 2.79 KB
/
Copy pathpyproject.toml
File metadata and controls
90 lines (80 loc) · 2.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "livetennisapi"
version = "1.7.0"
description = "Official Python client for the Live Tennis API — real-time tennis scores, players, market prices and model win-probability over REST and WebSocket."
readme = "README.md"
requires-python = ">=3.9"
license = { text = "MIT" }
authors = [{ name = "Live Tennis API", email = "hello@livetennisapi.com" }]
keywords = [
"tennis", "tennis-api", "live-scores", "sports", "sports-api",
"sports-data", "atp", "wta", "challenger", "itf", "juniors", "rankings",
"odds", "api-client", "sdk", "websocket", "real-time",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Internet :: WWW/HTTP",
"Typing :: Typed",
]
dependencies = [
"httpx>=0.24,<1",
]
[project.optional-dependencies]
ws = ["websockets>=12"]
cli = ["rich>=13"]
all = ["websockets>=12", "rich>=13"]
dev = [
"pytest>=8",
"pytest-asyncio>=0.23",
"respx>=0.21",
"ruff>=0.6",
"mypy>=1.11",
"websockets>=12",
"rich>=13",
]
[project.scripts]
livetennis = "livetennisapi.cli:main"
[project.urls]
Homepage = "https://livetennisapi.com"
Documentation = "https://docs.livetennisapi.com"
Repository = "https://github.com/livetennisapi/livetennisapi-python"
Issues = "https://github.com/livetennisapi/livetennisapi-python/issues"
Changelog = "https://github.com/livetennisapi/livetennisapi-python/blob/main/CHANGELOG.md"
Pricing = "https://livetennisapi.com/#pricing"
[tool.hatch.build.targets.wheel]
packages = ["src/livetennisapi"]
[tool.hatch.build.targets.sdist]
include = ["src/livetennisapi", "README.md", "LICENSE", "CHANGELOG.md", "tests"]
[tool.ruff]
line-length = 120
target-version = "py39"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "C4", "SIM"]
ignore = ["B008", "SIM105"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
markers = [
"contract: hits the live API; skipped unless LIVETENNISAPI_KEY is set",
]
[tool.mypy]
# No `python_version` pin: mypy >= 1.18 refuses to run with a target below
# 3.10, while this package genuinely supports 3.9. Ruff's target-version
# already enforces 3.9-compatible syntax, so pinning here bought nothing and
# broke the tool.
warn_unused_ignores = true
ignore_missing_imports = true