===== 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.
Metadata
Release files for hazard-feed 0.2.5
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 |
|---|---|---|---|---|
| hazard-feed-0.2.5.tar.gz | 188.3 kB | Without provenance | Details for hazard-feed-0.2.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| hazard_feed-0.2.5-py3-none-any.whl | Python 3 | none | any | Details for hazard_feed-0.2.5-py3-none-any.whl |
Total release size: 390.4 kB
Release files / hazard-feed-0.2.5.tar.gz
| Download URL | hazard-feed-0.2.5.tar.gz |
|---|---|
| Size | 188.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cce639ad289c0560c3edf1c8375c2f883a11192b13948ffbe7d15742ff2746c5
|
|
BLAKE2b-256 checksum How to use checksums |
9448e77dfd8e2eea35ceaf2e9fcbe3406aaf68a1d781dc4a4b9d37714f25ca21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / hazard_feed-0.2.5-py3-none-any.whl
| Download URL | hazard_feed-0.2.5-py3-none-any.whl |
|---|---|
| Size | 202.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e3156100ef42a45351305c4307ef25843ff12c82fa54cdb473d158433b3ce84a
|
|
BLAKE2b-256 checksum How to use checksums |
85b26804194f5dbbf6a4849fdcacb2783e54e490cc5bdefc7db8b0e4d06e1759
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for hazard-feed 0.2.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.