Skip to main content

A client to the ASI-SSDC's SED Builder API.

Project description

sedbuilder

The sedbuilder package implements a Python interface to the ASI Space Science Data Center's SED Builder REST API.

Overview

This package provides programmatic access to multi-wavelength spectral energy distribution (SED) data from catalogs, surveys, and archival observations across the electromagnetic spectrum. It is based on SED Builder, a software developed at the ASI-SSDC to produce and display the SED data over the web.

Installation

pip install ssdc-sedbuilder

Quick Start

from sedbuilder import get_data

# Get response from SED for astronomical coordinates
response = get_data(ra=194.04625, dec=-5.789167)

# Access data in different formats
table = response.to_astropy()     # Astropy Table
data_dict = response.to_dict()    # Python dictionary
jt = response.to_jetset(z=0.034)  # Jetset table
json_str = response.to_json()     # JSON string
df = response.to_pandas()         # Pandas DataFrame (requires pandas)

Development

git clone https://github.com/peppedilillo/sedbuilder.git
cd sedbuilder
pip install -e ".[dev]"
pre-commit install
pytest

Requests

Need a new feature? Don't hesitate to ask in our discussion section.

Documentation

Check out our API reference.

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

ssdc_sedbuilder-0.2.2.tar.gz (245.8 kB view details)

Uploaded Source

Built Distribution

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

ssdc_sedbuilder-0.2.2-py3-none-any.whl (34.8 kB view details)

Uploaded Python 3

File details

Details for the file ssdc_sedbuilder-0.2.2.tar.gz.

File metadata

  • Download URL: ssdc_sedbuilder-0.2.2.tar.gz
  • Upload date:
  • Size: 245.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for ssdc_sedbuilder-0.2.2.tar.gz
Algorithm Hash digest
SHA256 e7766b0bef58bd14704b8f5b3e40f3b31fc8f87d84ed971bda36bb42396abd0b
MD5 24f3d9e3e55159c15f714251837255dc
BLAKE2b-256 a7f7d6a92031eabeefcb988489fe59755c8e8f7241a7f2a24bd04b59392a9337

See more details on using hashes here.

File details

Details for the file ssdc_sedbuilder-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for ssdc_sedbuilder-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6ad08e6273aceb9b93d4ce2cd20479c6efeb331f029ec56d57bce0492354512e
MD5 6feca13732890abf45f52c9013d5f172
BLAKE2b-256 745d3dccbf0923ba85c32970aa57525d70e9890c3ad9e62ada2269f2f395ebf0

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