Skip to main content

Weathora

A simple Python CLI tool to fetch live weather data from any city using the OpenWeather API.

PyPI version Python Versions License CI Build and Deploy Sphinx Docs

Table of Contents


Installation

  • From pip

    pip install weathora
    
  • Clone the repository:

    git clone https://github.com/bhatishan2003/weathora
    cd weathora
    

Create and activate a virtual environment:

  1. Create a Virtual Environment [Optional, but recommended]

    Run the following command to create a virtual environment:

    python3 -m venv .venv
    
  • Activate:

    • Windows (PowerShell):

      .venv\Scripts\activate
      
    • Linux/Mac (Bash):

      source .venv/bin/activate
      
  • Deactivate:

    deactivate
    
  • Install the package:

    pip install .
    
  • For development (editable mode):

    pip install -e .
    

Setup API Key 🔑

To use this project, you’ll need an API key from OpenWeather.

Step 1: Create an Account

  1. Go to OpenWeather API.
  2. Sign up (or log in if you already have an account).

Step 2: Get Your API Key

  1. Navigate to your API Keys section in the OpenWeather dashboard.
  2. Copy your API Key.

Step 3: Store the API Key

Depending on your shell, use one of the following commands:

🔹 PowerShell

$Env:OPENWEATHER_API_KEY = "YOUR_SECRET_KEY"

🔹Bash

export OPENWEATHER_API_KEY="YOUR_SECRET_KEY"

Usage

Command Line Usage

  • Following commands should be entered to get weather information.

    weathora --city "Delhi"
    weathora --city "London"
    weathora --city "Jammu"
    

Metadata

Release files for weathora 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for weathora 0.0.3
File Size Uploaded Provenance Actions
weathora-0.0.3.tar.gz 6.1 kB Without provenance Details for weathora-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for weathora 0.0.3
File Interpreter ABI Platform Actions
weathora-0.0.3-py3-none-any.whl Python 3 none any Details for weathora-0.0.3-py3-none-any.whl

Total release size: 11.5 kB

Release files / weathora-0.0.3.tar.gz

Download URL weathora-0.0.3.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d57a09370473feec5be669cf12073cb2069310f20727b43bfae4d7e93f85eba5
BLAKE2b-256 checksum
How to use checksums
ebb7894c767c660542c530237f1325b58dff08697f9574ccb506ece3888a46ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / weathora-0.0.3-py3-none-any.whl

Download URL weathora-0.0.3-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bc1bd17453d63e9843ec43d96cc534dabb5def3cc871afa2a2eebf6e5a0d466a
BLAKE2b-256 checksum
How to use checksums
c37d44d3883c3ca5fb6b87ea34245bcdff73426387b3004e5e7dd4866c5bad88
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Security for weathora 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page