Skip to main content

A python3 library providing information of Current & Forecast of Weather as well as Air Pollution based on data from OpenWeatherMap.

Project description

Contributors Forks Stargazers Issues LinkedIn


py-open-weather

A python3 library providing information of Current & Forecast of Weather as well as Air Pollution based on data from OpenWeatherMap.
Explore the docs »

View Demo · Report Bug

Table of Contents
  1. About The Library
  2. Getting Started
  3. Usage
  4. License
  5. Contact

About The Library

A python3 library providing information of Current & Forecast of Weather as well as Air Pollution based on data from OpenWeatherMap.

Built With

Getting Started

Prerequisites

Python3 and Above

Installation

  1. Install the Library :eyes:
    pip install py-open-weather
    

demo1

  1. And you are done :boom:

Usage

  • (Current) Air pollution Data based on longitude and latitude
>>> from pyweather import airpol
>>> airpol.by_geoc(50,50)

demo2

  • (Forecast) Air pollution Data based on longitude and latitude
>>> from pyweather import airpol
>>> airpol.by_geoc(50,50,'forecast')
  • Current Weather Data based on cityname
>>> from pyweather import curweath
>>> curweath.by_cname('delhi')

demo3

  • Current Weather Data based on city id
>>> from pyweather import curweath
>>> curweath.by_cid(2172797)

demo4

  • Current Weather Data based on zipcode and country code
>>> from pyweather import curweath
>>> curweath.by_zcode(110032, 'in')

demo5

  • Current Weather Data based on Longitude and Latitude
>>> from pyweather import curweath
>>> curweath.by_geoc(50,50)

demo6

License

Distributed under the MIT License. See LICENSE for more information.

Contact

CodewithRv - ravigoel.1997@gmail.com

Project Link: https://github.com/ravigoel08/py-open-weather

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

py-open-weather-0.1.1.tar.gz (21.8 kB view details)

Uploaded Source

Built Distribution

py_open_weather-0.1.1-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file py-open-weather-0.1.1.tar.gz.

File metadata

  • Download URL: py-open-weather-0.1.1.tar.gz
  • Upload date:
  • Size: 21.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for py-open-weather-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5e6200214b5a303043c5ffcd806a64ef4d3137d46db154999e99a68ce7cc5a1b
MD5 f18b6438e4e400043480cc701f979d2d
BLAKE2b-256 d67362d880184815eb0d9497ff0675ae84b761e78a910623a0aad598d88af38a

See more details on using hashes here.

File details

Details for the file py_open_weather-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: py_open_weather-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.9.1

File hashes

Hashes for py_open_weather-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 377175d1f0ea9efea312b6f746f3e903d9405e8cb1e12b5d359813f120c4407c
MD5 9ae8acb2c75a87f3991870593a7931c7
BLAKE2b-256 5ead7311c8fb67f1098fc8c0ec9eb7b7da53fbac2ad3fb460f4ae4a96463a022

See more details on using hashes here.

Supported by

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