Python Planetary System
Project description
StellarPy is a Python library for calculating and modeling the motion of celestial bodies.
Example
Hello Earth
Here is how a simple modeling looks like in StellarPy:
from stellarpy import Star, Body, Make
SUN = Star('Sun', m=1.98892e30)
Make(SUN, color=(1, 1, 0, 1))
EARTH = Body('Earth', major=SUN, m=5.9726e24, a=149598262, e=0.01671022, i=0.00005, w=114.20783,
O=348.73936, M=358.617)
Make(EARTH, color=(0, 0, 1, 1))
if __name__ == '__main__':
from pyqtgraph.Qt import QtCore, QtGui
import sys
if (sys.flags.interactive != 1) or not hasattr(QtCore, 'PYQT_VERSION'):
QtGui.QApplication.instance().exec_()
Installation
pip install stellarpy
Contact
GitHub - Project directory
License
This software is distributed under BSD License. Full text of the license is included in LICENSE.txt file.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file StellarPy-0.5a0.tar.gz.
File metadata
- Download URL: StellarPy-0.5a0.tar.gz
- Upload date:
- Size: 210.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e625f10c3d78c5edce88c333be2b27848bb0cdc3e5065afceadc440e89500237
|
|
| MD5 |
958b9aaf9fc7146b0ec4be14144aefa3
|
|
| BLAKE2b-256 |
cb3cb80e40354f83825dbea5606472c19a43127339fba786d33f6b1bb2719e04
|
File details
Details for the file StellarPy-0.5a0-py3-none-any.whl.
File metadata
- Download URL: StellarPy-0.5a0-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6fefe9256ed1eb12e7bfceea3e0b337521caa1ccc8885d2c2f91122259b43611
|
|
| MD5 |
2cfe00675b5a7ff438662b2f27f5801c
|
|
| BLAKE2b-256 |
5ca4dc41c2326e51bf79fcb64703925f099be782c9875c7503f8d95a2d4b5189
|