Metadata-Version: 2.1
Name: fe-openedx-alerts
Version: 0.0.4
Summary: 
Author: Fernando Espíndola
Author-email: fer.esp@gmail.com
Requires-Python: >=3.9,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: requests (>=2.28.2,<3.0.0)
Description-Content-Type: text/markdown

# fe-openedx-alerts

A command line tool that send alerts if any Open edX service failasticsearch service is active



## Python version

Python: 3.9.16



## Poetry Configuration

```bash
# https://pypi.org/
poetry config pypi-token.pypi $PYPI_TOKEN

# https://test.pypi.org/
poetry config repositories.testpypi https://test.pypi.org/legacy/
poetry config pypi-token.testpypi PYPI_TEST_TOKEN
```


## Open edX Instance

```bash
git clone https://github.com/pyenv/pyenv.git ~/.pyenv
export PATH=/home/ubuntu/.pyenv/bin:$PATH
pyenv install 3.9.16
pyenv global 3.9.16

/home/ubuntu/.pyenv/versions/3.9.16/bin/pip3 install fe-openedx-alerts

# How to execute the script
/home/ubuntu/.pyenv/versions/3.9.16/bin/python /home/ubuntu/.pyenv/versions/3.9.16/lib/python3.9/site-packages/fe_openedx_alerts/es_status.py

```

