Skip to main content

Simple Package to connect with weather.com endpoints and get quick info

Project description

Weather Application

A python package to get quick info of weather For more info visit : https://gitlab.com/0xdebug/cloud-weather

Get Started

How to Install

Use the python package manager pip to install cloud_weather_app.

pip install cloud_weather_app

Requirements

  • python >= 3.6
  • requests
  • beautifulsoup4

Usage

from cloud_weather_app import cloud_weather

# Enter the valid Place Name
mumbai = cloud_weather('mumbai')

# Choose relevant forecast type and print variable to view outputs
daily = mumbai.daily()
monthly = mumbai.monthly()
hourly = mumbai.hourly()

Sample Output

The Ouputs are just indicative and may subject to enhance in future versions

  • Daily
Observed at : 2019-10-14 03:03:49
Temperature : 22°, Feels like : 22°, Desc : Thunder
  • Monthly
--------------------------------------------------------------------------------

Date           Temp Day                      Temp Night
--------------------------------------------------------------------------------

2019-10-15     28°  PM T-Storms              21°  Scattered T-Storms
2019-10-16     27°  T-Storms                 20°  T-Storms
2019-10-17     28°  T-Storms                 20°  T-Storms
2019-10-18     28°  PM T-Storms              20°  Scattered T-Storms
2019-10-19     28°  PM T-Storms              20°  Scattered T-Storms
2019-10-20     28°  PM T-Storms              20°  T-Storms
2019-10-21     27°  PM T-Storms              20°  T-Storms
2019-10-22     27°  PM T-Storms              20°  T-Storms
2019-10-23     27°  T-Storms                 20°  T-Storms
2019-10-24     27°  T-Storms                 20°  T-Storms
2019-10-25     26°  T-Storms                 19°  Scattered T-Storms
2019-10-26     27°  PM T-Storms              19°  Scattered T-Storms
2019-10-27     27°  PM T-Storms              19°  T-Storms
2019-10-28     27°  Scattered T-Storms       19°  Scattered T-Storms
  • Weekly
--------------------------------------------------------------------------------

Time           Description              Temp           Feels like
--------------------------------------------------------------------------------

04:00          Cloudy                   22°            22°
05:00          Scattered T-Storms       22°            22°
06:00          Cloudy                   22°            22°
07:00          Mostly Cloudy            21°            21°
08:00          Mostly Cloudy            22°            22°
09:00          Partly Cloudy            23°            23°
10:00          Partly Cloudy            25°            25°
11:30          Partly Cloudy            27°            30°
12:30          Partly Cloudy            28°            30°
13:30          Partly Cloudy            29°            30°
14:30          Partly Cloudy            29°            31°
15:30          Partly Cloudy            29°            31°
16:30          Partly Cloudy            28°            30°
17:30          Partly Cloudy            27°            29°
18:30          Partly Cloudy            26°            28°

Author

Deepak Natanmai gitlab.com/0xdebug

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

cloud_weather_app-0.0.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

cloud_weather_app-0.0.1-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file cloud_weather_app-0.0.1.tar.gz.

File metadata

  • Download URL: cloud_weather_app-0.0.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.2

File hashes

Hashes for cloud_weather_app-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a6be11ac038da4c7ea1e8c85d8ce4951ce63fa6c014ca3e41c6df3775b9ca055
MD5 d99af1ac2f6757a37752845bba18ac10
BLAKE2b-256 e097279fec8d8211d049741d80d14683020d24781ccdfab351efedd8e02ecd69

See more details on using hashes here.

File details

Details for the file cloud_weather_app-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: cloud_weather_app-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.2

File hashes

Hashes for cloud_weather_app-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2394ea995abb3662be216dd1d80409b5780537c8a051bb9ac51d53afba52bc5d
MD5 69e83f16153b42d6283213cb85063b98
BLAKE2b-256 783ca71e4b771f3b4778f90f88968b99113e80376df4ede71044cbbad6803911

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