A weather lookup plugin for Sopel IRC bots
Project description
sopel-weather
A weather lookup plugin for Sopel IRC bots.
Note: This package was previously published as
sopel-modules.weather. Please update your dependencies to usesopel-weatherinstead.
Installation
pip install sopel-weather
Configuration
You can automatically configure this plugin using sopel configure --plugins.
Or configure manually in ~/.sopel/default.cfg:
[weather]
geocoords_provider = locationiq_us
geocoords_api_key = YOUR_LOCATIONIQ_API_KEY
weather_provider = openmeteo
weather_api_key = dummy
Usage
Current Weather
.weather # Uses your saved location
.weather seattle, us
.weather london
Example output:
Paris, Ile-de-France, FR: 6°C (42°F), Clear, Humidity: 83%, UV Index: 0, Gentle breeze 4.0m/s (↗)
Forecast
.forecast # Uses your saved location
.forecast seattle, us
.forecast london
Set Your Location
.setlocation london # Set by city name
.setlocation 98101 # Set by US zip code
API Keys Required
GeoCoords Provider
- LocationIQ - Free tier available
Weather Providers
- Open-Meteo - No API key required (use any string)
- OpenWeatherMap - Free tier available
- Pirate Weather - Drop-in Dark Sky replacement
Requirements
- Sopel 8.0+
- Python 3.8+
License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sopel_weather-2.0.0.tar.gz.
File metadata
- Download URL: sopel_weather-2.0.0.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0241d40f2a87b64c6f6cc5b10446ee6ee5eeae713b2d83c165a4e5ea4b5383b3
|
|
| MD5 |
d50ddf75631961a582c2439bf8a3de3a
|
|
| BLAKE2b-256 |
102d98160a76f114534fed25c9533092b0f4cf4f9294cd9bd497946498f9ec92
|
Provenance
The following attestation bundles were made for sopel_weather-2.0.0.tar.gz:
Publisher:
python-publish.yml on sopel-irc/sopel-weather
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sopel_weather-2.0.0.tar.gz -
Subject digest:
0241d40f2a87b64c6f6cc5b10446ee6ee5eeae713b2d83c165a4e5ea4b5383b3 - Sigstore transparency entry: 854396501
- Sigstore integration time:
-
Permalink:
sopel-irc/sopel-weather@ed4cd8b096245c204d90841548933b317da0abe0 -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/sopel-irc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@ed4cd8b096245c204d90841548933b317da0abe0 -
Trigger Event:
release
-
Statement type:
File details
Details for the file sopel_weather-2.0.0-py3-none-any.whl.
File metadata
- Download URL: sopel_weather-2.0.0-py3-none-any.whl
- Upload date:
- Size: 10.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf794caef7bf8261d7448656f4f12128c73516cca65999a24a7d568369439f61
|
|
| MD5 |
c0417b2ab2ca9e460ae8e061f797b8ed
|
|
| BLAKE2b-256 |
3af13ef56c147c9611da247e018beb491f8b9f916b18fe5e1daeee433a443ef7
|
Provenance
The following attestation bundles were made for sopel_weather-2.0.0-py3-none-any.whl:
Publisher:
python-publish.yml on sopel-irc/sopel-weather
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sopel_weather-2.0.0-py3-none-any.whl -
Subject digest:
bf794caef7bf8261d7448656f4f12128c73516cca65999a24a7d568369439f61 - Sigstore transparency entry: 854396502
- Sigstore integration time:
-
Permalink:
sopel-irc/sopel-weather@ed4cd8b096245c204d90841548933b317da0abe0 -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/sopel-irc
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@ed4cd8b096245c204d90841548933b317da0abe0 -
Trigger Event:
release
-
Statement type: