get weather alerts for a state
Project description
wxalerts
Simple monke code that scans a state every 30 seconds for weather alerts.
This will be updated in the future to be cleaner and have more features.
from wxalerts import wxalerts
# scan for a state
wxalerts.start(state="OR")
Options
refresh : bool, tells the class if it should
redo the scan
default value: True
refresh_time : int, tells the class how many seconds
it should wait before refreshing
(only works if refresh is True)
default value: 30
refresh_count : int, tells the class how many times to
refresh. Set to 0 if you want infinite
(only works if refresh is True)
default value: 5
state : str, tells the class what state to scan
for (1), initials only, IL, OR, FL, and
so on
default value: None
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
wxalerts-0.0.3.tar.gz
(15.2 kB
view details)
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
wxalerts-0.0.3-py3-none-any.whl
(15.7 kB
view details)
File details
Details for the file wxalerts-0.0.3.tar.gz.
File metadata
- Download URL: wxalerts-0.0.3.tar.gz
- Upload date:
- Size: 15.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85addcb907b092e128d917dfe9fabb7058cd85fcb632b34e329bd36ccc675223
|
|
| MD5 |
544dd0f25b5ff5dd287af2bd59bc3e74
|
|
| BLAKE2b-256 |
993d0587f7a711aaf53b25bc7914261b063952cf0b111f82fe768ab92c41d34f
|
File details
Details for the file wxalerts-0.0.3-py3-none-any.whl.
File metadata
- Download URL: wxalerts-0.0.3-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e654e162bde04c6eb19eb2395534c9f185276b7d36ee593ed49596066df6004f
|
|
| MD5 |
0eacdd58eb4c06658ba3e4ee8f300a1a
|
|
| BLAKE2b-256 |
5225e1b33273ed3884046675fa21f464507e59a8021a2d5b9aee26cd608cd3f6
|