Skip to main content
2025 Python Packaging Survey is now live!  Take the survey now

A CLI tool for fetching the current weather using Tomorrow.io

Project description

PyWeather - Weather CLI

PyWeather will show you the current conditions of a given location. Written in python and uses the tomorrow.io api..

Install

python3 -m pip install pyioweather

Usage

pyweather

You'll need to enter an API key from Tomorrow.io at runtime, or have a Tomorrow.io API key in your environment variables like this::

TOMORROW_IO_API=*YOURKEYHERE*

Getting a tomorrow.io API Key

This is completley free for basic use - up to 500 requests per day. No credit card required.

  1. Go to the tomorrow.io api docs
  2. In the top right, click Log In
  3. Sign Up for an account
  4. Go to the API keys section while signed in
  5. Copy the API key!

Supported by

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