Planets
Planetary data stored as objects
To install the package use:
pip install Planet-Objects
To import the package use:
from planets.planets import *
then you can call:
mercury, venus, earth, moon, mars, jupiter, saturn, uranus, neptune, pluto
with any of the following attributes:
name, mass, diameter, density, gravity, esc_velocity, rotation_period, day_length, from_sun, periheleon, apheleon, orbit_period, orbit_velocity, orbit_inclination, orbit_eccentricity, obliquity_to_orbit, temp, surface_pressure, moons, ring_sys, gmf, img, atmosphere_comp
All data from: https://nssdc.gsfc.nasa.gov/planetary/factsheet/