Skip to main content

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/

Metadata

Release files for Planet-Objects 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Planet-Objects 1.0.4
File Size Uploaded
Planet Objects-1.0.4.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Planet-Objects 1.0.4
File Interpreter ABI Platform
Planet_Objects-1.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 8.5 kB

Release files / Planet Objects-1.0.4.tar.gz

Download URL Planet Objects-1.0.4.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2337a5c3a813a5ec98230d6927a1b179492285b92a5ef2b7c00dbdcfc9f25b6b
BLAKE2b-256 checksum
How to use checksums
d64aa637826590b48d8b3f86b3084a773c7284804100b71586cd1e9eecd26bea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release files / Planet_Objects-1.0.4-py3-none-any.whl

Download URL Planet_Objects-1.0.4-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
63e5cec8206cf4604f8819b991673e3494a87ffed980aecc34fbd4d96c629e9e
BLAKE2b-256 checksum
How to use checksums
b23a0a50c8808d840d6dc1e66e3835aee9d49cdadc18873100a198c89349049f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release history Release notifications | RSS feed

This release

1.0.4 This release

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page