Skip to main content companion package

Project description



>>> from yspacepy.objects import sun, earth
>>> sun.radius.value
>>> sun.radius.unit
>>> sun.radius
<Quantity 695508. km>
>>> sun.dist('earth')
<Quantity 1.496e+08 km>

Using the API interface

Using the interface for the y-space API:

>>> from yspacepy.api import ysapi
>>> api = ysapi()
>>> api.messier.list()
['m1', 'm2', 'm3', 'm4', 'm5', ...
{'con': 'Tau', 'dec': '+22° 01′', 'dist': '6300', ...


$ pip install yspacepy

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for yspacepy, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size yspacepy-0.2.2-py3-none-any.whl (3.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size yspacepy-0.2.2.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page