Metadata-Version: 2.3
Name: nextline-alert
Version: 0.1.4
Summary: A plugin of nextline-graphql. Emit alerts to Campana
Project-URL: Documentation, https://github.com/simonsobs/nextline-alert#readme
Project-URL: Issues, https://github.com/simonsobs/nextline-alert/issues
Project-URL: Source, https://github.com/simonsobs/nextline-alert
Author-email: Simons Observatory <so_software@simonsobservatory.org>
License-Expression: MIT
License-File: LICENSE.txt
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.10
Requires-Dist: httpx>=0.26
Requires-Dist: nextline-graphql>=0.7.6
Provides-Extra: tests
Requires-Dist: pytest-asyncio>=0.23; extra == 'tests'
Requires-Dist: pytest-cov>=4.1; extra == 'tests'
Requires-Dist: pytest-timeout>=2.2; extra == 'tests'
Requires-Dist: pytest>=7.4; extra == 'tests'
Requires-Dist: respx>=0.20; extra == 'tests'
Description-Content-Type: text/markdown

# Nextline Alert

[![PyPI - Version](https://img.shields.io/pypi/v/nextline-alert.svg)](https://pypi.org/project/nextline-alert)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/nextline-alert.svg)](https://pypi.org/project/nextline-alert)
[![Test Status](https://github.com/simonsobs/nextline-alert/actions/workflows/unit-test.yml/badge.svg)](https://github.com/simonsobs/nextline-alert/actions/workflows/unit-test.yml)
[![Test Status](https://github.com/simonsobs/nextline-alert/actions/workflows/type-check.yml/badge.svg)](https://github.com/simonsobs/nextline-alert/actions/workflows/type-check.yml)

A plugin for [nextline-graphql](https://github.com/simonsobs/nextline-graphql).
Emit alerts to [Campana](https://github.com/simonsobs/campana)

---

**Table of Contents**

- [Nextline Alert](#nextline-alert)
  - [Installation](#installation)
  - [Configuration](#configuration)
  - [License](#license)
  - [Contact](#contact)

## Installation

```console
pip install nextline-alert
```

## Configuration

| Environment variable          | Default value             | Description          |
| ----------------------------- | ------------------------- | -------------------- |
| `NEXTLINE_ALERT__CAMPANA_URL` | `http://httpbin.org/post` | The CAMPANA endpoint |
| `NEXTLINE_ALERT__PLATFORM`    | `localhost`               | The platform name    |

## License

`nextline-alert` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.

## Contact

- [Tai Sakuma](https://github.com/TaiSakuma) <span itemscope itemtype="https://schema.org/Person"><a itemprop="sameAs" content="https://orcid.org/0000-0003-3225-9861" href="https://orcid.org/0000-0003-3225-9861" target="orcid.widget" rel="me noopener noreferrer" style="vertical-align:text-top;"><img src="https://orcid.org/sites/default/files/images/orcid_16x16.png" style="width:1em;margin-right:.5em;" alt="ORCID iD icon"></a></span>
