Skip to main content

Toolkit to manipulate Earth observations and models.

Project description

terrapyn

Code Coverage PyPI version versions GitHub license Ruff

Toolkit to manipulate Earth Observation Data: Remote Sensing, Climate and Weather models. Designed to work with Pandas/GeoPandas and Xarray data structures, implementing Dask where possible.

The name is pronounced the same as "terrapin", a type of fresh water turtle

Terrapyn Package Structure

This package is structured with optional modules as separate packages

Core Package: terrapyn

  • Installation: pip install terrapyn
  • Contains: Core functionality (utils, stats, indices, etc.)
  • Imports: import terrapyn as tp

Earth Engine Module: terrapyn-ee

  • Installation: pip install terrapyn-ee
  • Contains: Earth Engine functionality
  • Dependencies: Requires terrapyn core package
  • Imports: from terrapyn.ee import data, io, stats, timeseries, utils

BigQuery Module: terrapyn-bq

  • Installation: pip install terrapyn-bq
  • Contains: BigQuery functionality
  • Dependencies: Requires terrapyn core package
  • Imports: from terrapyn.bq import data, io

Installation Options

Python environment setup

An environment with Python version 3.10 or later is required. If you don't have this, it can be created using Pyenv which should be installed first. After installing Pyenv, download and install Python 3.10 using

pyenv install 3.10

If you already have Python version 3.10 or later you can skip this step.

The package can be installed in an existing Python environment via pip:

Minimal Installation (Core Only)

pip install terrapyn

With Earth Engine Support

pip install terrapyn terrapyn-ee

With BigQuery Support

pip install terrapyn terrapyn-bq

Full Installation

pip install terrapyn terrapyn-ee terrapyn-bq

From Source

git clone https://github.com/colinahill/terrapyn.git && cd terrapyn

Development

This project uses Astral uv to manage dependencies, which should be installed first. Then the environment is created with uv venv.

A Makefile contains most/all of the required tools for code quality, testing and publishing. Run make help to see available commands.

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

terrapyn-0.3.0.tar.gz (381.4 kB view details)

Uploaded Source

Built Distribution

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

terrapyn-0.3.0-py3-none-any.whl (62.8 kB view details)

Uploaded Python 3

File details

Details for the file terrapyn-0.3.0.tar.gz.

File metadata

  • Download URL: terrapyn-0.3.0.tar.gz
  • Upload date:
  • Size: 381.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.8.13

File hashes

Hashes for terrapyn-0.3.0.tar.gz
Algorithm Hash digest
SHA256 92120348f4a2036745d73aae13e578dc5517d1192fa6144c759913283c4a79ac
MD5 8d0f377a276b8e7d2075f4c75d14c011
BLAKE2b-256 4b8607f756dd70a8e3826e0c8162f3440ad7260c276b5713b2ad17435961c5ed

See more details on using hashes here.

File details

Details for the file terrapyn-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: terrapyn-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 62.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.8.13

File hashes

Hashes for terrapyn-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ff26b66b1cdbd7e9dca91028cfea1cbf312f2f0765c1be57a1f7e4f7a983b484
MD5 e933f92ea13ce3627c4412f3d4a51326
BLAKE2b-256 714db386b5f5cfd309d54533cc755e2376a95dcec64924e9318c7a2728f8051d

See more details on using hashes here.

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