Appyweather
Appyweather is a Python package that provide you with 24-hour weather forecast information for any city or location, and it is mainly created for educational reasons. All weather data are provided through the 'openweathermap' api service.
- Get your own api-key from: https://openweathermap.org
- Api-key might take a few hours to be activated.
Installation
Use the package manager pip to install appyweather.
pip install appyweather
Usage
from appyweather import Weather
# using a city name
weather = Weather(api_key='yourapikeyhere', city='Athens')
# using latitude/longitude coordinates + units (optional)
weather1 = Weather(api_key='yourapikeyhere', lat=37.98, lon=23.72, units='metric')
# get full 3-hour weather data for the next 24 hours
weather.next_24_hours()
# get basic 3-hour weather data for the next 24 hours
weather1.next_24_hours_basic()
- Sample url for sky condition icons: http://openweathermap.org/img/wn/10d@2x.png
License
Metadata
Release files for appyweather 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| appyweather-1.0.2.tar.gz | 2.6 kB | Without provenance | Details for appyweather-1.0.2.tar.gz |
Release files / appyweather-1.0.2.tar.gz
| Download URL | appyweather-1.0.2.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f2047a9c35b236e291634e6a10e4813529d4ec739fc6d088a2d8737bd5dba5c6
|
|
BLAKE2b-256 checksum How to use checksums |
a1d0a92da057279e090cfcb4ec4997ad7a0c5e0352c48456af3294ff84cb5e74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6
|
Security for appyweather 1.0.2
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.