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.6
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.6.tar.gz | 39.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| space_rocks-1.10.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 83.5 kB
Release files / space_rocks-1.10.6.tar.gz
| Download URL | space_rocks-1.10.6.tar.gz |
|---|---|
| Size | 39.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
03262f1a4e2cc7069ac7db91a8d0814dce1c8f1e5a758ecba1c0762cedacddf1
|
|
BLAKE2b-256 checksum How to use checksums |
a6be0bc8747d35d7857d712306c8079a2b2cb83a6da1f5bed73d22796005b513
|
| 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.6-py3-none-any.whl
| Download URL | space_rocks-1.10.6-py3-none-any.whl |
|---|---|
| Size | 44.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ed34c8e3734a4b9e1cbc371e21236ddfdb158900730920e2f73dc309c3480832
|
|
BLAKE2b-256 checksum How to use checksums |
2a47641097f6561ade49e3a33aaafad35acf679c7864b27c9e48b07bdf7709df
|
| 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
|