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.7.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.7-py3-none-any.whl (1.5 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fetchez-0.6.7.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.7.tar.gz
Algorithm Hash digest
SHA256 ce16d496a8fc706664d2772881adf5a472b944a0186a84d269a49af2ad872542
MD5 4fcbc226699df1730f9c3977c7bd12d0
BLAKE2b-256 528631012b77250baa71e09ce0ce4a3a2cd79ce4cd6a05e70bf4482dcf25fc60

See more details on using hashes here.

Provenance

The following attestation bundles were made for fetchez-0.6.7.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.7-py3-none-any.whl.

File metadata

  • Download URL: fetchez-0.6.7-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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 3de093ac82f7c4c38c44ff08f7d6005b2b9820128af17cb0237cad9c4e3a62e3
MD5 f228c561e24ec7114abce17121dc4a8c
BLAKE2b-256 e9e3807f14ec47bbdf88e93ea08bce670e1710cb8e24f181680e1134289fbe25

See more details on using hashes here.

Provenance

The following attestation bundles were made for fetchez-0.6.7-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