Skip to main content

NASA's Heliophysics Data Portal Web Service Client Library

Project description

Synopsis

This library provides a simple python interface to NASA's Heliophysics Data Portal's (HDP) Space Physics Archive, Search, and Extract (SPASE) Web Service. This library implements the client side of the HDP RESTful web services. For more general details about the HDP web services, see https://heliophysicsdata.gsfc.nasa.gov/WebServices/. SPASE Inside

Badge for the repository entry r3d100010168 in re3data

Code Example

This package contains example code calling most of the available web services. To run the included example, do the following

python -m hdpws

Also, the following Jupyter notebooks demonstrate different features of the library:

  1. Simple Query Example (ipynb file) demonstrating a simple query. Launch on Binder.
  2. Example with data retrieval using cdasws (ipynb file). Launch on Binder.

Motivation

This library hides the HTTP and JSON/XML details of the HDP web services. A python developer only has to deal with python objects and methods.

Dependencies

At this time, the only dependency are:

  1. requests

The critical dependencies above will automatically be installed when this library is.

Installation

To install this package

$ pip install -U hdpws

API Reference

Refer to hdpws package API reference

or use the standard python help mechanism.

from hdpws import HdpWs
help(HdpWs)

Tests

The tests directory contains unittest tests.

Contributors

Bernie Harris.
e-mail for support.

License

This code is licensed under the NASA Open Source Agreement (NOSA).

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

hdpws-0.6.28.tar.gz (26.2 kB view details)

Uploaded Source

Built Distribution

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

hdpws-0.6.28-py3-none-any.whl (34.3 kB view details)

Uploaded Python 3

File details

Details for the file hdpws-0.6.28.tar.gz.

File metadata

  • Download URL: hdpws-0.6.28.tar.gz
  • Upload date:
  • Size: 26.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for hdpws-0.6.28.tar.gz
Algorithm Hash digest
SHA256 5ac60c8027742916ef4ceeabf7f2d10744ca252d837dd746c60760d5788d3189
MD5 7c663313988ccf7b438473f32ccb912c
BLAKE2b-256 48ea97717b972144c6e729838276dc75288f086cfd1259c80057754c14e4c98d

See more details on using hashes here.

File details

Details for the file hdpws-0.6.28-py3-none-any.whl.

File metadata

  • Download URL: hdpws-0.6.28-py3-none-any.whl
  • Upload date:
  • Size: 34.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for hdpws-0.6.28-py3-none-any.whl
Algorithm Hash digest
SHA256 d2828bbae34191cf90473cc6bac8e507eff8055946daacfaef1c8196e6823c8b
MD5 bd0a9b5cd66ce87bca3535d6d5ef258e
BLAKE2b-256 e5f02d5d298366a4708bcea8ce6430c5a56a02fcf6f9cc2897241636ab9d4b0f

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