Skip to main content

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:

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

skyfield-1.55.tar.gz (347.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

skyfield-1.55-py3-none-any.whl (371.1 kB view details)

Uploaded Python 3

File details

Details for the file skyfield-1.55.tar.gz.

File metadata

  • Download URL: skyfield-1.55.tar.gz
  • Upload date:
  • Size: 347.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.24

File hashes

Hashes for skyfield-1.55.tar.gz
Algorithm Hash digest
SHA256 05dce8aafbff3f007f01cabcd2eb1858c43d7465f58c13d22c5a828a6d2fc14b
MD5 b9ba3373d21f02b4fe57bdbcebbd575d
BLAKE2b-256 8f50d491b746eb3d6155d8206d86415b02d900567d463579173a518debaa4e1f

See more details on using hashes here.

File details

Details for the file skyfield-1.55-py3-none-any.whl.

File metadata

  • Download URL: skyfield-1.55-py3-none-any.whl
  • Upload date:
  • Size: 371.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.24

File hashes

Hashes for skyfield-1.55-py3-none-any.whl
Algorithm Hash digest
SHA256 9f98964855067460c94aa81a337194136f4a97a62ba8bbbfac1b8556f2b66ad4
MD5 8a851d74ffe0fc02d06fe61621f80791
BLAKE2b-256 8d5ac4cc09d4421de255ca0504485efceb3646a4e5381bfb665647e39bea5cb1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page