Skip to main content

Weathercom

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

Installation

Use the package manager pip to install weathercom.

pip install weathercom

Usage

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

Contributing

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.

License

MIT

Metadata

Release files for weathercom 1.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for weathercom 1.0.5
File Size Uploaded Provenance Actions
weathercom-1.0.5.tar.gz 4.1 kB Without provenance Details for weathercom-1.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for weathercom 1.0.5
File Interpreter ABI Platform Actions
weathercom-1.0.5-py3-none-any.whl Python 3 none any Details for weathercom-1.0.5-py3-none-any.whl

Total release size: 8.9 kB

Release files / weathercom-1.0.5.tar.gz

Download URL weathercom-1.0.5.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0a42c63b3d5d42b32bad199240a821dd7755c32e8af9f52071fc8e8d8758d729
BLAKE2b-256 checksum
How to use checksums
bf095d745556eeeca5ea50c1fba2c11e881c2314eb69e521b3ee02b5603d4cd4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8

Release files / weathercom-1.0.5-py3-none-any.whl

Download URL weathercom-1.0.5-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
12975c55c0cc0acf800d1cd478b17538c86b10f7ca41731b2cb089a0e6b75265
BLAKE2b-256 checksum
How to use checksums
6c7d9713eb394f782793fa064e5e268c7a5b1dcfcc625af285ff44ce2cb7c79d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8

Security for weathercom 1.0.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.5 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page