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.16.tar.gz (39.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

space_rocks-1.9.16-py3-none-any.whl (45.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: space_rocks-1.9.16.tar.gz
  • Upload date:
  • Size: 39.7 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

Hashes for space_rocks-1.9.16.tar.gz
Algorithm Hash digest
SHA256 1bfc11646d245c37248436452521a3e018de2e4baf68b1e867633b91c5633922
MD5 6d5866c9d0beb16b9ccaf2387e7345fa
BLAKE2b-256 174ffb132fa329286852adf02a334ce39d188d28fba099a5ddd2bbdd85ce662a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: space_rocks-1.9.16-py3-none-any.whl
  • Upload date:
  • Size: 45.0 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

Hashes for space_rocks-1.9.16-py3-none-any.whl
Algorithm Hash digest
SHA256 eee67c9d9bf61253be1ca20ed0784abf1de27b10851cf47d0eeb9528d13b9c61
MD5 c0f4ff0f61fe1fac0bfe2fef8c42b326
BLAKE2b-256 41f7bc91b204df8dd11a1f94ee7b99ce4413d55ed782b413269c4debd68de802

See more details on using hashes here.

Supported by

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