Skip to main content

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:

Basic Usage - Bibliography Management

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

space_rocks-1.9.11.tar.gz (40.4 kB view details)

Uploaded Source

Built Distribution

space_rocks-1.9.11-py3-none-any.whl (44.8 kB view details)

Uploaded Python 3

File details

Details for the file space_rocks-1.9.11.tar.gz.

File metadata

  • Download URL: space_rocks-1.9.11.tar.gz
  • Upload date:
  • Size: 40.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.6 Linux/6.5.0-28-generic

File hashes

Hashes for space_rocks-1.9.11.tar.gz
Algorithm Hash digest
SHA256 3190be1fd1526142ee7e563d7e61e970e19df4538248bfea50500bd2bd784787
MD5 8f543782c8a3144791ed05e1319d179f
BLAKE2b-256 1a04319431682d755fcdbbea36aaff23af427ac101aae5e40f27678160263529

See more details on using hashes here.

File details

Details for the file space_rocks-1.9.11-py3-none-any.whl.

File metadata

  • Download URL: space_rocks-1.9.11-py3-none-any.whl
  • Upload date:
  • Size: 44.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.6 Linux/6.5.0-28-generic

File hashes

Hashes for space_rocks-1.9.11-py3-none-any.whl
Algorithm Hash digest
SHA256 7a5c0cd7fc15137657bec9c51bf88b1ab7f3fab626119d443c38249a3fcd7c13
MD5 02171680244f211246dbfd042fdcb5a9
BLAKE2b-256 f6cf718a373f9c8c45876777727367660dd12c2e62e37728577ff27c973e5a9d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page