Skip to main content

This library intends to support JSON Feed in Django and feedgenerator.

Django JSONFeed

Usage

If you are using Django:

from django.contrib.syndication.views import Feed
from jsonfeed import JSONFeed

class ExampleFeed(Feed):
    type = JSONFeed

If you are using this library without Django, you will first need to install the feedgenerator Python package:

from jsonfeed import JSONFeed

feed = JSONFeed(
    title='Hello, World!',
    link='https://example.com/',
    language='en'
)

feed.add_item(
    title='One',
    link='https://example.com/1/',
    pubdate=datetime(2018, 2, 28, 15, 16)
)

return feed.writeString()

Installation

$ pip install django-jsonfeed

Release files for django-jsonfeed 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-jsonfeed 0.4.0
File Size Uploaded
django-jsonfeed-0.4.0.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-jsonfeed 0.4.0
File Interpreter ABI Platform
django_jsonfeed-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.4 kB

Release files / django-jsonfeed-0.4.0.tar.gz

Download URL django-jsonfeed-0.4.0.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
e867b4cee4d26390798f5a0689f9cb9b437887e1180c167ef035ff52def957de
BLAKE2b-256 checksum
How to use checksums
8abbbfc5274c8e7faf8fd0f2298cb654b132f5d09099e3b7081cc87e7c92c9e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.9.13 Darwin/21.5.0

Release files / django_jsonfeed-0.4.0-py3-none-any.whl

Download URL django_jsonfeed-0.4.0-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b0297cef0a23192bb135ae7b39bb12ab7233c419f62b39e54cb592baa598b427
BLAKE2b-256 checksum
How to use checksums
51de449d509fa77c3ea1cbe8486688a32bef78afbb365f3efb24991493c3899d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.9.13 Darwin/21.5.0

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page