python/pyproject.toml
[build-system]
requires = ["hatchling>=1.26"]
build-backend = "hatchling.build"
[project]
name = "korp-map-client"
dynamic = ["version"]
description = "Python data client for the korp-map server: OpenStreetMap rows as Arrow tables, geocoding"
readme = "README.md"
requires-python = ">=3.10"
license = "MIT OR Apache-2.0"
license-files = ["LICENSE-MIT", "LICENSE-APACHE"]
keywords = ["openstreetmap", "arrow", "geoparquet", "geocoding", "map"]
classifiers = [
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: GIS",
"Typing :: Typed",
]
# Floors above known advisories: pyarrow 23.0.1 (CVE-2023-47248, CVE-2024-52338,
# CVE-2026-25087), geopandas 1.1.2 (CVE-2025-69662), brotli 1.2.1 (CVE-2020-8927,
# CVE-2025-6176, CVE-2026-111497), pytest 9.0.3 (CVE-2025-71176).
dependencies = [
"pyarrow>=23.0.1",
"httpx>=0.27",
]
[project.optional-dependencies]
geo = ["geopandas>=1.1.2", "shapely>=2.0"]
zstd = ["zstandard>=0.18"]
br = ["brotli>=1.2.1"]
all = ["korp-map-client[geo,zstd,br]"]
test = ["pytest>=9.0.3"]
[project.urls]
Source = "https://gunnar.rs/nordisk/korp-map"
[tool.hatch.version]
path = "src/korp_map_client/_version.py"
[tool.hatch.build.targets.wheel]
packages = ["src/korp_map_client"]
[tool.hatch.build.targets.sdist]
include = ["/src/korp_map_client", "/tests", "/README.md", "/LICENSE-MIT", "/LICENSE-APACHE", "/pyproject.toml"]
exclude = ["/shim-korp-map"]
[tool.pytest.ini_options]
testpaths = ["tests"]
markers = ["live: needs a running korp-map server at KORP_MAP_URL"]