Skip to main content

Planetary data stored as objects

Project description

Planets

CodeFactor

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/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Planet Objects-1.0.4.tar.gz (3.9 kB view hashes)

Uploaded Source

Built Distribution

Planet_Objects-1.0.4-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

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