Skip to main content

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


Download files

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

Source Distribution

weather_forecast_cli_dotnetthoughts-1.0.0.tar.gz (6.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file weather_forecast_cli_dotnetthoughts-1.0.0.tar.gz.

File metadata

File hashes

Hashes for weather_forecast_cli_dotnetthoughts-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f389743d2895d4aff001d3f9254f87aee7e109b913ee0e677e291dfb847f82a3
MD5 7cbda1717a7d5a510c2c53b57c691af9
BLAKE2b-256 0de272e414e703faafd505554f7417aa46db9651f580e1a350bc24d091658f79

See more details on using hashes here.

File details

Details for the file weather_forecast_cli_dotnetthoughts-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for weather_forecast_cli_dotnetthoughts-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bab63aac2351db54f0998faa490ae19610b644118bdb8734d329fcdebe92ac9d
MD5 e583d328666f0858d5430bfaa1a5680b
BLAKE2b-256 6c4eb0a10e17193b3bbb16405e721bbafc2589e521b373193fe060c19ea96ec9

See more details on using hashes here.

Supported by

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