Weatherforecast CLI tool
Project description
Python Weather Forecasting Tool
This is a command line tool accepts a list of cities and returns the weather forecast.
Usage
usage: app.py [-h] [--version] [--api-key API_KEY] [--date DATE] [--days DAYS] [--format {table,json,csv}] [--unit {metric,imperial,kelvin}] locations [locations ...]
positional arguments:
locations - Location names separated by spaces
optional arguments:
-h, --help Show the help message and exit
--version Show program's version number and exit
--api-key API_KEY - OpenWeatherMap API Key, if not provided default key is used.
--date DATE - Date for which the weather forecast is required. Format: YYYY-MM-DD (Optional, default is today)
--days DAYS - Number of days for which the weather forecast is required (Optional, default is 1)
--format {table,json,csv} - Output format (Optional, default is table)
--unit {metric,imperial,kelvin} - Temperature unit (Optional, default is metric)
Tools
- VSCode with Python extension
- GitHub Copilot
- OpenWeatherMap API
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file weather_forecast_cli_dotnetthoughts-1.0.0.tar.gz.
File metadata
- Download URL: weather_forecast_cli_dotnetthoughts-1.0.0.tar.gz
- Upload date:
- Size: 6.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f389743d2895d4aff001d3f9254f87aee7e109b913ee0e677e291dfb847f82a3
|
|
| MD5 |
7cbda1717a7d5a510c2c53b57c691af9
|
|
| BLAKE2b-256 |
0de272e414e703faafd505554f7417aa46db9651f580e1a350bc24d091658f79
|
File details
Details for the file weather_forecast_cli_dotnetthoughts-1.0.0-py3-none-any.whl.
File metadata
- Download URL: weather_forecast_cli_dotnetthoughts-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bab63aac2351db54f0998faa490ae19610b644118bdb8734d329fcdebe92ac9d
|
|
| MD5 |
e583d328666f0858d5430bfaa1a5680b
|
|
| BLAKE2b-256 |
6c4eb0a10e17193b3bbb16405e721bbafc2589e521b373193fe060c19ea96ec9
|