Metadata-Version: 2.4
Name: tom-antares
Version: 2.0.1
Summary: Antares Data Service module for the TOM Toolkit
License: GPL-3.0-only
License-File: LICENSE
Author: TOM Toolkit Project
Author-email: tomtoolkit-maintainers@lco.global
Maintainer: Joey Chatelain
Maintainer-email: jchate6@gmail.com
Requires-Python: >=3.10.0,<3.13
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: antares-client (>=1.11.1,<2.0.0)
Requires-Dist: elasticsearch-dsl (>=8.18.0,<9.0.0)
Requires-Dist: tomtoolkit (>=3.0.0a0)
Description-Content-Type: text/markdown

[![pypi](https://img.shields.io/pypi/v/tom-antares.svg)](https://pypi.python.org/pypi/tom-antares)
[![run-tests](https://github.com/TOMToolkit/tom_antares/actions/workflows/run-tests.yml/badge.svg)](https://github.com/TOMToolkit/tom_antares/actions/workflows/run-tests.yml)
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/6812def88cd5479ab4b833eedd52217f)](https://www.codacy.com/gh/TOMToolkit/tom_antares/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=TOMToolkit/tom_antares&amp;utm_campaign=Badge_Grade)
[![Coverage Status](https://coveralls.io/repos/github/TOMToolkit/tom_antares/badge.svg?branch=main)](https://coveralls.io/github/TOMToolkit/tom_antares?branch=main)

# Antares TOM Broker Module

This module adds [Antares](https://antares.noao.edu/) support to the TOM
Toolkit. Using this module TOMs can query and listen to Antares streams.

## Installation

Install the module into your TOM environment:

    pip install tom-antares

Include the app in your `INSTALLED_APPS` in your TOM's `settings.py`:

    INSTALLED_APPS = [
        ...
        'tom_antares',
    ]

Add `tom_antares.antares.ANTARESBroker` to the `TOM_ALERT_CLASSES` in your TOM's
`settings.py`:

    TOM_ALERT_CLASSES = [
        ...
        'tom_antares.antares.ANTARESBroker'
    ]

## Running the tests

In order to run the tests, run the following in your virtualenv:

`python tom_antares/tests/run_tests.py`

