Skip to main content

Weather.com CLI

Project description

WeatherCLI

Web Scraping tool and a Command Line Interface for Weather.com

Installatoin

Install via PIP pip install weathercli

or

Git Clone using git clone https://github.com/AbinashSinha/WeatherCLI

Usage

Name of the City/Place -p PLACE, --place

Date -d DATE, --date [default : Current Time]

Type of Forecast:

1 : Daily, 2 : Hourly,3 : 5-Days, 4: 10-Days, 5: Weekend, 6 : Monthly.

-t TYPE, --type [Default: 1: Daily]

weather -p Bhopal -t 3

weather -p Bhopal -t 2

weather -p Bhopal -d 12/03/19

API

Return a JSON file

usage: from weathercli import Weather

Weather(place='Bhopal')

Weather(palce='Bhoapl',date='20/03/19')

Weather(place='Bhopal,typeof='2' )

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

wethr-0.0.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

wethr-0.0.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wethr-0.0.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for wethr-0.0.1.tar.gz
Algorithm Hash digest
SHA256 7c3434520f5a52d087e77e62c5cdbf2e592777af458b8c4b69b1f4df809441bf
MD5 401b35848ca3d0bad059a1e6533e08e1
BLAKE2b-256 008228fb417ca26ccd46217d8fe9e1afb7661a3ad8b1805115b6b99fa445868b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wethr-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

File hashes

Hashes for wethr-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3681a524ca948776eaef5bb56de26268e328279822e77cb8b842f0e12c6adab5
MD5 36895d5d8d6119fdc87524461632db6c
BLAKE2b-256 45c2751b1d6e460e6b1900ae15a2b317be63f9e2231ffbf059be1b6456fec19c

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