Skip to main content

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

  1. Clone this repo:
    git clone https://github.com/dekoder-py/PyWeather
    
  2. Install requirements:
    python3 -m pip install -r requirements.txt 
    

Usage

Run the main file:

python3 main.py

You'll need to enter an API key from Tomorrow.io at runtime, or create a .env file with the following (prior to running):

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!

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

pyioweather-0.0.1-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file pyioweather-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: pyioweather-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for pyioweather-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d8209123b8d8ede6dba2efbf7888a73cce35a969a221db849c1143f9d3ad547c
MD5 cbc7027a3fda59f33f61520c8af2aa48
BLAKE2b-256 fee6764dff9e407768efbd4e9e35a90c88b46a76bd0b7ed88ea165a746a5da47

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