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 NOAO 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.4 and up. Python 2.X is not supported.

You can install using pip:

$ pip install antares-client

Verify the client installed correctly:

$ antares --version
antares, version v0.3.0

Documentation

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

Version Migration

While the ANTARES client is still in beta (pre-1.0) we will likely make a handful of breaking changes. This section will help ease your migratory pains. Thank you for supporting us in our infancy!

0.2.x to 0.3.x

  • The CLI command for streaming alerts from ANTARES, antares-client, has been renamed antares stream. Additionally, in 0.2.0 you were able to pass topics to antares-client in a comma-separated list--this functionality has been removed in favor of space-separated lists. So, for example, this 0.2.0 call:

    antares-client extragalactic,nuclear_transient
    

    should be replaced with this 0.3.0 call:

    antares stream extragalactic nuclear_transient
    

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-0.3.0.tar.gz (11.8 kB view hashes)

Uploaded Source

Built Distribution

antares_client-0.3.0-py3.4.egg (27.4 kB view hashes)

Uploaded Source

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