Skip to content
This repository has been archived by the owner on Jun 23, 2023. It is now read-only.

Simple script to get the daily headlines from Enable Sysadmin RSS feed

License

Notifications You must be signed in to change notification settings

josevnz/EnableSysadminRssReader

Repository files navigation

EnableSysadminRSSReader

NOTE

As of Jun 23 2023 this repository will be marked as read-only. Enable Sysadmin was disbanded by RedHat after a round of layoffs together with OpenSource.com. This code may not work at all in the future as the site is read only.

Description

This is a simple script to show the headlines from the RedHat Enable sysadmin website RSS feed.

Articles for the day

Author

Jose Vicente Nunez (kodegeek.com@protonmail.com)

Set your virtual environment

python3 -m venv ~/virtualenv/EnableSysadminRssReader/
. ~/virtualenv/EnableSysadminRssReader/bin/activate
python -m pip install --upgrade pip

Get the sources:

git clone git@github.com:josevnz/EnableSysadminRssReader.git
cd EnableSysadminRssReader

Rest of the commands explained on this file assume you have the virtual environment enabled.

Running in editable mode

pip install --editable .

Running unit tests

(EnableSysadminRssReader) [josevnz@dmaf5 EnableSysadminRssReader]$ python -m unittest tests/test_reader.py
..
----------------------------------------------------------------------
Ran 2 tests in 0.125s

OK

Building and installing the package

Using build:

python -m build 
pip install dist/EnableSysadminRssReader-*-py3-none-any.whl

If build is not installed (you will get a deprecation warning but it will work):

python setup.py bdist_wheel
pip install dist/EnableSysadminRssReader-*-py3-none-any.whl

Don't miss the tutorial that comes with the code

The Tutorial

About

Simple script to get the daily headlines from Enable Sysadmin RSS feed

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages