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.7.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.7.0
File Size Uploaded Provenance Actions
pysyzygos-1.7.0.tar.gz 3.8 MB With provenance Details for pysyzygos-1.7.0.tar.gz

Built distribution (wheel)

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

Total release size: 7.5 MB

Release files / pysyzygos-1.7.0.tar.gz

Download URL pysyzygos-1.7.0.tar.gz
Size 3.8 MB
Tags Source
SHA-256 checksum
How to use checksums
a5da4ff8eb268d0c7a60bbae91d010f00cf538e45cc07a76b47f7c2761b4e1fa
BLAKE2b-256 checksum
How to use checksums
8377c6636b3bd3ce7d09afdb2bd0410f230c25c7ac1b79851dfe88a5d366e585
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 27, 2026.

Transparency log

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

Download URL pysyzygos-1.7.0-py3-none-any.whl
Size 3.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
9f924be11adb63788182ff3be4cdc14a5f98fee73a084b8c45e65fcb6a5cac38
BLAKE2b-256 checksum
How to use checksums
56971cbc56de7710965e815879b15d6b6a93f31a30b6746a8022b01e1f605c5c
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 27, 2026.

Transparency log

Security for pysyzygos 1.7.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.7.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 27, 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