Skip to main content
Help the Python Software Foundation raise $60,000 USD by December 31st!  Building the PSF Q4 Fundraiser

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:

BROKERS = {
    '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.

Files for tom-antares, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size tom_antares-1.1.0-py3-none-any.whl (22.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size tom-antares-1.1.0.tar.gz (24.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page