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).
Credit
Kenneth Reitz for the idea: http://docs.python-guide.org/en/latest/
Benjamin Gleitzman for the inspiration: https://github.com/gleitz/howdoi
Metadata
Release files for tengri 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tengri-1.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Release files / tengri-1.1-py2.py3-none-any.whl
| Download URL | tengri-1.1-py2.py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
1378dd7db1b28e57251feda9a7f79d0bfff01f2a1e3b361009e2dc76ca71c11d
|
|
BLAKE2b-256 checksum How to use checksums |
43448051da3b29b0b918203a09d37af799ace24eeb6b88ed123871cad5002cb0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|