87 lines
2.1 KiB
TOML
87 lines
2.1 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "cgn-appointments"
|
|
dynamic = ["version"]
|
|
description = 'Scrapes appointments from termine.stadt-koeln.de an sends a message to a ntfy server.'
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
license = "MIT"
|
|
keywords = ["selenim", "cologne", "scraper"]
|
|
authors = [
|
|
{ name = "Marc Koch", email = "marc-koch@posteo.de" },
|
|
]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Programming Language :: Python",
|
|
"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",
|
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
"Programming Language :: Python :: Implementation :: PyPy",
|
|
]
|
|
dependencies = [
|
|
"attrs==24.2.0",
|
|
"certifi==2024.8.30",
|
|
"charset-normalizer==3.3.2",
|
|
"h11==0.14.0",
|
|
"idna==3.8",
|
|
"outcome==1.3.0.post0",
|
|
"platformdirs==4.3.2",
|
|
"PySocks==1.7.1",
|
|
"PyYAML==6.0.2",
|
|
"requests==2.32.3",
|
|
"selenium==4.24.0",
|
|
"sniffio==1.3.1",
|
|
"sortedcontainers==2.4.0",
|
|
"trio==0.26.2",
|
|
"trio-websocket==0.11.1",
|
|
"typing_extensions==4.12.2",
|
|
"urllib3==2.2.3",
|
|
"validators==0.34.0",
|
|
"websocket-client==1.8.0",
|
|
"wsproto==1.2.0",
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://git.extrasolar.space/marc/cgn-appointments.git"
|
|
|
|
[project.scripts]
|
|
cgn-appointments = "cgnappointments.__main__:main"
|
|
|
|
[tool.hatch.version]
|
|
path = "src/cgnappointments/__about__.py"
|
|
|
|
[tool.hatch.envs.types]
|
|
extra-dependencies = [
|
|
"mypy>=1.0.0",
|
|
]
|
|
[tool.hatch.envs.types.scripts]
|
|
check = "mypy --install-types --non-interactive {args:src/cgn_appointments tests}"
|
|
|
|
[tool.coverage.run]
|
|
source_pkgs = ["cgnappointments"]
|
|
branch = true
|
|
parallel = true
|
|
omit = [
|
|
"src/cgnappointments/__about__.py",
|
|
]
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["src/cgnappointments"]
|
|
include = ["cgnappointments/config_template.yaml"]
|
|
|
|
[tool.coverage.paths]
|
|
cgn_appointments = ["src/cgnappointments"]
|
|
|
|
[tool.coverage.report]
|
|
exclude_lines = [
|
|
"no cov",
|
|
"if __name__ == .__main__.:",
|
|
"if TYPE_CHECKING:",
|
|
]
|