Skip to main content

A python wrapper around the HyP3 API

Project description

HyP3 SDK

A python wrapper around the HyP3 API

Install

The HyP3 SDK can be installed via pip:

python -m pip install hyp3_sdk

Quick Usage

The HyP3 object interactions with the HyP3 API are done using an instance of the HyP3 class

from hyp3_sdk import HyP3

api = HyP3()  # Must have credentials for urs.earthdata.nasa.gov in a .netrc file for this to work

The submit_jobs method will submit jobs to the API for processing

from hyp3_sdk import make_rtc_gamma_job

jobs = [make_rtc_gamma_job('job_name', 'granule_name')]

response = api.submit_jobs(jobs)

The get_jobs method will request all jobs from the API and return them in a list of dictionaries

response = api.get_jobs()

Documentation

For advanced usage and the SDK API Reference, see the HyP3 documentation

Contact Us

Want to talk about the HyP3 SDK? We would love to hear from you!

Found a bug? Want to request a feature? open an issue

General questions? Suggestions? Or just want to talk to the team? chat with us on gitter

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

hyp3_sdk-0.3.0.tar.gz (22.3 kB view details)

Uploaded Source

Built Distribution

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

hyp3_sdk-0.3.0-py3-none-any.whl (9.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hyp3_sdk-0.3.0.tar.gz
  • Upload date:
  • Size: 22.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.8.6

File hashes

Hashes for hyp3_sdk-0.3.0.tar.gz
Algorithm Hash digest
SHA256 52fcbb9b25cda1b9d6531d58842569057b9c93546911abb77a9c283899e87968
MD5 704b158222ff8d0b8106d25a57b422e1
BLAKE2b-256 05f930971f54978461d3ae609487b2535c8c90942febccbd0acb4f343db5e1b0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hyp3_sdk-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.8.6

File hashes

Hashes for hyp3_sdk-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 51ddf49db8628d7554416c17594cc17a503e7c13ede53e66961776106ed7b788
MD5 56447e2c5dd973e01af840d4e4b6ed25
BLAKE2b-256 b2287a4daff51ef13e7e18485525776e7ef8303192d0e28b035c954b70da21ce

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