{ "info": { "author": "Tudor Roman", "author_email": "tudurom@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: ISC License (ISCL)", "Operating System :: POSIX", "Programming Language :: Python :: 3", "Topic :: Desktop Environment" ], "description": "# `pynotifyd`\n\nSimple freedesktop notification daemon.\n\n## Installation\n\n```shell\npip install pynotifyd\n```\n\n## Usage\n\n`pynotifyd` outputs JSON-formatted notification events at the standard output\nand debug information at `stderr`. Each notification is on exactly one line to\nmake it easier to be collected by shell scripts.\n\n## Event types:\n\n### `notify` - Notification has been emitted\n\n```json\n{\n \"action\": \"notify\",\n \"notification\": {\n \"id\": 3,\n \"app_name\": \"KDE Connect\",\n \"app_icon\": \"kdeconnect\",\n \"summary\": \"WhatsApp\",\n \"body\": \"Tudor: Hi!\",\n \"urgency\": 2\n }\n}\n```\n\n### `delete` - Notification has been dismissed or expired\n\n```json\n{\n \"action\": \"delete\",\n \"id\": 1\n}\n```\n\n## Example usage\n\nRequires [jq](https://stedolan.github.io/jq/).\n\n```bash\n#!/bin/sh\n\npynotifyd 2>/dev/null | while read -r line; do\n action=\"$(echo \"$line\" | jq -r .action)\"\n case \"$action\" in\n notify)\n app_name=\"$(echo \"$line\" | jq -r .notification.app_name)\"\n echo \"New notification from $app_name!\"\n ;;\n esac\ndone\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ricede/pynotifyd", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "pynotifyd", "package_url": "https://pypi.org/project/pynotifyd/", "platform": "", "project_url": "https://pypi.org/project/pynotifyd/", "project_urls": { "Homepage": "https://github.com/ricede/pynotifyd" }, "release_url": "https://pypi.org/project/pynotifyd/0.0.2/", "requires_dist": [ "PyGObject", "dbus-python" ], "requires_python": ">=3.5", "summary": "Simple notification server", "version": "0.0.2" }, "last_serial": 4048356, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "699dd0a0b2285679fb01ef059b055551", "sha256": "cb2e1a5bdb6a95455d352a457f2743f47a0a8193576a7eaacd9e184f4e7526f2" }, "downloads": -1, "filename": "pynotifyd-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "699dd0a0b2285679fb01ef059b055551", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8128, "upload_time": "2018-07-10T19:29:36", "url": "https://files.pythonhosted.org/packages/4c/9f/79699fecd5f7b879c266849b37360be6a03c4c7cfef32515285922610a8b/pynotifyd-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "195f7a7dad33b299cdd747fa43d011e3", "sha256": "9e2160b61d4d205606a090a4ccd33463d5984b20ec5d812a776ddf039122491b" }, "downloads": -1, "filename": "pynotifyd-0.0.1.tar.gz", "has_sig": false, "md5_digest": "195f7a7dad33b299cdd747fa43d011e3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3128, "upload_time": "2018-07-10T19:29:37", "url": "https://files.pythonhosted.org/packages/d6/c4/730856c11335b65286c4b4d22b48a42094a66c472512220dcccdcf904dbd/pynotifyd-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "d319db1adc8b3acb60e6d9cbbfaeecc7", "sha256": "3e23f58a8e6802c779c215a85fd9492438ea51deaf3ebb643a8b9bdc349ed8a3" }, "downloads": -1, "filename": "pynotifyd-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "d319db1adc8b3acb60e6d9cbbfaeecc7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 8169, "upload_time": "2018-07-10T19:46:18", "url": "https://files.pythonhosted.org/packages/64/9f/3d7033c207778a68e1bc308e951b0b4d9d4118431f5d8fa968bb1e6cdccb/pynotifyd-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "65c08468c85e881dba948114f0fdb921", "sha256": "e949a1467220f355dc4da73f366eb22a5a36d76f26dfa02848a934087789913b" }, "downloads": -1, "filename": "pynotifyd-0.0.2.tar.gz", "has_sig": false, "md5_digest": "65c08468c85e881dba948114f0fdb921", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 3201, "upload_time": "2018-07-10T19:46:19", "url": "https://files.pythonhosted.org/packages/88/80/fb0900883ac6f108b353caf12ac5fd7e570de2bc6e909065d7aa756bd8e8/pynotifyd-0.0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d319db1adc8b3acb60e6d9cbbfaeecc7", "sha256": "3e23f58a8e6802c779c215a85fd9492438ea51deaf3ebb643a8b9bdc349ed8a3" }, "downloads": -1, "filename": "pynotifyd-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "d319db1adc8b3acb60e6d9cbbfaeecc7", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 8169, "upload_time": "2018-07-10T19:46:18", "url": "https://files.pythonhosted.org/packages/64/9f/3d7033c207778a68e1bc308e951b0b4d9d4118431f5d8fa968bb1e6cdccb/pynotifyd-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "65c08468c85e881dba948114f0fdb921", "sha256": "e949a1467220f355dc4da73f366eb22a5a36d76f26dfa02848a934087789913b" }, "downloads": -1, "filename": "pynotifyd-0.0.2.tar.gz", "has_sig": false, "md5_digest": "65c08468c85e881dba948114f0fdb921", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 3201, "upload_time": "2018-07-10T19:46:19", "url": "https://files.pythonhosted.org/packages/88/80/fb0900883ac6f108b353caf12ac5fd7e570de2bc6e909065d7aa756bd8e8/pynotifyd-0.0.2.tar.gz" } ] }