Skip to main content

Weather scraping command-line tool

Project description

https://travis-ci.org/robertdurkaj/tengri.svg?branch=master

Do you regularly check weather forecast a day before an activity? This command-line tool scrapes the following web forecasts for you:

Usage example:

$ tengri Khan Tengri

Output:

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
...

Install

To install Tengri:

pip install tengri

Develop

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:

$ pytest

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).

Author

  • Robert Durkaj

Project details


Release history Release notifications

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for tengri, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size tengri-1.0-py2.py3-none-any.whl (7.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page