Skip to main content

A Python package to get weather reports for any location from API for

Project description


A Python package to get weather reports for any location from API for


Use the package manager pip to install weathercom.

pip install weathercom


import weathercom

weatherDetails = weathercom.getCityWeatherDetails("bangalore")
weatherDetails = weathercom.getCityWeatherDetails(city="bangalore", queryType="daily-data")

weatherDetails=weathercom.getCityWeatherDetails(city="bangalore", queryType="ten-days-data")
weatherDetails=weathercom.getCityWeatherDetails(city="bangalore", queryType="hourly-data")
weatherDetails=weathercom.getCityWeatherDetails(city="bangalore", queryType="monthly-data")

weatherDetais=weathercom.getCityWeatherDetails(city="bangalore", queryType="particular-date-data", date={'year':'2018','month':'09','date': '19')

Defects to be corrected in next release

Better error handling, particular-date-data can only accept a date in the last five years, imporved user experience


Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.



Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for weathercom, version 1.0.5
Filename, size File type Python version Upload date Hashes
Filename, size weathercom-1.0.5-py3-none-any.whl (4.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size weathercom-1.0.5.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page