Skip to content

SNEWS2/SNEWS_Publishing_Tools

Repository files navigation

SNEWS Publishing Tool

snews_logo

Documentation Status PyPI testing arXiv


See the docs at

Docs: https://snews-publishing-tools.readthedocs.io/en/latest/

This packages provides users with a Python API and CLI to publish observation messages to SNEWS and subscribe to receive alerts from the SNEWS servers.

Note: Make sure your hop credentials are set up !!
Follow the instructions in Quick Start

Fire-Drills
Also see this page
snews_pt allows for fire-drill mode, currently this is the default option.

Later, it can be adjusted through firedrill_mode=True/False arguments in subcription and publication functions, and through --firedrill/--no-firedrill flags within the CLI tools.
Make sure you have the correct permissions to publish and subscribe to these firedrill channels.

How to Install

How to Publish and Subscribe

Command Line Interface (CLI)

There also exists tools for command line interactions. These are explained in detail here;

Remote Commands and More