Skip to main content

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

  1. 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', ]

  2. 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

  3. Define in settings.py WEATHER_EMAIL_FROM

  4. Add "corsheaders' settings to your settings.py

    CORS_ORIGIN_ALLOW_ALL = True

  5. Define django_rq settings

  6. Start rqworker and rqscheduler

  7. For websocket works add channels redis and configure it as channels documentation

  8. Run python manage.py migrate to create the azard_feed models.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hazard-feed-0.2.5.tar.gz (188.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hazard_feed-0.2.5-py3-none-any.whl (202.1 kB view details)

Uploaded Python 3

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

Hashes for hazard-feed-0.2.5.tar.gz
Algorithm Hash digest
SHA256 cce639ad289c0560c3edf1c8375c2f883a11192b13948ffbe7d15742ff2746c5
MD5 441b07393a7fb85571940e422df85c96
BLAKE2b-256 9448e77dfd8e2eea35ceaf2e9fcbe3406aaf68a1d781dc4a4b9d37714f25ca21

See more details on using hashes here.

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

Hashes for hazard_feed-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e3156100ef42a45351305c4307ef25843ff12c82fa54cdb473d158433b3ce84a
MD5 20dff4fcf21578b9cdf338a8d72ebc26
BLAKE2b-256 85b26804194f5dbbf6a4849fdcacb2783e54e490cc5bdefc7db8b0e4d06e1759

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page