Skip to main content

A simple CLI tool for weather and air quality data

Project description

MeteoPoint 🌤️

A simple CLI tool for weather and environmental data, featuring air quality monitoring with WHO guideline comparisons.

Quick Start

# Install globally
pip install meteopoint

# Set your OpenWeather API key
export OPENWEATHER_API_KEY=your_api_key_here
export GOOGLE_MAPS_API_KEY=your_api_key_here
export GOOGLE_MAPS_SIGNING_SECRET=your_signing_secret_here

# Start using it!
meteopoint paris
meteopoint nyc

Features

  • 🌡️ Comprehensive weather data with beautiful display
  • 💨 Air quality monitoring with WHO guideline comparisons
  • 🏭 Top 5 most significant pollutants with health impact assessment
  • 🌍 Enhanced accuracy with dual API support (OpenWeather + Google Maps)
  • 🔄 2-day weather forecast with precipitation probability
  • 🌅 Sunrise and sunset times
  • 📍 Built-in city aliases (nyc, sf, etc.)

API Keys

  1. OpenWeather API Key (Required)

    • Sign up at OpenWeather
    • Free tier is sufficient
    • Set the API key as an environment variable named OPENWEATHER_API_KEY
  2. Google Maps API Key (Optional)

    • Sign up at Google Cloud Console
    • Enables enhanced air quality data
    • Free tier has generous limits
    • Set the API key as an environment variable named GOOGLE_MAPS_API_KEY
    • Set the signing secret as an environment variable named GOOGLE_MAPS_SIGNING_SECRET

Examples

# Basic usage
meteopoint paris

# Use Fahrenheit
meteopoint paris --fahrenheit

# Get minimal output
meteopoint paris --format minimal

# Get JSON output
meteopoint paris --format json

# Save a city alias
meteopoint save "New York" --alias nyc

# Set default city
meteopoint config --default-city paris

# Enable shell completion
meteopoint install-completion

City Aliases

Common city aliases are built-in:

  • nyc → New York
  • sf → San Francisco
  • la → Los Angeles
  • lon → London
  • paris → Paris
  • And many more!

Requirements

  • Python 3.7+
  • Free OpenWeather API key (required)
  • Free Google Maps API key (optional, enhances air quality data)

Output Format

The tool provides rich output including:

  • Current temperature and "feels like"
  • Humidity and pressure
  • Wind speed and direction
  • Air quality index with interpretation
  • Color-coded pollutant levels with WHO guideline comparisons
  • Health recommendations based on air quality
  • 2-day forecast with precipitation probability

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

meteopoint-0.4.0.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

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

meteopoint-0.4.0-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file meteopoint-0.4.0.tar.gz.

File metadata

  • Download URL: meteopoint-0.4.0.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for meteopoint-0.4.0.tar.gz
Algorithm Hash digest
SHA256 92d27a87df79b4520d2aee7f08c8e426c41a59027c724ae4fa87caf763a1f6f7
MD5 2dc1881485fcde3df68ea79cf4100da2
BLAKE2b-256 858cdd03af2c6fb88dff7817ea5928257cc5eefcb70d3e901bcd43bd30087f59

See more details on using hashes here.

File details

Details for the file meteopoint-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: meteopoint-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for meteopoint-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0b60a7aabdbccda4e0a55445f6a79fc6432103e90ce6d755c2f754a55053dd84
MD5 d4a4d59e5388519880455d49adbd49f5
BLAKE2b-256 cf9ba529c00ab07a9af73c432a620ee34cb0ab7d87f9c1871e43c27ae00b337d

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