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

Credit

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

tengri-1.0-py2.py3-none-any.whl (7.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page