Skip to main content

PySyzygos

PySyzygos logo

DOI

Stellar occultations by asteroids, planets and moons: precise predictions for your own observing site, and the whole shadow path on the Earth. PySyzygos finds the events your telescope can catch and computes each one to scientific precision: JPL orbits (or Lucky Star's NIMA for TNOs), a local Gaia DR3 star catalog with full astrometric corrections, the exact geometry in a fundamental plane through your site. For every event it also traces the full path on the Earth (center line, limits, uncertainty band), and it can search anywhere on Earth.

All of it through an easy-to-use web interface (NiceGUI) in your browser: maps of the paths, star-field previews, your site's 360° panorama with its real horizon limits, favorites with notes and status, cloud forecasts, filters, and much more for planning a night. Free software (GPL-3.0-or-later), for Linux, macOS and Windows; works offline in the field once set up.

Syzygos (Greek σύζυγος, "yoked together"): for a few seconds the observer, the asteroid and the star stand in one line.

The full documentation is on GitHub: README. This page is a short summary for PyPI.

What it does

  • Pick the best events among all ~465,000 asteroids with H < 17 for a site and a time window (optionally from a shared whole-Earth pre-screen), by asteroid group (NEOs, Trojans, TNOs, ...) and your telescope's star limit.
  • Search them exactly: Gaia DR3 astrometry with parallax, proper-motion corrections and light deflection, the light time from your site, your height and horizon, the path uncertainty across the track and the chance that the shadow covers you.
  • Paths on the Earth: center line, shadow limits and 1-sigma lines of every event (at sea level or at your site's height), as an interactive map, KML for Google Earth, and a globe view; or search all events anywhere on Earth.
  • Your site, made easy: pick it on the map, paste coordinates in any form or choose an MPC observatory code; height and geoid looked up; telescope and camera from a list (the faintest useful star follows); the horizon from OccultWatcher's file or from a 360° photo of the site (skyline found automatically, aligned by the Sun).
  • Results and favorites: a filterable table, maps (KML for Google Earth), star-field previews, a globe view, KStars / Stellarium pointing, known satellites, double and variable stars (WDS, AAVSO VSX), cloud forecast, OccultWatcher Cloud feeds, an SQL filter.
  • Observations: IOTA report forms, chord plots of observed events, the IOTA observation archive with our predictions checked against 27,000 observed chords.
  • Validated against Occult and OccultWatcher: see VERIFICATION.md.

Install

uv tool install pysyzygos       # or: pipx install pysyzygos
pysyzygos setup                 # once: kernels, the star catalog, your site (asks where to keep the data)
pysyzygos                       # the web interface in your browser

Why uv or pipx, not plain pip? PySyzygos is an application with about 90 dependencies. uv tool and pipx install it into its own private environment and put the pysyzygos command on your PATH, so it cannot clash with other Python programs. Plain pip install into the system Python is refused on many current systems ("externally-managed-environment", Debian, Ubuntu, Fedora, macOS Homebrew); inside a virtual environment of your own, pip install pysyzygos works too.

Getting the tool, once:

  • uv (recommended: it also brings a suitable Python, 3.11 or newer, by itself): Linux / macOS curl -LsSf https://astral.sh/uv/install.sh | sh; Windows (PowerShell) powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex". Then open a new terminal.
  • pipx (needs Python 3.11 or newer already installed): Debian / Ubuntu sudo apt install pipx, macOS brew install pipx, Windows python -m pip install --user pipx; then pipx ensurepath once and open a new terminal.

The first setup downloads the JPL kernels and a ready-made Gaia catalog (G ≤ 16, from Zenodo); see Install and Getting started.

Updates

PyPI carries the releases (x.y.0, each archived on Zenodo with a DOI): pysyzygos update (or the System tab's Update) upgrades with the tool you installed with (uv tool, pipx or pip). The developer version, with every fix between releases, is the GitHub repository: clone it and run uv run pysyzygos; updates are then a git pull (also from the System tab). Details: README, Install.

Documentation

Citing

Please cite the Zenodo record: doi:10.5281/zenodo.23149371 (all versions; each release has its own DOI). See CITATION.cff.

License

GNU General Public License v3 or later. Copyright (C) 2026 Percy Zahl.

Metadata

Release files for pysyzygos 1.6.0

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

Source distribution (sdist)

Source distribution for pysyzygos 1.6.0
File Size Uploaded Provenance Actions
pysyzygos-1.6.0.tar.gz 3.8 MB With provenance Details for pysyzygos-1.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pysyzygos 1.6.0
File Interpreter ABI Platform Actions
pysyzygos-1.6.0-py3-none-any.whl Python 3 none any Details for pysyzygos-1.6.0-py3-none-any.whl

Total release size: 7.4 MB

Release files / pysyzygos-1.6.0.tar.gz

Download URL pysyzygos-1.6.0.tar.gz
Size 3.8 MB
Tags Source
SHA-256 checksum
How to use checksums
3b9eab90e94444699bbe4a48b3f9145b1216fdbb2f198809f437455cce49fd56
BLAKE2b-256 checksum
How to use checksums
23593d2f92108bcc4cb2df84baba57fd3f10bd76f70f60e238f4182b289079ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / pysyzygos-1.6.0-py3-none-any.whl

Download URL pysyzygos-1.6.0-py3-none-any.whl
Size 3.6 MB
Tags Python 3
SHA-256 checksum
How to use checksums
281f80c5997bdced4154789c86c46ade6526abfb9622f3063fe0163da1c1b66c
BLAKE2b-256 checksum
How to use checksums
0560d66e112d7202bf2f75f5eba8e236622de033acd8126098f4504b1eede624
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Security for pysyzygos 1.6.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pysyzygos-1.6.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

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.

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