mirror of
https://github.com/status-im/status-python-sdk.git
synced 2026-08-31 06:01:19 +00:00
58abd706ce500075cd0ed267d3c296d4b012fe67
Status App Monitoring
Monitoring tool for Status App communities
Setup
Environment Variables
POSTGRES_USERNAME
POSTGRES_PASSWORD
POSTGRES_DATABASE
POSTGRES_HOST
POSTGRES_PORT
Docker
- Login to
harbor.status.im. Your password is your Harbor CLI secret.
docker login harbor.status.im
- Run
docker-compose.yamlfile
docker compose up
Python
- Setup environment
conda create -n status-monitoring python=3.12
- Install requirements
pip install -r requirements.txt
Note: If you are on Windows, you will have to install psycopg2 instead of psycopg2-binary.
Files
create_account.py- create a Status App account for the givenusernameandpassword. Example runs:python create_account.py -u snt-maxxer -p StatusApp#123python create_account.py --username snt-maxxer --password StatusApp#123
download.py- download all messages and overall community info from the specified Status App channels inconfig.yaml.upload.py- upload data fromdownload.pyto Postgres
Languages
Python
100%