overture_core
Shared, framework-agnostic business logic for the Overture data platform: helpers and portable job classes built on overture-serverless.
Install
uv add overture-core
uv add 'overture-core[stac]' # with an extra
Heavier dependencies are optional extras, so consumers on constrained runtimes (for example MWAA's pinned pyarrow) stay installable. Quote the extra in shells like zsh that glob brackets. For local development, run uv sync --extra dev, then uv run pytest.
| Extra | Needed for |
|---|---|
stac |
stac.job.PublishStac, stac.catalog.build_release_catalog (stac.latest_release_job.LatestRelease works without it) |
azure |
cloud.azure |
maproulette |
apis.maproulette.MapRouletteClient |
compression |
deflate64.enable_zipfile_deflate64 |
test-area |
test_area with a WKT area (a bbox needs no extra) |
sql-spark, sql-trino |
The SQL-engine test lanes only |
cloud.aws.object.read_parquet_prefix needs a pyarrow of your choosing on the path. Optional provider SDKs stay out of the base dependencies: add an extra and import the SDK lazily inside the helper.
Modules
Framework-agnostic helpers, each importable on its own without pulling in the job classes below.
| Module | Scope |
|---|---|
uuids |
Pure Python, Spark-free UUID generation for any UUID version, current or future RFC. |
uuids_sql |
SQL-string equivalents of uuids, for computing UUID columns server-side in Spark or Trino instead of round-tripping through a Python UDF. |
spark_sql |
Spark SQL table-creation strings from caller-owned column definitions, rendered with SQLGlot without importing Spark or Arrow. |
strings_sql |
SQL expressions that make string values satisfy the Overture schema's string constraints (e.g. StrippedString), computed in-query instead of through a Python UDF. |
versioning |
Deriving a consistent dated version string for sources that don't publish explicit version metadata. |
iceberg |
Shared Iceberg + Sedona catalog configuration, reusable across platforms/engines. |
cloud |
Cloud helpers: provider-agnostic code plus one subpackage per vendor (aws, azure, databricks). |
pypi |
Provider-agnostic PyPI package download/publish helpers, usable against any index. |
apis |
Clients for third-party HTTP APIs, one module per vendor (apis.tomtom, apis.maproulette, and apis.github, which mints GitHub App installation tokens from a PEM in Secrets Manager; see the reference doc). Anything that's not a cloud platform but still an external service belongs here. |
urls |
Generic URL string utilities not tied to any specific service or cloud provider. |
file_io |
Stdlib-only file readers (CSV, TSV, JSON). Currently reads data files shipped inside a Python package, including from a zipped wheel. No Spark or pandas, so usable in UDF setup on workers. |
deflate64 |
Letting the stdlib zipfile read Deflate64 (method 9) archives, such as Windows-built vendor zips, which it otherwise rejects. Patches zipfile process-wide. |
bbox |
Validating and safely rendering an optional bounding-box string param ("min_lon,min_lat,max_lon,max_lat", '' = full planet), shared by any entry point that accepts one. |
test_area |
Validating an optional test-area string param (a bbox or a POLYGON / MULTIPOLYGON WKT, '' = full planet) that scopes a dev or test run to a region, and deriving its envelope and polygon WKT, shared by any entry point that accepts one. |
stac |
STAC catalog reads/writes and the jobs that publish them (see Jobs). |
data |
Describing a data location and its sync configuration, independent of the mechanism used to move it. |
docs |
Automating docs-repo updates for a release, via a GitHub App. |
artifacts |
Release artifact types (metadata, license, attribution) and the tree-search/S3 I/O to read and write them. |
dataset |
Parsing, validating and rendering provider/resource dataset configs and the license policy, plus the overture-datasets CLI. |
bundle |
The lifecycle and S3 layout for pipeline-managed bundles: data/, metadata.json and a success marker under Hive-style partitions, with components, status, partition resolution and retention/cleanup; bundle.registry maps an S3 path to its bundle type. A provider-dropped raw input may have only data and a success marker, without metadata.json; it need not have been initialized as a pipeline-managed bundle. Storage uses a pluggable BundleStore (S3 by default; in-memory for tests and offline tools). The caller supplies bucket/namespace choices and the metadata writer. |
Jobs
stac.job.PublishStac: publishes the Overture STAC catalog. Two modes selected by the presence of thereleaseparam:- single-release (
release+source_path+scratch_bucket): publish just that release, mirror scoped tostac/{release}/. Schema comes from the RC bundle'smetadata.json. - walk (no
release, requiresscratch_bucket): rebuild the catalog for every release currently in the public bucket, mirror the wholestac/prefix with delete-orphans. Schema per release comes from the existing STAC (schema:versionin eachcatalog.json); on cache miss the job self-heals by reading schema from the released RC bundle inscratch_bucketand raises if it can't recover.
- single-release (
stac.latest_release_job.LatestRelease: reads the STAC root catalog (root_href, defaults to the prod root) and resolves the newest release ID. Read-only, HTTPS-only, no AWS credentials or S3 access needed. Stashes the result onself.latest_releasefor a caller that instantiates the job directly instead of going throughrun().
Future work
- Bundle-owned schema accessor — move
read_schema_version_from_rc_bundleontobundle.bundle.ReleaseCandidateBundleasresolved_schema_version(); single-release mode's schema read shrinks to one line. - Upstream
build_release_catalog— file a PR against OvertureMaps/stac exposing this as a public API (their CLI already does the exact call sequence). When it lands, our wrapper collapses.
Metadata
Release files for overture-core 1.15.3
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_core-1.15.3.tar.gz | 353.3 kB | With provenance | Details for overture_core-1.15.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| overture_core-1.15.3-py3-none-any.whl | Python 3 | none | any | Details for overture_core-1.15.3-py3-none-any.whl |
Total release size: 476.9 kB
Release files / overture_core-1.15.3.tar.gz
| Download URL | overture_core-1.15.3.tar.gz |
|---|---|
| Size | 353.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b89bbf3cd3bf592c07867e89142b0c1e42c5689a80bd39f8dee980eff24dab2c
|
|
BLAKE2b-256 checksum How to use checksums |
269b0db8cae51909c30c3181f284438c4e94a286a59b5f3d7014052797caa336
|
| 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 Nov 23, 2026.
Transparency logRelease files / overture_core-1.15.3-py3-none-any.whl
| Download URL | overture_core-1.15.3-py3-none-any.whl |
|---|---|
| Size | 123.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
01f1299989b6c2e4712c3229542bcc9378397e06975e0da0b46a88c54859d5f1
|
|
BLAKE2b-256 checksum How to use checksums |
da06b4a6ed02c50474d7401af4e0f3439eb3510df8438842533c7f96d3fc5f82
|
| 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 Nov 23, 2026.
Transparency logSecurity for overture-core 1.15.3
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_core-1.15.3.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 Nov 23, 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.