rssnotify


Namerssnotify JSON
Version 0.1.1 PyPI version JSON
download
home_page
SummarySimple RSS notify utility.
upload_time2023-03-29 22:13:03
maintainer
docs_urlNone
author
requires_python>=3.10
license
keywords rss notify
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            rssnotify
=========

``rssnotify`` is a simple rss feed parser that will execute arbitrary command when specific news are found.

Installation
============

.. code-block:: console

    $ pip install rssnotify

How To use rssnotify
====================
rssnotify use parameters from environment variables, create .env file and run rssnotify from the same directory:

.. code-block:: shell

    URLS=["https://www.kucoin.com/rss/news?lang=en"]
    KEYWORDS=["DELIST"]
    SINCE_HOURS=1
    COMMAND=["notify-send", "-t", "30000", "-u", "critical", "$TITLE", "$LINK"]

after than, you can run rssnotify in a cron job:

.. code-block:: shell

    13 * * * * bash -c "cd $HOME/.config/rssnotify ; XDG_RUNTIME_DIR=/run/user/$(id -u) rss-notify"

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "rssnotify",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "",
    "keywords": "rss,notify",
    "author": "",
    "author_email": "jamazi <jamazi@tutanota.com>",
    "download_url": "",
    "platform": null,
    "description": "rssnotify\n=========\n\n``rssnotify`` is a simple rss feed parser that will execute arbitrary command when specific news are found.\n\nInstallation\n============\n\n.. code-block:: console\n\n    $ pip install rssnotify\n\nHow To use rssnotify\n====================\nrssnotify use parameters from environment variables, create .env file and run rssnotify from the same directory:\n\n.. code-block:: shell\n\n    URLS=[\"https://www.kucoin.com/rss/news?lang=en\"]\n    KEYWORDS=[\"DELIST\"]\n    SINCE_HOURS=1\n    COMMAND=[\"notify-send\", \"-t\", \"30000\", \"-u\", \"critical\", \"$TITLE\", \"$LINK\"]\n\nafter than, you can run rssnotify in a cron job:\n\n.. code-block:: shell\n\n    13 * * * * bash -c \"cd $HOME/.config/rssnotify ; XDG_RUNTIME_DIR=/run/user/$(id -u) rss-notify\"\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Simple RSS notify utility.",
    "version": "0.1.1",
    "split_keywords": [
        "rss",
        "notify"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "29d5bd6c098ba196d58f1f8f4226e979f949010e45660436be096d9ada3056a8",
                "md5": "c9e807f544c11e0f8ca38b22444015a1",
                "sha256": "b9e98dca941223722060467773d823f520e831b0bba6d9f4fa372b14ffbc7cdc"
            },
            "downloads": -1,
            "filename": "rssnotify-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "c9e807f544c11e0f8ca38b22444015a1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 3406,
            "upload_time": "2023-03-29T22:13:03",
            "upload_time_iso_8601": "2023-03-29T22:13:03.726683Z",
            "url": "https://files.pythonhosted.org/packages/29/d5/bd6c098ba196d58f1f8f4226e979f949010e45660436be096d9ada3056a8/rssnotify-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-03-29 22:13:03",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "rssnotify"
}
        
Elapsed time: 0.04903s