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)
Metadata
Release files for django-feedparser-low 0.1.1
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 |
|---|---|---|---|---|
| django_feedparser_low-0.1.1.tar.gz | 4.8 kB | Without provenance | Details for django_feedparser_low-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_feedparser_low-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for django_feedparser_low-0.1.1-py3-none-any.whl |
Total release size: 12.9 kB
Release files / django_feedparser_low-0.1.1.tar.gz
| Download URL | django_feedparser_low-0.1.1.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
106b04490ae6f0df37a64f1b61055f7fe602ab12e3750e38dd0ee586b0ff7b51
|
|
BLAKE2b-256 checksum How to use checksums |
17737635880e9fe797cb9a32a42751d7feec353cd3912a783252bc211388bb25
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / django_feedparser_low-0.1.1-py3-none-any.whl
| Download URL | django_feedparser_low-0.1.1-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5517fa11832a667bb3a615d64a5176d0c68bed0df8cee1678e790fa112c81c20
|
|
BLAKE2b-256 checksum How to use checksums |
bd7b3dd664ba2a7af5c2d81828d816e1463c75ab77d0a0f20b26baf064722680
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Security for django-feedparser-low 0.1.1
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.