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

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

The following Jupyter notebooks demonstrate different features of the library:

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

These notebooks will eventually be available 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.18.tar.gz (24.0 kB view details)

Uploaded Source

Built Distribution

hdpws-0.6.18-py3-none-any.whl (22.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hdpws-0.6.18.tar.gz
  • Upload date:
  • Size: 24.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.5

File hashes

Hashes for hdpws-0.6.18.tar.gz
Algorithm Hash digest
SHA256 af3cff1885af89567606ea4064e43b73c4982f1a6a3ad1cb7e065a53abb1a290
MD5 bb4cd33c4894db7baf3004ddd8f0f6df
BLAKE2b-256 3cb475a427cb5359a27a1fb269815a8d88ee089f7a65eb95dce290355f0bfbb1

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: hdpws-0.6.18-py3-none-any.whl
  • Upload date:
  • Size: 22.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.5

File hashes

Hashes for hdpws-0.6.18-py3-none-any.whl
Algorithm Hash digest
SHA256 390f30d39dfe81ebd02644a1b1e0ab14ea088869d78751b07e6062b97440022c
MD5 ffe8941773afadd43c77ba169743e8c7
BLAKE2b-256 ef704b33f17bf01f0a409dc0a5930684ee4e44b72ee365593ec35a07be79bdfe

See more details on using hashes here.

Provenance

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