Weather scraping command-line tool
Do you regularly check weather forecast a day before an activity? This command-line tool scrapes the following web forecasts for you:
$ tengri Khan Tengri
Tengri weather report for: "Khan Tengri" meteoblue.com ------------- : Weather Khan Tängiri Shyngy : Kazakhstan, 42.21°N 80.18°E 6995m asl : Tomorrow Max temp: -28 °C Min temp: -36 °C Wind: 10 km/h ...
To install Tengri:
pip install tengri
To start working on project, install it in editable (development) mode. This makes tengri package importable and installs launch script on system path. See pip “Editable” install:
$ pip install -e .
To start tests, pytest has to be installed first:
$ pip install pytest
Then from project dir run tests by:
To undo the development setup, use pip uninstall command. It updates python path and removes launch script:
$ pip uninstall tengri
If you are working on many python projects consider using virtualenv.
For convenience make is used to facilitate project setup (see Makefile and requirements.txt).