Skip to main content

Feed2Json

Convert RSS feed to JSON Feed

Installation

pip install feed2json

Usage

from feed2json import feed2json
# ----------- 
feed_url = "https://versun.me/feed"
json_feed:dict = feed2json(feed_url)
# ----------- 
feed_html = '''
   <?xml version="1.0" encoding="utf-8"?>
   <feed xmlns="http://www.w3.org/2005/Atom">

     <title>Example Feed</title>
     <link href="http://example.org/"/>
     <updated>2003-12-13T18:30:02Z</updated>
     <author>
       <name>John Doe</name>
     </author>
     <id>urn:uuid:60a76c80-d399-11d9-b93C-0003939e0af6</id>

     <entry>
       <title>Atom-Powered Robots Run Amok</title>
       <link href="http://example.org/2003/12/13/atom03"/>
       <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
       <updated>2003-12-13T18:30:02Z</updated>
       <summary>Some text.</summary>
     </entry>

   </feed>
'''
json_feed:dict = feed2json(feed_html)
# ----------- 
feed_xml_file = 'example_feed.xml'
json_feed:dict = feed2json(feed_xml_file)

Metadata

Release files for feed2json 2025.7.15

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

Source distribution (sdist)

Source distribution for feed2json 2025.7.15
File Size Uploaded
feed2json-2025.7.15.tar.gz 8.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for feed2json 2025.7.15
File Interpreter ABI Platform
feed2json-2025.7.15-py3-none-any.whl Python 3 none any Details

Total release size: 20.9 kB

Release files / feed2json-2025.7.15.tar.gz

Download URL feed2json-2025.7.15.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1d9a9f869c3526ed9ea3c7e498d3fe8cb7b202a3768024287aaabec13c9de3d0
BLAKE2b-256 checksum
How to use checksums
b6cfe6cd7061722dd1c5032c30a27cdd37ee822100a26c28e749aff4d94a8961
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.23

Release files / feed2json-2025.7.15-py3-none-any.whl

Download URL feed2json-2025.7.15-py3-none-any.whl
Size 12.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2f125751feda4c80aa6fc88261a7c960ba7b5329efe1aa2265f91a923ba04238
BLAKE2b-256 checksum
How to use checksums
75d4b955b32db8b7008d83d9aa8364fbdf98da8b23d6213a87ee27d7443a5a61
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.9.23

Release history Release notifications | RSS feed

This release

2025.7.15 This release

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