Skip to main content

A openweathermap command line program in Python.

Project description

PyPI version

A command line application for displaying weather details, written in Python.

Getting Started

Prerequisites

Installing

Openweathermap-cli is on PyPi so it can be installed with pip.

$ pip install openweathermap-cli

Using openweathermap-cli

Usage:
  weather
  weather week
  weather -h | --help
  weather --version

Get today’s weather forecast

$ weather

Get the week’s weather forecast

$ weather week

Example

Get today’s weather details

$ weather
+-----------------------+------------+
| City of Westminster   |            |
|-----------------------+------------|
| Temperature           | 10.45      |
| Temp Max              | 12.0       |
| Temp Min              | 9.0        |
| Summary               | Rain       |
| Detail                | light rain |
| Sunrise               | 07:05:26   |
| Sunset                | 17:23:52   |
+-----------------------+------------+

Built With

Authors

License

This project is licensed under the MIT License

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

openweathermap-cli-1.1.0.tar.gz (4.0 kB view details)

Uploaded Source

File details

Details for the file openweathermap-cli-1.1.0.tar.gz.

File metadata

File hashes

Hashes for openweathermap-cli-1.1.0.tar.gz
Algorithm Hash digest
SHA256 69527384a791000c4b9bebfc0a18b6d8d07b490f73a226741cf2a854a6debbb0
MD5 311d67aeee50e2917141d0510d34d8a8
BLAKE2b-256 b91fcee2a8ca626e6bf01aa67c25a9c494fdd4fa013b4fcd5da6dc104d4a1add

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