====================================
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.
Raw data
{
"_id": null,
"home_page": "http://github.com/brandon-rhodes/python-skyfield/",
"name": "skyfield",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "Brandon Rhodes",
"author_email": "brandon@rhodesmill.org",
"download_url": "https://files.pythonhosted.org/packages/71/a0/dc0c2aaef7632bd3c047e62fd0ae870d5560b546a2e1c3308907525007e7/skyfield-1.50.tar.gz",
"platform": null,
"description": "\n====================================\n Welcome to the Skyfield Repository\n====================================\n\nSkyfield is a pure-Python astronomy package\nthat is compatible with both Python 2 and 3\nand makes it easy to generate high precision research-grade\npositions for planets and Earth satellites.\n\n.. code-block:: python\n\n from skyfield.api import load\n\n planets = load('de421.bsp')\n earth, mars = planets['earth'], planets['mars']\n\n ts = load.timescale()\n t = ts.now()\n position = earth.at(t).observe(mars)\n ra, dec, distance = position.radec()\n\n print(ra)\n print(dec)\n print(distance)\n\nThe result:\n\n::\n\n 10h 47m 56.24s\n +09deg 03' 23.1\"\n 2.33251 au\n\nSkyfield\u2019s only binary dependency is NumPy.\nOnce that is available, Skyfield can usually be installed with::\n\n pip install skyfield\n\nHere are the essential project links:\n\n* `Home page and documentation\n <http://rhodesmill.org/skyfield>`_.\n\n* `Installing Skyfield\n <http://rhodesmill.org/skyfield/installation.html>`_.\n\n* `Contributing to Skyfield\n <https://github.com/skyfielders/python-skyfield/blob/master/Contrib.rst>`_.\n\n* `Skyfield package <https://pypi.python.org/pypi/skyfield>`_\n on the Python Package Index.\n\n* `Issue tracker\n <https://github.com/brandon-rhodes/python-skyfield/issues>`_\n on GitHub.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Elegant astronomy for Python",
"version": "1.50",
"project_urls": {
"Homepage": "http://github.com/brandon-rhodes/python-skyfield/"
},
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "16441d10c522f1a32115f6a303bb4d99afa71905e924d40f51a03726b174c32f",
"md5": "8405916987bc434cd27a693af680257a",
"sha256": "73c7d89568525f743652b6e202418d8cd8fc99eb9b5134ba9b543abf4202f80d"
},
"downloads": -1,
"filename": "skyfield-1.50-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8405916987bc434cd27a693af680257a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 338071,
"upload_time": "2025-02-15T16:46:27",
"upload_time_iso_8601": "2025-02-15T16:46:27.334860Z",
"url": "https://files.pythonhosted.org/packages/16/44/1d10c522f1a32115f6a303bb4d99afa71905e924d40f51a03726b174c32f/skyfield-1.50-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "71a0dc0c2aaef7632bd3c047e62fd0ae870d5560b546a2e1c3308907525007e7",
"md5": "7c5f9938381032edd07d87f2cde2d0ff",
"sha256": "3dd287fbed42ddcf32bdbf7d12b90cbeaf5f44fcefce700cd49514f5776c66ba"
},
"downloads": -1,
"filename": "skyfield-1.50.tar.gz",
"has_sig": false,
"md5_digest": "7c5f9938381032edd07d87f2cde2d0ff",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 309555,
"upload_time": "2025-02-15T16:46:29",
"upload_time_iso_8601": "2025-02-15T16:46:29.404030Z",
"url": "https://files.pythonhosted.org/packages/71/a0/dc0c2aaef7632bd3c047e62fd0ae870d5560b546a2e1c3308907525007e7/skyfield-1.50.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-15 16:46:29",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "brandon-rhodes",
"github_project": "python-skyfield",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"requirements": [
{
"name": "astropy",
"specs": [
[
"==",
"3.2.2"
]
]
},
{
"name": "beautifulsoup4",
"specs": [
[
"==",
"4.6.0"
]
]
},
{
"name": "html5lib",
"specs": [
[
"==",
"1.0.1"
]
]
},
{
"name": "jinja2",
"specs": [
[
"==",
"3.0.3"
]
]
},
{
"name": "lxml",
"specs": [
[
"==",
"4.9.1"
]
]
},
{
"name": "mock",
"specs": [
[
"==",
"2.0.0"
]
]
},
{
"name": "numpy",
"specs": [
[
"==",
"1.15.4"
]
]
},
{
"name": "matplotlib",
"specs": [
[
"==",
"3.3.0"
]
]
},
{
"name": "pandas",
"specs": [
[
"==",
"1.0.0"
]
]
},
{
"name": "pyflakes",
"specs": [
[
"==",
"2.1.1"
]
]
},
{
"name": "python-dateutil",
"specs": [
[
">=",
"2.5.0"
]
]
},
{
"name": "pytz",
"specs": []
},
{
"name": "sphinx",
"specs": [
[
"==",
"1.7.2"
]
]
},
{
"name": "spktype21",
"specs": []
},
{
"name": null,
"specs": []
}
],
"lcname": "skyfield"
}