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.1-py2.py3-none-any.whl (6.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file tengri-1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: tengri-1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for tengri-1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1378dd7db1b28e57251feda9a7f79d0bfff01f2a1e3b361009e2dc76ca71c11d
MD5 a87ca308ee69f902a491b8ae71eaf5eb
BLAKE2b-256 43448051da3b29b0b918203a09d37af799ace24eeb6b88ed123871cad5002cb0

See more details on using hashes here.

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