Skip to main content

Arcsecond plate solver based on astrometry.net indexes

Project description

Arcsecond Service: Platesolver (astrometry)

This repository provides a FastAPI plate-solving service for Arcsecond, based on astrometry.net indexes and Neuromorphics Systems' astrometry Python package.

Run with Docker

docker run --rm \
  -p 127.0.0.1:8900:8900 \
  -v arcsecond_astrometry_cache:/data/astrometry \
  arcsecond-service-platesolver-astrometry:latest

Run Natively (Linux/macOS)

python -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install .
python -m arcsecond_service_platesolver.main

Run Natively (Windows)

  1. Install Python 3.12+.
  2. Install Microsoft C++ Build Tools (Desktop development with C++).
  3. Install Rust (rustup), because astrometry may need a local native build when no matching wheel is available.
  4. This project pins Windows installs to a Windows-compatible astrometry fork commit from arcsecond-io/astrometry.
py -3.12 -m venv .venv
.venv\Scripts\Activate.ps1
python -m pip install --upgrade pip
python -m pip install .
python -m arcsecond_service_platesolver.main

Configuration

  • ASTROMETRY_CACHE_DIR: explicit cache directory path (highest priority).
  • ASTROMETRY_DATA_ROOT: root directory used to create astrometry_cache under it.
  • HOST: bind host (default 0.0.0.0).
  • PORT: bind port (default 8900).
  • LOG_LEVEL: Uvicorn log level (default info).

Default cache path behavior:

  • If ASTROMETRY_CACHE_DIR is set, it is used directly.
  • On Windows, defaults to %LOCALAPPDATA%\Arcsecond\astrometry_cache (or %APPDATA% fallback).
  • On Unix-like systems, prefers /data/astrometry_cache when writable, otherwise falls back to $XDG_CACHE_HOME/arcsecond/astrometry_cache or ~/.cache/arcsecond/astrometry_cache.
  • If the selected location is not writable, falls back to the OS temp directory.

Project details


Download files

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

Source Distribution

Built Distribution

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

File details

Details for the file arcsecond_service_platesolver_astrometry-1.2.1.tar.gz.

File metadata

File hashes

Hashes for arcsecond_service_platesolver_astrometry-1.2.1.tar.gz
Algorithm Hash digest
SHA256 7a1d9b842b3cb02ef580f32a250baca745d512cbeb62248b352887b354b9cdcb
MD5 0dd4007958fc91e001e64a59a0fdab0f
BLAKE2b-256 15f917428b0c0614913a84b819a02c7d764ff1ddd4db4fbe177ae0c4535951ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for arcsecond_service_platesolver_astrometry-1.2.1.tar.gz:

Publisher: publish-pypi.yml on arcsecond-io/arcsecond-service-platesolver-astrometry

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file arcsecond_service_platesolver_astrometry-1.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for arcsecond_service_platesolver_astrometry-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b025bfde0273bbf4717cbb2cd111918c0fdcd6a46ea69e897dd6d60331b25332
MD5 26fccc236954c1a13d5e0f35f5072077
BLAKE2b-256 cba52b36ef675f9306c187c1ddd64875ad8efe3617afd2b7b06cd1fde368133f

See more details on using hashes here.

Provenance

The following attestation bundles were made for arcsecond_service_platesolver_astrometry-1.2.1-py3-none-any.whl:

Publisher: publish-pypi.yml on arcsecond-io/arcsecond-service-platesolver-astrometry

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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