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:
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
space_rocks-1.10.3.tar.gz
(41.3 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 space_rocks-1.10.3.tar.gz.
File metadata
- Download URL: space_rocks-1.10.3.tar.gz
- Upload date:
- Size: 41.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/2.4.1 CPython/3.13.13 Darwin/25.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82c07dc7964df71456de0b634d0bfc3e73f706d57106d2f5b430fa0311c9cddf
|
|
| MD5 |
625fa7f599aac5aeb4c59bcf41ec6772
|
|
| BLAKE2b-256 |
43f179003b425c3292b6c4672421bc9fa354da71697e40a9fa7479dca66e0a5e
|
File details
Details for the file space_rocks-1.10.3-py3-none-any.whl.
File metadata
- Download URL: space_rocks-1.10.3-py3-none-any.whl
- Upload date:
- Size: 46.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/2.4.1 CPython/3.13.13 Darwin/25.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2f121d57d0b61197648e13fe236edf3e076cd0b8f283e6b4e633fb70cffc289
|
|
| MD5 |
1256f96d796c6ebf7fdc1866be8a6648
|
|
| BLAKE2b-256 |
1d2ead017370643a3f3d6052caa6d64be8e1d7f02cbfe5bdafe9a8e3c87db90e
|