Skip to main content

Django backend only working with Feedparser

There are other feedparser apps for django tasks, but they have varied support levels. Hopefully this will be simple enough for maintainace to be simple.

The goal of this project is to have a simple Feed object that can be registered and a simple task to schedule scrapes.

Those that want to integrate should use Django post_save signal.

@reciever(post_save, Entry)
def entry_post_save(instance: Entry, **kwargs):
    # Feed was scraped and entry was either newly created, or updated

There is an optional helper that combines checks with automatically calling a task.

from django.tasks import task
from django_feedparser_low.decorators import feed_filter
from django_feedparser_low.models import Entry


@feed_filter(lambda entry: entry.feed.url == "https://example.com/index.xml")
@task
def process_entry(pk: str):
    # Only trigger this task, if the scraped Entry matches our filter
    entry: Entry = Entry.objects.get(pk=pk)

Download files

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

Source Distribution

django_feedparser_low-0.1.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

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

django_feedparser_low-0.1.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file django_feedparser_low-0.1.0.tar.gz.

File metadata

  • Download URL: django_feedparser_low-0.1.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for django_feedparser_low-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9fdb6bc224188938c65576a7f73b3bdf39f8d9e732e4225c236ecfd2657d8c81
MD5 a32711d04a3bba990aef5b958eefeafe
BLAKE2b-256 8359513543baeb70dbe36504ea3bfb6b7a3928ceb78786fd75f8e75cc711b8ef

See more details on using hashes here.

File details

Details for the file django_feedparser_low-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: django_feedparser_low-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for django_feedparser_low-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c2c78d41cb58cee770de7ce0ae4ff3a745e714f1d9f41c268ddc4d527c71ffb9
MD5 258ec3c81cfa6e9f4836be1230e79a8a
BLAKE2b-256 3e028a256d70d3946e59203bca75b7bea743df6f34eaf75b2812f84b52f9c713

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.1

2 files

This release

0.1.0 This release

2 files

Supported by

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