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 (HDP). 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/REST/.

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

This "Getting Started" page contains information to help someone begin using the hdpws library to access information from the Heliophysics Data Portal in a Python program.


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

  1. Simple Query Example (ipynb file)demonstrating a simple query.

These notebooks are also 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.1.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

hdpws-0.1-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for hdpws-0.1.tar.gz
Algorithm Hash digest
SHA256 6cde6654087780a7b4862249221345657a39a28350ee0551a84cd5359d626f39
MD5 cf12cef0688c7ae242a97e681415dc6b
BLAKE2b-256 506094bc3344fb477064243c93da7baa8b44bb743565bf5089426ce3d618d521

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: hdpws-0.1-py3-none-any.whl
  • Upload date:
  • Size: 14.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c850cad447ab95f2ef2ba7ade5f45358b1ba70de5fad04a8105ab14952d98cc8
MD5 38436ffa5c573996e0adbed84fe28d77
BLAKE2b-256 78d831a5a06efe62e5e69900f6830df73e6df3260265540b3047c5dcb2fc4866

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