Metadata-Version: 2.4
Name: fastalert
Version: 0.0.1
Author-email: Nathan Cooper <nathanacooper@proton.me>
License-Expression: Apache-2.0
Project-URL: Repository, https://github.com/AnswerDotAI/fastalert
Project-URL: Documentation, https://AnswerDotAI.github.io/fastalert/
Keywords: nbdev
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: fastlite
Requires-Dist: python-fasthtml
Dynamic: license-file

# fastalert


<!-- WARNING: THIS FILE WAS AUTOGENERATED! DO NOT EDIT! -->

## Usage

### Installation

Install latest from the GitHub [repository](https://github.com/AnswerDotAI/fastalert):

``` sh
$ pip install git+https://github.com/AnswerDotAI/fastalert.git
```

or from [pypi](https://pypi.org/project/fastalert/)

``` sh
$ pip install fastalert
```

### Documentation

Documentation can be found hosted on this GitHub [repository](https://github.com/AnswerDotAI/fastalert)’s [pages](https://AnswerDotAI.github.io/fastalert/). Additionally you can find package manager specific guidelines on [pypi](https://pypi.org/project/fastalert/) respectively.

## How to use

To start your `fastalert` server, you can run the following in your terminal:

``` python
!fastalert --port 6001
```

    Link: http://localhost:6001
    INFO:     Will watch for changes in these directories: ['/home/natedawg/aai-ws/fastalert/nbs']
    INFO:     Uvicorn running on http://0.0.0.0:6001 (Press CTRL+C to quit)
    INFO:     Started reloader process [106047] using WatchFiles
    INFO:     Started server process [106093]
    INFO:     Waiting for application startup.
    INFO:     Application startup complete.
    ^C
    INFO:     Shutting down
    INFO:     Waiting for application shutdown.
    INFO:     Application shutdown complete.
    INFO:     Finished server process [106093]

`fastalert` supports token based authentication. To enable authentication, store your token in `FASTALERT_API_KEY` environment variable before starting your `fastalert` server.
