http://y-space.pw companion package
Project description
yspacepy
Synopsis
>>> from yspacepy.objects import sun, earth
>>> sun.radius.value
695508.0
>>> sun.radius.unit
Unit("km")
>>> 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', ...
>>> api.messier.id('m1')
{'con': 'Tau', 'dec': '+22° 01′', 'dist': '6300', ...
Installation
$ 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.
Source Distribution
yspacepy-0.2.tar.gz
(2.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file yspacepy-0.2.tar.gz.
File metadata
- Download URL: yspacepy-0.2.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd7294beb10cbc9ece4bb45f2530f32deb9f93f7f112b523901841ca7c3e90eb
|
|
| MD5 |
4a8f684985edc608c4f7f5c7e7f91f5e
|
|
| BLAKE2b-256 |
1b8beb30a2418050bafa2338f74e1f02118f02350011d2b0f1fa9b9b0128a093
|
File details
Details for the file yspacepy-0.2-py3-none-any.whl.
File metadata
- Download URL: yspacepy-0.2-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.6.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b1aec03386b85c09ec77f7193ad758a37f56fe8b2cf0972acffb2efc7accbd5
|
|
| MD5 |
17da782e7df8a68addd016e5a671318f
|
|
| BLAKE2b-256 |
84f0a624d8f440f091a1a05e8176426c7c5bbf991ff2d2c6ed39c703111366e2
|