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:
Metadata
Release files for space-rocks 1.10.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| space_rocks-1.10.5.tar.gz | 39.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| space_rocks-1.10.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 83.5 kB
Release files / space_rocks-1.10.5.tar.gz
| Download URL | space_rocks-1.10.5.tar.gz |
|---|---|
| Size | 39.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9c6cc16cff48201a73423e930d3429faf51c8a89a236f09d7deedeb05a23f4ed
|
|
BLAKE2b-256 checksum How to use checksums |
fe62cca4b6e99645f730e79662ff707d4a1b354b950064fe04beaf45acc3d119
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.13.13 Darwin/25.5.0
|
Release files / space_rocks-1.10.5-py3-none-any.whl
| Download URL | space_rocks-1.10.5-py3-none-any.whl |
|---|---|
| Size | 44.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
87bc8f000978c7df54577873100e86dc8b0152c4125acd4f4bd2f208ad4da19c
|
|
BLAKE2b-256 checksum How to use checksums |
45fc42949eab60fcf2ddd297d825636e41e0df63d998875691995d99b82ebb6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.13.13 Darwin/25.5.0
|