Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

for space-rocks 🌑

License

NotificationsYou must be signed in to change notification settings

maxmahlke/rocks

Repository files navigation

Features - Install - Documentation

Features

Explore asteroid data on the command-line...

$ rocks id 221(221) Eos$ rocks class EosMB>Outer$ rocks albedo Eos0.136 +- 0.004$ rocks taxonomy EosK$ rocks density Eos4.559e+03 +- 1.139e+03 kg/m$^3$

... and in apython script.

>>>importrocks>>>rocks.identify("1902ug")('Fortuna',19)>>>ceres=rocks.Rock("ceres")>>>ceres.diameter.value848.4>>>ceres.diameter.unit'km'>>>ceres.mass.value9.384e+20>>>ceres.mass.error6.711e+17

Install

Install from PyPi usingpip:

 $ pip install space-rocks

The minimum requiredpython version is 3.8.

Documentation

Check out the documentation atrocks.readthedocs.io or run

 $ rocks docs

For a quick overview, check out the jupyter notebooks:

Basic Usage -Bibliography Management


[8]ページ先頭

©2009-2025 Movatter.jp