Skip to main content

Geo-Spatial Data Fetching

Project description

Fetchez

Fetch geospatial data with ease.

Version License Python PyPI version Project Chat

Fetchez is a lightweight, modular, and highly extendable Python framework designed to orchestrate geospatial data engineering workflows.

Originally developed as the core fetching engine for the CUDEM project, Fetchez has evolved into a standalone ETL platform. It seamlessly retrieves Bathymetry, Topography, Imagery, and Oceanographic data from dozens of global repositories (NOAA, USGS, Copernicus, ESA) and processes it on the fly.


❓ Why Fetchez?

Geospatial data engineering is traditionally fragmented. You often need one script to query an API, another tool to download the files, a GIS application to clip the data, and complex shell scripts to tie it all together.

Fetchez unifies the entire pipeline.

  • Unified Interface: Access 50+ different modules using the exact same syntax.

  • Parallel Fetching: High-performance, multi-threaded downloading with automatic retry, timeout handling, and partial-download resumption.

  • Infrastructure as Code: Define complex data pipelines, cropping, and gridding workflows using CLI switches or simple YAML "Recipes".

  • Pipeline Hooks: Transparently stream, filter, and process data (via globato and transformez) as it is being downloaded.

  • Execution Lifecycle: Fetchez formally separates data engineering into distinct phases (manifest -> file -> stream -> collection). This guarantees that file operations, in-memory stream processing, and final collection operations always happen in the correct order.

  • Infinite Extensibility: Built on a modern plugin architecture. Drop custom Python scripts into a local folder, or install community extensions via pip to add your own data sources, domain schemas, processing hooks, etc.


📦 Installation

pip install fetchez

Optional Extensions: To enable advanced vector boundary support (Shapefiles/GeoPackages for regions), install with the vector extras:

pip install fetchez[vector]

🐄 Quickstart

Fetch Copernicus topography and NOAA multibeam bathymetry for a specific bounding box in one command:

CLI

fetchez run -R loc:"Miami, FL" --global-hook audit copernicus multibeam

Or run a full processing pipeline from a YAML recipe:

fetchez recipes run recipes/my_dem_project.yaml

Python

import fetchez

# Fetch Electronic Nautical Chart data from NOAA
files = fetchez.get("charts", region=[-120, -118, 33, 34], hooks=['unzip', 'filename_filter:match=.000', 'audit'])

DEM Building with Globato

While Fetchez handles the data retrieval and point-streaming, its sister project Globato provides the multi_stack accumulators and multi-resolution interpolation engines needed to turn those streams into production-grade Digital Elevation Models. Check it out!


📚 Documentation

Would you like to know more? Check out our Official Documentation to learn about:

  • Modules & Bundles: Discover and learn about data fetchers.

  • The Python API: Build custom fetchers into your apps.

  • Recipes & YAML: Run custom workflows from a simple YAML configuration.

  • Hooks & Presets: Automate unzipping, filtering, and processing.

  • Domain Schemas: Enforce rigorous geospatial standards automatically.

  • Custom Plugins: Write your own data fetchers, processing hooks and extensions.


⚖ License

This project is licensed under the MIT License - see the LICENSE file for details.

Copyright (c) 2010-2026 Regents of the University of Colorado

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fetchez-0.6.9.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fetchez-0.6.9-py3-none-any.whl (1.5 MB view details)

Uploaded Python 3

File details

Details for the file fetchez-0.6.9.tar.gz.

File metadata

  • Download URL: fetchez-0.6.9.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for fetchez-0.6.9.tar.gz
Algorithm Hash digest
SHA256 909591575677cad71ae24b1e9c297c622a773888fdf725f49686a77403382eec
MD5 9f21914cd27a3440abc1bab13e139ca8
BLAKE2b-256 f8f35715c06d3d4d110b02af0a51ceab301f9fddad6f40dc928bcf189cc7d548

See more details on using hashes here.

Provenance

The following attestation bundles were made for fetchez-0.6.9.tar.gz:

Publisher: publish.yaml on continuous-dems/fetchez

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fetchez-0.6.9-py3-none-any.whl.

File metadata

  • Download URL: fetchez-0.6.9-py3-none-any.whl
  • Upload date:
  • Size: 1.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for fetchez-0.6.9-py3-none-any.whl
Algorithm Hash digest
SHA256 c2721369cd47fe3ab07f442ce67176c6dfe98040ac99772509b277187b02031e
MD5 7f9a9176683c7816cbd75f33c929ca42
BLAKE2b-256 c9707840186a5cfa7392b1b94eb2a69856d492fc19ac8f0f8cdac325ab522ebc

See more details on using hashes here.

Provenance

The following attestation bundles were made for fetchez-0.6.9-py3-none-any.whl:

Publisher: publish.yaml on continuous-dems/fetchez

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page