skyfield

Elegant astronomy for Python

MIT 68 个版本
Brandon Rhodes <brandon@rhodesmill.org>
安装
pip install skyfield
poetry add skyfield
pipenv install skyfield
conda install skyfield
描述

==================================== Welcome to the Skyfield Repository

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.

.. code-block:: python

from skyfield.api import load

planets = load('de421.bsp') earth, mars = planets['earth'], planets['mars']

ts = load.timescale() t = ts.now() position = earth.at(t).observe(mars) ra, dec, distance = position.radec()

print(ra) print(dec) print(distance)

The result:

::

10h 47m 56.24s +09deg 03' 23.1" 2.33251 au

Skyfield’s only binary dependency is NumPy. Once that is available, Skyfield can usually be installed with::

pip install skyfield

Here are the essential project links:

  • Home page and documentation <http://rhodesmill.org/skyfield>_.

  • Installing Skyfield <http://rhodesmill.org/skyfield/installation.html>_.

  • Contributing to Skyfield <https://github.com/skyfielders/python-skyfield/blob/master/Contrib.rst>_.

  • Skyfield package <https://pypi.python.org/pypi/skyfield>_ on the Python Package Index.

  • Issue tracker <https://github.com/brandon-rhodes/python-skyfield/issues>_ on GitHub.

版本列表
1.54 2026-01-18
1.53 2025-04-07
1.52 2025-03-18
1.51 2025-02-23
1.50 2025-02-15
1.49 2024-06-13
1.48 2024-02-07
1.47 2024-01-13
1.46 2023-04-09
1.45 2022-09-15
1.44 2022-09-12
1.43.1 2022-07-06
1.43 2022-07-06
1.42 2022-05-06
1.41 2021-12-16
1.40 2021-11-14
1.39 2021-04-14
1.38 2021-04-03
1.37 2021-02-16
1.36 2021-01-27
1.35 2020-12-31
1.34 2020-12-10
1.33 2020-11-18
1.32 2020-11-16
1.31 2020-10-24
1.30 2020-10-11
1.29 2020-09-26
1.28 2020-09-24
1.27 2020-09-15
1.26 2020-08-01
1.25 2020-07-24
1.24 2020-07-21
1.23 2020-07-09
1.22 2020-06-08
1.21 2020-05-29
1.20 2020-04-24
1.19 2020-04-23
1.18 2020-03-26
1.17 2020-02-02
1.16 2019-12-20
1.15 2019-11-20
1.14 2019-11-01
1.13 2019-10-10
1.12 2019-09-02
1.11 2019-07-22
1.10 2019-02-02
1.9 2018-09-23
1.8 2018-09-12
1.7 2018-09-04
1.6 2018-07-25
1.5 2018-07-04
1.4.1 2018-05-24
1.4 2018-05-21
1.3 2018-04-15
1.2 2018-03-20
1.1 2018-01-15
1.0 2017-03-15
0.9.1 2016-12-20
0.9 2016-08-27
0.8 2016-03-30
0.7 2016-03-24
0.6.1 2015-12-13
0.6 2015-11-30
0.5 2015-10-19
0.4 2014-11-23
0.3 2014-08-19
0.2 2014-06-13
0.1 2014-01-21