Skip to main content

Windy-Web-Crawler is a command line web crawler that crawls 'www.windy.com' and displays the Temperature and wind speed for next 5 days

Project description

Project Title

Windy-Web-Crawler is a Web Crawler that Crawls "www.windy.com" for Temperature and Wind speed details of a given place. Windy-Web-Crawler is a Command Line tool.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Installing

A step by step guide for installing from PyPi:

pip install windy-crawler

Usage :

>>> from windy_crawler.windy_web_crawler import windy

>>> windy("Place Name")

Example

>>> from windy_crawler.windy_web_crawler import windy

>>> windy("Bangalore")
******************************
Place :  Bengaluru, Karnataka, India
Latitude 12.97194
Longitude 77.59369

 On Sunday 2:

+-----------------------+-----+------+-----+-----+-----+
|          Hour         | 9AM | 12PM | 3PM | 6PM | 9PM |
+-----------------------+-----+------+-----+-----+-----+
| Temperature (celcius) | 20° | 26°  | 28° | 27° | 23° |
|      Wind (knots)     |  10 |  9   |  7  |  8  |  9  |
+-----------------------+-----+------+-----+-----+-----+

 On Monday 3:

+-----------------------+-----+-----+-----+-----+------+-----+-----+-----+
|          Hour         | 0AM | 3AM | 6AM | 9AM | 12PM | 3PM | 6PM | 9PM |
+-----------------------+-----+-----+-----+-----+------+-----+-----+-----+
| Temperature (celcius) | 20° | 18° | 16° | 20° | 27°  | 30° | 28° | 22° |
|      Wind (knots)     |  8  |  7  |  5  |  5  |  6   |  6  |  7  |  9  |
+-----------------------+-----+-----+-----+-----+------+-----+-----+-----+

 On Tuesday 4:

+-----------------------+-----+-----+-----+-----+------+-----+-----+-----+
|          Hour         | 0AM | 3AM | 6AM | 9AM | 12PM | 3PM | 6PM | 9PM |
+-----------------------+-----+-----+-----+-----+------+-----+-----+-----+
| Temperature (celcius) | 19° | 16° | 15° | 18° | 27°  | 29° | 27° | 22° |
|      Wind (knots)     |  10 |  8  |  5  |  6  |  8   |  6  |  6  |  7  |
+-----------------------+-----+-----+-----+-----+------+-----+-----+-----+

 On Wednesday 5:

+-----------------------+-----+-----+-----+-----+------+-----+-----+-----+
|          Hour         | 0AM | 3AM | 6AM | 9AM | 12PM | 3PM | 6PM | 9PM |
+-----------------------+-----+-----+-----+-----+------+-----+-----+-----+
| Temperature (celcius) | 20° | 17° | 17° | 19° | 26°  | 29° | 28° | 22° |
|      Wind (knots)     |  9  |  8  |  7  |  5  |  2   |  4  |  4  |  6  |
+-----------------------+-----+-----+-----+-----+------+-----+-----+-----+

 On Thursday 6:

+-----------------------+-----+-----+-----+-----+------+-----+-----+-----+
|          Hour         | 0AM | 3AM | 6AM | 9AM | 12PM | 3PM | 6PM | 9PM |
+-----------------------+-----+-----+-----+-----+------+-----+-----+-----+
| Temperature (celcius) | 20° | 17° | 15° | 19° | 28°  | 30° | 29° | 23° |
|      Wind (knots)     |  6  |  5  |  3  |  2  |  2   |  3  |  2  |  6  |
+-----------------------+-----+-----+-----+-----+------+-----+-----+-----+

 On Friday 7:

+-----------------------+-----+-----+-----+-----+------+-----+-----+-----+
|          Hour         | 0AM | 3AM | 6AM | 9AM | 12PM | 3PM | 6PM | 9PM |
+-----------------------+-----+-----+-----+-----+------+-----+-----+-----+
| Temperature (celcius) | 20° | 18° | 17° | 21° | 27°  | 30° | 29° | 26° |
|      Wind (knots)     |  7  |  5  |  4  |  4  |  4   |  4  |  3  |  3  |
+-----------------------+-----+-----+-----+-----+------+-----+-----+-----+

Authors

Ganesh Prasad B G

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

windy-crawler-0.25.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file windy-crawler-0.25.tar.gz.

File metadata

  • Download URL: windy-crawler-0.25.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.42.0 CPython/3.7.2

File hashes

Hashes for windy-crawler-0.25.tar.gz
Algorithm Hash digest
SHA256 c9c689248cf8c534a4e7a017f8da41944344235a4ed73f6eaa8a91c45851bf6f
MD5 36c6afbb6db762781eb9428a465aadd3
BLAKE2b-256 0b584ecdd9efa9ceaf07b150e6c22968226f1e3225ee3fdab6dc3c3fa7bacad1

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