Skip to main content

Add your description here

Project description

How to Install

How to run

How to integrate API_key

Weather App 🌤️

A Python package for fetching real-time weather data using the OpenWeatherMap API.

Installation

pip install weather-app-mannyyebz

Setup

  1. Get a free API key from openweathermap.org
  2. Create a .env file in your project:

Usage

from weather_app import OpenWeatherMap

# Get weather for a city
client = OpenWeatherMap(api_key="your_api_key")
data = client.get_weather("New York")
print(data)

# Convert Celsius to Fahrenheit
temp_f = OpenWeatherMap.celsius_to_fahrenheit(25)
print(f"25°C is {temp_f}°F")

Features

  • Fetch real-time weather data for any city
  • Returns temperature, humidity, wind speed, and more
  • Built-in Celsius to Fahrenheit converter

Dependencies

  • requests
  • python-dotenv

License

MIT

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

weather_app_mannyyebz-0.1.3.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

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

weather_app_mannyyebz-0.1.3-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file weather_app_mannyyebz-0.1.3.tar.gz.

File metadata

  • Download URL: weather_app_mannyyebz-0.1.3.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for weather_app_mannyyebz-0.1.3.tar.gz
Algorithm Hash digest
SHA256 063144e5f661ee0c0385c316a2a3f5be78f1030f2c27de1f02d9fb6549cb5433
MD5 d68b4becd5b99b66ebf49d4bfa38e0b8
BLAKE2b-256 fc9dccbb5e8091b0f14a261ed1fad56117212f0bc1cdee6d34ebdfe7f07100af

See more details on using hashes here.

File details

Details for the file weather_app_mannyyebz-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for weather_app_mannyyebz-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 fd5242134d5a3df36584562667ecc800f8df4db35dd6721aa28066de370c307b
MD5 8226385d51cc8b68ac2fb85764b2b469
BLAKE2b-256 786698ef9b15e78ad0c6830eeed0f0b7999a9a1059d85c8882a233904e29f458

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