overture-matchers
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. |
ids |
Assigning GERS IDs to the selected matches. |
metrics |
Run metrics every theme shares, and turning metrics into output rows. |
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.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| overture_matchers-0.3.0.tar.gz | 126.7 kB | With provenance | Details for overture_matchers-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| overture_matchers-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for overture_matchers-0.3.0-py3-none-any.whl |
Total release size: 163.6 kB
Release files / overture_matchers-0.3.0.tar.gz
| Download URL | overture_matchers-0.3.0.tar.gz |
|---|---|
| Size | 126.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f13c22cae909901225254a95bd9f77bb3b8862c361478f556867c1cfe31a650
|
|
BLAKE2b-256 checksum How to use checksums |
bd38f2f2368cbd07b1ce498052be06ffd6c2608b8fbfe74b1336e8b87062eed3
|
| 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 logRelease files / overture_matchers-0.3.0-py3-none-any.whl
| Download URL | overture_matchers-0.3.0-py3-none-any.whl |
|---|---|
| Size | 36.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e236663891b04b8f5b54cd6f2c931e7d9acf658cedcdbf1dd0f5ba9de25d67be
|
|
BLAKE2b-256 checksum How to use checksums |
c47e26b587e70bf7f45f56a27bdc7dfe50038d0290d8eb8be258988bc9485d6a
|
| 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 logSecurity for overture-matchers 0.3.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.
Attestation for overture_matchers-0.3.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 logA 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.