Skip to content

MacOS app for monitor Taiwan air quality by python rumps.

License

Notifications You must be signed in to change notification settings

grtfou/air-quality-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

air-quality-app

It's a simple app.

It works on MacOS v10.13, v11.2.

MacOS app for monitor Taiwan air quality.

Example

Requirement

Run app

$ 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

If you use virtual environment

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

License

MIT license.

About

MacOS app for monitor Taiwan air quality by python rumps.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages