Skip to main content

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.

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:

Metadata

Release files for skyfield 1.39

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for skyfield 1.39
File Size Uploaded Provenance Actions
skyfield-1.39.tar.gz 373.8 kB Without provenance Details for skyfield-1.39.tar.gz

Release files / skyfield-1.39.tar.gz

Download URL skyfield-1.39.tar.gz
Size 373.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5a8da9720b49981bc6fc60ab8d52ef42a8d46fe7161e34ef6dd1d496de9903e2
BLAKE2b-256 checksum
How to use checksums
64c3d9d51275751d649aead4a107c9cc9a2745097281776c90a41ed36e4a83b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Security for skyfield 1.39

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.39 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page