This commit is contained in:
Edward Betts 2023-05-14 11:06:08 +02:00
parent 0b48f932cb
commit 2e8ff40d3d

13
matcher/__init__.py Normal file
View file

@ -0,0 +1,13 @@
"""Match OSM and Wikidata items."""
CallParams = dict[str, str | int]
user_agent = (
"osm-wikidata/0.1 (https://github.com/EdwardBetts/osm-wikidata; edward@4angle.com)"
)
def user_agent_headers() -> dict[str, str]:
"""User-Agent headers."""
return {"User-Agent": user_agent}