Skip to main content

A light-weight client for receiving alerts from ANTARES.

Project description

antares-client

A light-weight client for receiving alerts from ANTARES.

ANTARES is an Alert Broker developed by the NSF NOIRLab for ZTF and LSST.

The client is available for use as a Python library and as a command line tool. Directions for both use cases follow in the Usage section.

Table of Contents:

Installation

The ANTARES client supports Python versions 3.6 and up.

To install:

$ pip install antares-client

To install with kafka to use the StreamingClient:

$ pip install "antares-client[subscriptions]"

Verify the client installed correctly:

$ antares --version
antares, version v1.1.0

Documentation

Visit the full documentation for usage guides, API reference docs, and more.

Development

To install the development dependencies

pip install uv
uv sync --all-groups --all-extras

Docs

Use the steps below to generate the docs locally. Note the docs are deployed to Gitlab pages using a manual trigger via the Gitlab pipeline.

  1. Install dependencies
pip install ".[docs]"
  1. Generate HTML build
make --directory docs html
  1. Visit the build/index.html file in the browser
firefox docs/build/html/index.html

Troubleshooting

Issues? See the documentation for common gotchas and, if you can't find a solution there, please open an issue.

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

antares_client-1.14.0.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

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

antares_client-1.14.0-py3-none-any.whl (19.1 kB view details)

Uploaded Python 3

File details

Details for the file antares_client-1.14.0.tar.gz.

File metadata

  • Download URL: antares_client-1.14.0.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for antares_client-1.14.0.tar.gz
Algorithm Hash digest
SHA256 66f09746731f08bd03cd971d70e76a7a1aebd1f8618dd57baba285b80e1c207a
MD5 2e7c7667cd7b8fc4d369c2eeb3880b73
BLAKE2b-256 8722ae7190a02fec938dc9a51f89d2bbc957234136b74cdfa93be681394e44fb

See more details on using hashes here.

File details

Details for the file antares_client-1.14.0-py3-none-any.whl.

File metadata

File hashes

Hashes for antares_client-1.14.0-py3-none-any.whl
Algorithm Hash digest
SHA256 717055d29f7da9c69a4982dfc853c8c149dd01d69d60b52fdc9aa3e18f077407
MD5 14d7e80725f294a5ce055b1a7445d336
BLAKE2b-256 0d09600d18f23274b461458c161f23f0acebf85b86113a09f764ca3bc3f0f32a

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