pyastro is a Python module providing various astronomical functions. Its primary motivation was to calculate close approximations of right ascension, declination, and distance at the current or other specified time for all of the solar system planets (Pluto is still classified as a planet by this module) and for the sun and the moon, when viewed from the earth. The module also provides other ancilliary functions, including solving Kepler's equation and determining the astrological sign (using the tropical system) in which a given solar system body is or was in.
pyastro is written and maintained by Paul Griffiths.
Details of the latest version can be found on the GitHub project page at https://github.com/paulgriffiths/pyastro.
Up-to-date documentation can be found at https://github.com/paulgriffiths/pyastro/wiki
The easiest way to install pyastro is via the Python Package Index at https://pypi.python.org/pypi/pyastro
If you have setuptools/distribute installed, the commands easy_install pyastro
or pip install pyastro
should work. Otherwise, download the source package
from the Python Package index, unzip/untar the source package, cd to the new
directory, and python setup.py install
.
Please see the file called LICENSE.
- If you have a concrete bug report for pyastro please go to the GitHub issue tracker at https://github.com/paulgriffiths/pyastro/issues