85 lines
2.3 KiB
Plaintext
85 lines
2.3 KiB
Plaintext
Metadata-Version: 2.1
|
||
Name: skyfield
|
||
Version: 1.53
|
||
Summary: Elegant astronomy for Python
|
||
Home-page: http://github.com/brandon-rhodes/python-skyfield/
|
||
Author: Brandon Rhodes
|
||
Author-email: brandon@rhodesmill.org
|
||
License: MIT
|
||
Classifier: Development Status :: 5 - Production/Stable
|
||
Classifier: Intended Audience :: Developers
|
||
Classifier: Intended Audience :: Education
|
||
Classifier: Intended Audience :: Science/Research
|
||
Classifier: License :: OSI Approved :: MIT License
|
||
Classifier: Programming Language :: Python :: 2.7
|
||
Classifier: Programming Language :: Python :: 3.7
|
||
Classifier: Programming Language :: Python :: 3.8
|
||
Classifier: Programming Language :: Python :: 3.9
|
||
Classifier: Programming Language :: Python :: 3.10
|
||
Classifier: Programming Language :: Python :: 3.11
|
||
Classifier: Programming Language :: Python :: 3.12
|
||
Classifier: Programming Language :: Python :: 3.13
|
||
Classifier: Topic :: Scientific/Engineering :: Astronomy
|
||
License-File: LICENSE
|
||
Requires-Dist: certifi >=2017.4.17
|
||
Requires-Dist: jplephem >=2.13
|
||
Requires-Dist: numpy
|
||
Requires-Dist: sgp4 >=2.13
|
||
|
||
|
||
====================================
|
||
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.
|