It's a simple app.
It works on MacOS v10.13, v11.2.
MacOS app for monitor Taiwan air quality.
$ python air_app.py
Recommended use PM2 for work on background.
$ pm2 start --name air --no-autorestart air_app.py
# Stop app
$ pm2 stop air
You have to active Python framework (it's virtual environment issue).
# pyenv
$ CFLAGS="-I$(xcrun --show-sdk-path)/usr/include" \
PYTHON_CONFIGURE_OPTS="--enable-unicode=ucs2 --enable-framework" \
pyenv install -v 3.7.3
$ python -V
3.7.3
$ pip install -r requirements.txt
$ python air_app.py
MIT license.