Skip to main content

overture-matchers

PyPI Python versions uv License: MIT

Python matchers for conflating Overture Maps data: places, divisions, and addresses.

Matchers assign IDs. Each matcher compares incoming records from a data provider against the Overture baseline. Matching records take the baseline record's GERS ID, and unmatched records get new IDs.

Install

uv add overture-matchers

PySpark and Sedona are not runtime dependencies, because Spark platforms provide both. Other environments, such as local runs, need PySpark and Sedona installed alongside the package. The package's tests run against these versions:

uv add overture-matchers 'pyspark[sql]==3.5.4' apache-sedona==1.8.1

Local Spark sessions also need Java 17.

Run

On managed Spark platforms, overture_matchers.places.job.PlacesMatchingJob is the job class. The class extends SparkSedonaJob from overture-spark, and the class's run(params) method takes the job params as a dict.

Locally, each job module runs from the command line on a local Sedona session, with the params in a JSON file:

python -m overture_matchers.places.job params.json
{
  "outputPath": "/tmp/matcher-runs/2026-01-01",
  "input": {"place": ["/data/candidates/"]},
  "baseline": {"place": ["/data/baseline/"]},
  "provider": "acme",
  "modelJar": "/data/places-matcher-model.jar"
}

The first local run downloads the Sedona, GraphFrames and hadoop-aws jars from Maven into ~/.ivy2 (about 750 MB).

Every job param and the run folder layout are in the run reference.

Modules

Module Scope
core.config RunConfig, the settings for one run: parsing and validating job params, and guarding run folders against reruns with different params.
core.stages The typed outputs each stage returns, and run_stage, which runs each stage, writes the stage's outputs, marks the stage done and skips finished stages on reruns.
core.io Reads and writes inside the run folder: output paths, stage markers and lineage-cutting checkpoints.
core.local Running a job on a local Sedona session from a JSON params file.
places The places matcher.

core is the run plumbing every theme shares. Each theme has its own subpackage with a job module.

Jobs

Job Feature types Detail
places.job.PlacesMatchingJob place Places job

Documentation

Technical detail lives in the package's docs directory, grouped by what the reader needs:

Need Page
Look up a param or the run folder layout Run reference
Look up a job's stages and outputs Places job
Understand how runs resume How reruns work
Understand the design of the port python-migration.md

Development

uv sync
uv run pytest

Source, issues and the contributing guide are in OvertureMaps/matchers.

Metadata

Release files for overture-matchers 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for overture-matchers 0.2.0
File Size Uploaded Provenance Actions
overture_matchers-0.2.0.tar.gz 107.9 kB With provenance Details for overture_matchers-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for overture-matchers 0.2.0
File Interpreter ABI Platform Actions
overture_matchers-0.2.0-py3-none-any.whl Python 3 none any Details for overture_matchers-0.2.0-py3-none-any.whl

Total release size: 128.2 kB

Release files / overture_matchers-0.2.0.tar.gz

Download URL overture_matchers-0.2.0.tar.gz
Size 107.9 kB
Tags Source
SHA-256 checksum
How to use checksums
732878b0a9da9aa26fe79691c85842b2e00ae3d5876dcb1a7ad2c855ae9d1149
BLAKE2b-256 checksum
How to use checksums
8320c896fc08b74ac9683d987e5f9fab2676608d8aff187242ef195ca0de8874
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Release files / overture_matchers-0.2.0-py3-none-any.whl

Download URL overture_matchers-0.2.0-py3-none-any.whl
Size 20.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8108f92a14c5dcd9b6b95391f4a187b050569d20ec1ae8cfe7407c35de9c5e60
BLAKE2b-256 checksum
How to use checksums
4b9acc55e6f2249ca4af4168190a1fee1e41331cdd1940364c7d7681afb692a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

Security for overture-matchers 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for overture_matchers-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 1, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page