Skip to main content

An implementation of the Openweather API in Python.

Project description

A Python implementation of the Open Weather API

To use ➡️

  • install from PyPi.

OpenWeather Homepage

pip install openweatherclass
  • Get an API Key

  • Initiate the class

import openweatherclass as owc

weather = owc.OpenWeatherClass(api_key=API_KEY, zipcode='02188', units='imperial')
print(weather.geo_data['name'])
print(weather.weather_data['current']['temp'])

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

openweatherclass-0.5.1.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

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

openweatherclass-0.5.1-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file openweatherclass-0.5.1.tar.gz.

File metadata

  • Download URL: openweatherclass-0.5.1.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for openweatherclass-0.5.1.tar.gz
Algorithm Hash digest
SHA256 a1bca5cf920bb7f7a011762f0eaf74617ced9c9091d0ad3b16411ff9fd85af46
MD5 7b9caf898a433ff2bc0bbddf9021569d
BLAKE2b-256 565f857052bf6e1dc5361e8c3fd779650754f6d71231e15a6cf462e8f2026c82

See more details on using hashes here.

File details

Details for the file openweatherclass-0.5.1-py3-none-any.whl.

File metadata

File hashes

Hashes for openweatherclass-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 018c57d5ed88fd06cb0f935f30e3f694094cbf909ab0cb8358e273f9f8b5e593
MD5 cae87a3789fef941db6c49ac57f81d9f
BLAKE2b-256 74849b464997b2deebd87f78c9fdbea17f0071f22f4ae8cc510efcac1bc5f143

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