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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fetchez-0.6.5.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.5.tar.gz
Algorithm Hash digest
SHA256 dba2ccfd682f1b35d62b9b4a691455217d6c8258c1c1a56f55f195eb2c411cd5
MD5 1a9b06a57f5dba49021361b31b05dbec
BLAKE2b-256 4ba2a6a6c999c8e495990c6cd27de9d37ffe3c1a9f38c095b63a5f28565ed7c8

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: fetchez-0.6.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 09d21dff3d00443c669e939383aacc5d2597b4becc7107edfa0a947484c815b7
MD5 2e98e28898a9682a22f238ed807ca7b7
BLAKE2b-256 5fcffae8ad6b49e5afbb92105da12ef40f69de61be64a979436998a36824f2e7

See more details on using hashes here.

Provenance

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