Elegant astronomy for Python
Project description
Skyfield is a pure-Python astronomy package that is compatible with both Python 2 and 3 and makes it easy to generate high precision research-grade positions for planets and Earth satellites.
from skyfield.api import earth, mars, now ra, dec, distance = earth(now()).observe(mars).radec() print(ra) print(dec) print(distance)
09h 14m 50.35s +17deg 13' 02.6" 2.18572863461 AU
Its only binary dependency is NumPy. Skyfield can usually be installed with:
pip install skyfield
Here are the essential project links:
Skyfield package on the Python Package Index.
Issue tracker on GitHub.
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
skyfield-0.2.tar.gz
(72.4 kB
view hashes)