Skip to main content

AsteroidPipeline.jl

CI Documentation Coverage PyPI License: MIT

Find asteroids in astronomical images. Give it a few exposures of one field taken minutes apart — a .zip, a folder or FITS files, from any telescope — and it calibrates them against Gaia, finds what moves, tells known asteroids from new candidates, and writes the report for the Minor Planet Center.

It comes two ways:

  • asteroidpipeline, a terminal app: open an image set, watch the images animate with every object marked, confirm or reject each candidate, copy the report. Every decision is saved, with the candidate's pixels, as training data for a future classifier.
  • AsteroidPipeline.jl, the Julia library that does all the analysis — for scripts, batches and anything the app doesn't do.

Documentation: https://richard7987.github.io/AsteroidPipeline.jl/stable/ — for the latest release; the version picker at the top right has each release's, and dev for main. What changed: release notes.

What it does

  • Any image set: a .zip, a folder or FITS files, from any telescope whose images carry a WCS; the observatory's MPC code is found from the FITS headers.
  • Calibrated: every frame's astrometry refitted to Gaia DR3 (positions agree with an independent reduction to 0.12–0.17″), magnitudes against Gaia's.
  • The search: each frame minus the set's median, artifacts removed (hot pixels, bright-star halos, ghosts and diffraction spikes), detections linked along straight lines at constant rates; damaged frames and sets recognised.
  • Is it new? Known asteroids identified against SkyBoT and the MPC's own orbit file (downloaded daily); each candidate compared with every known object within 10′ and, for recent images, with the MPC's NEO Confirmation Page.
  • The report: MPC 80-column or ADES, under your own designations (NHU0002) or the NEOCP's; any report checked before it is submitted.

How well it works, measured on real data, is in the validation reports.

Install

Command Needs
the app pipx install asteroidpipeline Python 3.11+
the library julia -e 'using Pkg; Pkg.add("AsteroidPipeline")' Julia 1.11+

The app carries the library inside it and sets up Julia by itself; install the library only to use it from your own code. Details: Installation.

The app

On any Linux (or macOS) with Python 3.11 or newer, from PyPI with pipx (or pip):

pipx install asteroidpipeline
asteroidpipeline

or with the installer, which makes its own Python environment:

curl -fsSL https://raw.githubusercontent.com/Richard7987/AsteroidPipeline.jl/main/install.sh | sh

The first run sets up the analysis engine — Julia (downloaded if you don't have it) and its packages — which takes several minutes, once; asteroidpipeline --setup does it ahead of time. Images are shown at full resolution in terminals with a graphics protocol (Kitty, WezTerm, Ghostty, foot…), as coloured blocks elsewhere. The app's own guide is ui/README.md.

The library

Julia 1.11 or newer, from Julia's General registry:

using Pkg
Pkg.add("AsteroidPipeline")

using AsteroidPipeline
result = analyze_set("images.zip"; observatory="F51", workdir="work")
print(result.report)

Many sets at once: julia --project=. examples/analyze_sets.jl <folder> <observatory code>. Start with Getting started.

Repository

Path What
src/ the Julia library
test/ its tests (julia --project=. -e 'using Pkg; Pkg.test()'), run on Julia 1.11 and the newest release
docs/ the documentation site (julia --project=docs docs/make.jl; every version: docs/build_all_versions.sh)
examples/ scripts for real data, batches and completeness tests
ui/ the terminal app (Python, Textual)
pyproject.toml, install.sh packaging of the app, with the library inside
flake.nix optional, for Nix users: a development shell and a package of the app
.github/workflows/ tests, the documentation, and releases (PyPI, GitHub)

Development

On any Linux (or macOS), with git, Python 3.11+ and Julia 1.11+ (the easiest way to get Julia is juliaup: curl -fsSL https://install.julialang.org | sh):

git clone https://github.com/Richard7987/AsteroidPipeline.jl.git
cd AsteroidPipeline.jl

# the Julia library
julia --project=. -e 'using Pkg; Pkg.instantiate(); Pkg.test()'

# the documentation
julia --project=docs -e 'using Pkg; Pkg.develop(path="."); Pkg.instantiate()'
julia --project=docs docs/make.jl                  # site in docs/build/1

# the terminal app, editable: it uses this checkout's Julia code
python3 -m venv .venv && . .venv/bin/activate
pip install -e .
asteroidpipeline

With Nix, nix develop gives a shell with Julia and Python instead, and nix run . runs the app — optional, the steps above need nothing of it.

Releasing a version — the tag, PyPI, the documentation, Julia's registry — is described in Releasing a version.

License

MIT. See LICENSE.

Metadata

Release files for asteroidpipeline 1.1.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 asteroidpipeline 1.1.0
File Size Uploaded Provenance Actions
asteroidpipeline-1.1.0.tar.gz 125.6 kB With provenance Details for asteroidpipeline-1.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 282.1 kB

Release files / asteroidpipeline-1.1.0.tar.gz

Download URL asteroidpipeline-1.1.0.tar.gz
Size 125.6 kB
Tags Source
SHA-256 checksum
How to use checksums
91e9a9457cbd877a7e44fe404ab15c021b3c678e051401b1b418a5ac19cf648d
BLAKE2b-256 checksum
How to use checksums
8a44f1c7d18fbfd774f055893cedf5e8f20cd7ea7906ad154ec5a4d63a5c6286
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 Oct 25, 2026.

Transparency log

Release files / asteroidpipeline-1.1.0-py3-none-any.whl

Download URL asteroidpipeline-1.1.0-py3-none-any.whl
Size 156.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fc36bc2ea97c68aec4f7566f86621765d97f36d64f42b7d8a8ddcca81c7f4d05
BLAKE2b-256 checksum
How to use checksums
ea4c63cabf5089cfd87203119d8e16b747e6426f6ad4b6065bb66b793f68e22b
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 Oct 25, 2026.

Transparency log

Security for asteroidpipeline 1.1.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 asteroidpipeline-1.1.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 Oct 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