Skip to main content

UglyPy - A Python package for retrieving, aggregating, and processing RSS feeds.

Project description

UglyPy

UglyPy is a Python package designed for retrieving, aggregating, and processing RSS feeds. It helps you fetch articles from multiple RSS sources, filter them based on age, group similar articles, rewrite content using various APIs, and generate a unified RSS feed.

Table of Contents

Description

UglyPy simplifies the process of consolidating information from various RSS feeds by providing:

  • Fetching and parsing articles from multiple RSS feeds.
  • Filtering articles based on their age.
  • Grouping similar articles using advanced text similarity measures.
  • Optionally rewriting content using APIs from OpenAI, Groq, or Ollama.
  • Generating and deploying a consolidated RSS feed.

Features

  • RSS Fetching: Retrieve articles from multiple RSS sources.
  • Filtering: Remove articles older than a specified number of days.
  • Aggregation: Group similar articles together.
  • Content Rewriting: Use APIs to rewrite and enhance content (coming soon).
  • RSS Feed Generation: Create a combined RSS feed from aggregated articles.
  • Deployment: Deploy the RSS feed to GitHub or GitLab (optional).

Warning

This is alpha package, soon I'll port all features of the UglyFeed project :)

Installation

You can install UglyPy directly from PyPI:

pip install uglypy

Alternatively, you can clone the repository and install it locally:

git clone https://github.com/fabriziosalmi/UglyFeed.git
cd UglyPy
python setup.py install

Usage

Once installed, uglypy can be used via the command line.

Basic Usage

To fetch and process articles from RSS feeds:

uglypy --rss_feeds <RSS_FEED_URL_1> <RSS_FEED_URL_2> ... --config path/to/config.yaml --skip_rewriting

or cli args:

uglypy --rss_feeds <RSS_FEED_URL> --max_age_days 15 --output_path /path/to/output/uglyfeed.xml --skip_rewriting

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

uglypy-0.0.1.tar.gz (28.2 kB view details)

Uploaded Source

Built Distribution

uglypy-0.0.1-py3-none-any.whl (29.6 kB view details)

Uploaded Python 3

File details

Details for the file uglypy-0.0.1.tar.gz.

File metadata

  • Download URL: uglypy-0.0.1.tar.gz
  • Upload date:
  • Size: 28.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.12

File hashes

Hashes for uglypy-0.0.1.tar.gz
Algorithm Hash digest
SHA256 7dc5c077e10f2ae2297a50bd40eb1690dbb88b0b19fee351608ed6e797caa54a
MD5 738c58bfc5e8360657e4d52a68ea6f6f
BLAKE2b-256 d7d4c389e3835d2219977511683258ba1e4fee10e44987ffded4a899e0fb1501

See more details on using hashes here.

File details

Details for the file uglypy-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: uglypy-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 29.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.12

File hashes

Hashes for uglypy-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 298222d713393bd3541c7e57b87a7664094e3ce732efaf9959dd9b22bb2ac8af
MD5 1f031e65a6a73d4ed2e4740f26ff1040
BLAKE2b-256 10f79a4e4da098dab161f88542346e63237cc5dc08f60bf7aed27fe1f67c3e73

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page