Skip to main content

24h Weather Forecast Data

Project description

Description

Appyweather is a Python package that provide you with 24-hour weather forecast information for any city or location (lat/lon), and it is mainly created for educational reasons. All weather data are provided through the 'openweathermap' api service.

Installation

Use the package manager pip to install appyweather.

pip install appyweather

Usage

from appyweather import Weather

# using a city name
weather = Weather(api_key='yourapikeyhere', city='Athens')

# using latitude/longitude coordinates + units (optional)
weather = Weather(api_key='yourapikeyhere', lat=37.98, lon=23.72, units='metric')

# get all the weather data for the next 24 hours (json)
weather.next_24_hours()

# Get basic weather data (datetime, temperature, sky condition, sky condition icon code) for the next 24 hours.
weather.next_24_hours_basic()

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

appyweather-1.0.1.tar.gz (2.7 kB view details)

Uploaded Source

File details

Details for the file appyweather-1.0.1.tar.gz.

File metadata

  • Download URL: appyweather-1.0.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

File hashes

Hashes for appyweather-1.0.1.tar.gz
Algorithm Hash digest
SHA256 b058421c20b5f85cecc822e2eb31ac0cd55e19713f9af8d16f4bd5cccfe39ef9
MD5 d616896a7144aed3c8a86df7033d736e
BLAKE2b-256 dcc65da6cb86fff9608071330136656d6728c92bda7cdc3b9f240b7094da7a6f

See more details on using hashes here.

Supported by

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