Skip to main content

Simple RSS reader/parser

Project description

simple_rss_reader

As an happy customer of Alfred 4 APP, i was in a need for simplest RSS parser. I decided to write the simplest one for my needs.

Then i said to myself, why not to make it open source as a package for anyone who need it. Although its 2022, and XML should be an no more then (not so great) history, i know that if i need it, i can only assume i am not the only one.

Feel free to use, fork, and learn (although it is as minimal and simple as possible)

INSTALL

run:

pip install  yet-another-simple-rss-parser

Usage


from simple_rss_reader.reader import SimpleRssReader


r = SimpleRssReader(url) # url of source or xml string

# load as dict
v = r.to_dict()

#  get as json
v = r.to_json()

# get list of items (without header)
v = r.get_tiems()

The package homepage in pypi: https://www.pypi.org/project/yet-another-simple-rss-parser/ Source code is hosted in github: https://github.com/barakbl/simple_rss_reader

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

yet_another_simple_rss_parser-0.0.5.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file yet_another_simple_rss_parser-0.0.5.tar.gz.

File metadata

File hashes

Hashes for yet_another_simple_rss_parser-0.0.5.tar.gz
Algorithm Hash digest
SHA256 b3e77893aaaf19aa5d7f66f1f89e0d2e4f11e8d4e1cc8c483499b8f6edd173cd
MD5 c585d891cabc679b76b4c72fb58e0fd7
BLAKE2b-256 44a7abbc9ffec87467fc975725ccaebe8f67b7dc7eabccbe113d37d486acd95c

See more details on using hashes here.

File details

Details for the file yet_another_simple_rss_parser-0.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for yet_another_simple_rss_parser-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 9570630b8650da6c5269c6c8a1c13a2fec305f900f291432f9dbdb2db76c3d03
MD5 f6e4553959fb412838fa6aebf326b56f
BLAKE2b-256 7ba18763fbf18446ec9d6d321157f9a5c052f4968647a141a090f3e10b40a214

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