Skip to main content

Antares broker module for the TOM Toolkit

Project description

Antares TOM Broker Module

This module adds Antares 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

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

TOM_ALERT_CLASSES = [
    'tom_alerts.brokers.mars.MARSBroker'
    ...
    'tom_antares.antares.AntaresBroker'
]

You'll need Antares credentials to use this plugin. You can register for an account here. Add your Antares credentials to your project 's settings.py:

BROKER_CREDENTIALS = {
    'anatares': {
        'api_key': 'YOUR ANTARES API KEY',
        'api_secret': 'YOUR ANTARES API SECRET'
    }
}

Running the tests

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

python tom_antares/tests/run_tests.py

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

tom_antares-1.0.2-py3.8.egg (17.5 kB view hashes)

Uploaded Source

tom_antares-1.0.2-py3-none-any.whl (21.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page