Python client for SsODNet data access.
Project description
Features - Install - Documentation
Features
Explore asteroid data on the command-line...
$ rocks id 221
(221) Eos
$ rocks class Eos
MB>Outer
$ rocks albedo Eos
0.136 +- 0.004
$ rocks taxonomy Eos
K
$ rocks density Eos
4.559e+03 +- 1.139e+03 kg/m$^3$
... and in a python script.
>>> import rocks
>>> rocks.identify("1902ug")
('Fortuna', 19)
>>> ceres = rocks.Rock("ceres")
>>> ceres.diameter.value
848.4
>>> ceres.diameter.unit
'km'
>>> ceres.mass.value
9.384e+20
>>> ceres.mass.error
6.711e+17
Install
Install from PyPi using pip:
$ pip install space-rocks
The minimum required python version is 3.8.
Documentation
Check out the documentation at rocks.readthedocs.io or run
$ rocks docs
For a quick overview, check out the jupyter notebooks:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 space_rocks-1.9.15.tar.gz.
File metadata
- Download URL: space_rocks-1.9.15.tar.gz
- Upload date:
- Size: 39.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.12.3 Linux/6.5.0-44-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0cb818c213131f00934f4fa8306964722c8ead65eb2ef9717d7329b4990369f
|
|
| MD5 |
f39dc188d5baba8b987799232be1fd2e
|
|
| BLAKE2b-256 |
fed3928d2cbc2623b438781abfee7fd6ac80fc2a080d3440594eb946b6bb1d27
|
File details
Details for the file space_rocks-1.9.15-py3-none-any.whl.
File metadata
- Download URL: space_rocks-1.9.15-py3-none-any.whl
- Upload date:
- Size: 44.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.12.3 Linux/6.5.0-44-generic
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bbccf13f05cf7cda33bee268656bec022d24348ae46e4547884a771e03e62ead
|
|
| MD5 |
b4a801859c147b80b2e11e4d5d700634
|
|
| BLAKE2b-256 |
eb228baeb4f92cdd1b7061fe241a773ce76f372912143d6c0b05a7da03d1669e
|