Skip to main content

This package contains common functionality for different ISIMIP tools.

Project description

ISIMIP utils

Latest release PyPI Release Python Version License

This package contains common functionality for different ISIMIP tools, namely:

It comprises of:

  • isimip_utils.checksum: Functions to compute the SHA-512 checksum of a file.
  • isimip_utils.config: A settings class to combine input from argparse, the environment (via python-dotenv) and config files.
  • isimip_utils.exceptions: Custom exceptions for ISIMIP tools.
  • isimip_utils.fetch: Functions to fetch files from the machine-actionable ISIMIP protocols.
  • isimip_utils.netcdf: Functions to open and read NetCDF files.
  • isimip_utils.patterns: Functions to match the file names and extract the ISIMIP specifiers.
  • isimip_utils.utils: Additional utility functions.

Setup

Working on the package requires a running Python3 on your system. Installing those prerequisites is covered here.

The package itself can be installed via pip:

pip install isimip-utils

The package can also be installed directly from GitHub:

pip install git+https://github.com/ISI-MIP/isimip-utils

For a development setup, the repo should be cloned and installed in editable mode:

git clone git@github.com:ISI-MIP/isimip-utils
pip install -e isimip-utils

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

isimip-utils-1.3.2.tar.gz (9.4 kB view hashes)

Uploaded Source

Built Distribution

isimip_utils-1.3.2-py3-none-any.whl (9.8 kB view hashes)

Uploaded Python 3

Supported by

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