Skip to main content

Universal RSS Parser.

extra features:

  • work with any rss and atom feed format.
  • smart cache
  • multiple rss support
  • parallel parser
  • parse rss podcast.

Installation

pip install kolak

Usage Example

from kolak import Parser

url = ""
rss = Parser(url)
items = rss.parse()
print("title:", rss.title)
print("description:", rss.description)
print("permalink:", rss.permalink)
print("updated:", rss.updated)
print("author:", rss.author)
print("-"*10)
for item in items:
	print("title:", item["title"])
	print("date:", item["date"])
	print("description:",item["description"])
	print("link:",item["link"])
	print("link_image", item["link_image"])
	print("link_podcast:",item["link_podcast"])
	print("-"*10) # line

multiple rss processing

url1 = ""
url2 = ""
rss1 = Parser(url1)
items1 = rss1.parse()
rss2 = Parser(url2)
items2 = rss2.parse()
items = items1+items2

also you can pass raw xml feed as url input in Parser().

parse option

rss.parse(limit=0, debug=False, parallel=False)

"""
limit: limitable items parse, 0 = nolimited

debug: activate debug mode. when no model is match, you will see what happened on kolak.log

parallel: use multiprocessing to parse items (experimental)
"""

Metadata

Release files for kolak 0.1.5

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

Source distribution (sdist)

Source distribution for kolak 0.1.5
File Size Uploaded Provenance
kolak-0.1.5.tar.gz 5.0 kB Without provenance Details

Release files / kolak-0.1.5.tar.gz

Download URL kolak-0.1.5.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
f5a0415ec0b28fffa37527cd3174fbf241809013288f0430e34c48485f48d508
BLAKE2b-256 checksum
How to use checksums
19c0ad81eb6651d706d76582015394c9e18740935143430f33705021721845f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.4

Security for kolak 0.1.5

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.

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