pogoda.by storm warning rss parser
Project description
===== Hazard_feed
Hazard_feed is a Django app to get storm warnings from http://www.pogoda.by conduct Web-based polls and send notifications by email to subscribed recipents.
Quick start
-
Add "hazard_feed", "corsheaders' and others to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [ ... 'corsheaders', 'django_rq', 'tinymce', 'rest_framework', 'drf_yasg', 'hazard_feed', ]
-
Define next email settings in settings.py or your environment viriables: WEATHER_EMAIL_SMTP_HOST WEATHER_EMAIL_SMTP_PORT WEATHER_USE_TSL WEATHER_EMAIL_HOST_USER WEATHER_EMAIL_HOST_PASSWORD
-
Define in settings.py WEATHER_EMAIL_FROM
-
Add "corsheaders' settings to your settings.py
CORS_ORIGIN_ALLOW_ALL = True
-
Define django_rq settings
-
Start rqworker and rqscheduler
-
For websocket works add channels redis and configure it as channels documentation
-
Run
python manage.py migrateto create the azard_feed models.
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 hazard-feed-0.2.5.tar.gz.
File metadata
- Download URL: hazard-feed-0.2.5.tar.gz
- Upload date:
- Size: 188.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.6.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cce639ad289c0560c3edf1c8375c2f883a11192b13948ffbe7d15742ff2746c5
|
|
| MD5 |
441b07393a7fb85571940e422df85c96
|
|
| BLAKE2b-256 |
9448e77dfd8e2eea35ceaf2e9fcbe3406aaf68a1d781dc4a4b9d37714f25ca21
|
File details
Details for the file hazard_feed-0.2.5-py3-none-any.whl.
File metadata
- Download URL: hazard_feed-0.2.5-py3-none-any.whl
- Upload date:
- Size: 202.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.6.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3156100ef42a45351305c4307ef25843ff12c82fa54cdb473d158433b3ce84a
|
|
| MD5 |
20dff4fcf21578b9cdf338a8d72ebc26
|
|
| BLAKE2b-256 |
85b26804194f5dbbf6a4849fdcacb2783e54e490cc5bdefc7db8b0e4d06e1759
|