{ "info": { "author": "Micha\u0142 \u0141ab\u0119dzki", "author_email": "michal.tomasz.labedzki@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Customer Service", "Intended Audience :: Developers", "License :: Freely Distributable", "License :: OSI Approved", "License :: Public Domain", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: Jython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "==============\nnf\n==============\n\n.. image:: https://travis-ci.org/NIC-MichalLabedzki/nf.svg?branch=master\n :target: https://travis-ci.org/NIC-MichalLabedzki/nf\n\n.. image:: https://badge.fury.io/py/nf.svg\n :target: https://badge.fury.io/py/nf\n\n.. image:: https://img.shields.io/pypi/v/nf\n\n.. image:: https://img.shields.io/pypi/pyversions/nf.svg\n :target: https://pypi.python.org/pypi/nf\n\n.. image:: https://img.shields.io/pypi/implementation/nf\n\n.. image:: https://img.shields.io/github/repo-size/NIC-MichalLabedzki/nf\n\n.. image:: https://img.shields.io/github/languages/code-size/NIC-MichalLabedzki/nf\n\n.. image:: https://img.shields.io/github/downloads/NIC-MichalLabedzki/nf/total\n\n.. image:: https://img.shields.io/pypi/l/nf\n\n.. image:: https://img.shields.io/coveralls/github/NIC-MichalLabedzki/nf\n\n.. image:: https://img.shields.io/github/commits-since/NIC-MichalLabedzki/nf/v1.1.1\n\nIN SHORT\n--------\n\n``nf`` is a tool to make notification for user that its command finish work. For example \"make\" program that takes long time to finish.\n\nSPDX-License-Identifier: 0BSD\n\nProject name: jsonfromschema\nLicense: 0BSD / Free Public License 1.0.0\nMore information about license: https://opensource.org/licenses/0BSD\n\nSCREENSHOTS\n-----------\n\n1. Screenshot from KDE:\n\n.. image:: https://raw.githubusercontent.com/NIC-MichalLabedzki/nf/v1.1.1/images/screenshot_1_kde.png\n :target: https://raw.githubusercontent.com/NIC-MichalLabedzki/nf/v1.1.1/images/screenshot_1_kde.png\n :alt: Screenshot from KDE\n :width: 200\n\n2. Screenshot from KDE:\n\n.. image:: https://raw.githubusercontent.com/NIC-MichalLabedzki/nf/v1.1.1/images/screenshot_2_kde.png\n :target: https://raw.githubusercontent.com/NIC-MichalLabedzki/nf/v1.1.1/images/screenshot_2_kde.png\n :alt: Screenshot from KDE\n :width: 200\n\n3. Screenshot from KDE:\n\n.. image:: https://raw.githubusercontent.com/NIC-MichalLabedzki/nf/v1.1.1/images/screenshot_3_kde.png\n :target: https://raw.githubusercontent.com/NIC-MichalLabedzki/nf/v1.1.1/images/screenshot_3_kde.png\n :alt: Screenshot from KDE\n :width: 200\n\n4. Screenshot from Android:\n\n.. image:: https://raw.githubusercontent.com/NIC-MichalLabedzki/nf/v1.1.1/images/screenshot_4_android.png\n :target: https://raw.githubusercontent.com/NIC-MichalLabedzki/nf/v1.1.1/images/screenshot_4_android.png\n :alt: Screenshot from Android\n :width: 200\n\nNON-INSTALL\n-----------\n\n.. code-block:: bash\n\n git clone git@github.com:NIC-MichalLabedzki/nf.git\n\nYou can run it from sources without any dependancies* (python and some modules delivered with it)\n\n.. code-block:: bash\n\n python ./nf.py\n\nSee:\n\n.. code-block:: bash\n\n python ./nf.py --help\n\nSee CLI section for more details.\n\n\nINSTALLATION\n------------\n\n.. code-block:: bash\n\n pip install nf\n\nor\n\n.. code-block:: bash\n\n pip install -e git@github.com:NIC-MichalLabedzki/nf.git\n\nor\n\n.. code-block:: bash\n\n pip install -e https://github.com/NIC-MichalLabedzki/nf.git\n\nor\n\n.. code-block:: bash\n\n git clone git@github.com:NIC-MichalLabedzki/nf.git\n cd nf\n python setup.py # or pip install -e .\n\n\nINTERFACE\n---------\n\nThere are one kind of interfaces: ``CLI``.\n\nIf you think there is a need to have ``lib``/``module`` to please let me know why.\nMaybe there is a reason.\n\nCLI\n~~~\n\nCLI is Command Line Interface. So you have tool called: nf\n\n.. code-block:: bash\n\n $ python nf.py --help\n usage: nf.py [-h] [-l LABEL] [-p] [-n] cmd ...\n\n Simple command line tool to make notification after target program finished work\n\n positional arguments:\n cmd\n args\n\n optional arguments:\n -h, --help show this help message and exit\n -l LABEL, --label LABEL\n Add humn readable text to custom job identification\n -p, --print Print notification text in stdout too\n -n, --no-notify Do not do annoying notifications\n -s, --save Save/append command and stat to .nf file\n -b {dbus,notify-send,termux-notification,win10toast,stdout}, --backend {dbus,notify-send,termux-notification,win10toast,stdout}\n Notification backend\n -d, --debug More print debugging\n\n\n\n Examples:\n nf make\n nf ls\n nf ls not_exist_file\n nf sleep 2\n nf -l sleeping sleep 2\n nf -l `tty` ls\n nf \"ls | grep .py\"\n\n \"/home/nf/src/nf$ nf.py -p ls\n LICENSE nf.py pytest.ini README README.dev requirements-dev.txt setup.cfg setup.py tox.ini\n -----------------------------------------------------------\n \"/home/nf/src/nf$ ls\" finished work.\n\n Start time: 17:32.50\n End time: 17:32.50\n Elapsed time: 00:00.00\n -----------------------------------------------------------\n\nLIMITATIONS\n-----------\n1. Work with Jython: it does not have dbus module, fallback to command line.\n2. Observed in KDE: notification with the same body (text) can be dropped. To avoid that I add timestamp text to make nofitications unique.\n\nFEATURES\n--------\n1. Support Android notification by termux-notifications (of course by `termux`)\n2. Support dbus by python module or fallback to `notify-send` (part of `libnotify` 0.7.7 or 0.7.8)\n3. Option to print notification on stdout.\n4. Option to save full command line and stat to file into working directory.\n5. Support whole python implementations/versions (at least not crash and print on stdout)\n\nTODO\n----\n1. Test Windows support\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/NIC-MichalLabedzki/nf", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "nf", "package_url": "https://pypi.org/project/nf/", "platform": "", "project_url": "https://pypi.org/project/nf/", "project_urls": { "Homepage": "https://github.com/NIC-MichalLabedzki/nf" }, "release_url": "https://pypi.org/project/nf/1.1.1/", "requires_dist": [ "setuptools", "win10toast ; platform_system == \"Windows\"" ], "requires_python": "", "summary": "Simple command line tool to make notification after target program finished work", "version": "1.1.1" }, "last_serial": 5967244, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "ade3f19107936e8875668be74f1a3c2d", "sha256": "18376d212c9d9d9063583e049f83349668258d9cf0dedc611c1d23e455176a27" }, "downloads": -1, "filename": "nf-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ade3f19107936e8875668be74f1a3c2d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4307, "upload_time": "2019-09-14T12:15:11", "url": "https://files.pythonhosted.org/packages/37/86/84e264c9a9cf0816e561dce1fa73ebf6149edf6d53a1720007a7fcd885b0/nf-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6e5a389867b7c3e0e1f2be848e1a49c8", "sha256": "2f215b8523a231769db7d1c8f2cb860b7b421e7825d47627757b5eef8344ee01" }, "downloads": -1, "filename": "nf-1.0.0.tar.gz", "has_sig": false, "md5_digest": "6e5a389867b7c3e0e1f2be848e1a49c8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6041, "upload_time": "2019-09-14T12:15:15", "url": "https://files.pythonhosted.org/packages/9d/3b/a40a5be071a4653e596a5d3725f734c73f35f8d6b852f58ac2d6361ce04a/nf-1.0.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "d325b854124158598cff6244c4a90a04", "sha256": "1a5b799a9d3e7a0056d55e75fb7865fd6dab8dada8a60c8e7f9be5351bc4d788" }, "downloads": -1, "filename": "nf-1.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "d325b854124158598cff6244c4a90a04", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 6024, "upload_time": "2019-09-15T12:00:18", "url": "https://files.pythonhosted.org/packages/77/16/ce8fa289d09f54f9c7ea4e4033a881dd0ad0cc07facf17e3aa0bc72db579/nf-1.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c54108ed9a666acc49b1addff8b5ad50", "sha256": "b25056ff1674732fb5d72009783cbc30ef9d1563ee8b271f24a0e5d68838043f" }, "downloads": -1, "filename": "nf-1.0.1.tar.gz", "has_sig": false, "md5_digest": "c54108ed9a666acc49b1addff8b5ad50", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6070, "upload_time": "2019-09-15T12:00:20", "url": "https://files.pythonhosted.org/packages/ac/d2/d959d74f687d7ef5d291165becc41262c81aee5ec2fa72c58ed5f27a75a0/nf-1.0.1.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "90c825044cb9d7d2c067209520c38805", "sha256": "b25fcba2b7d5f2da2771785c83181d4040b84db34868c5bed2d26b54f11ddde9" }, "downloads": -1, "filename": "nf-1.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "90c825044cb9d7d2c067209520c38805", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7157, "upload_time": "2019-10-09T16:34:43", "url": "https://files.pythonhosted.org/packages/e2/cb/2bc93eeb05bb9bee9bc8820277e0fc1b1475ce8253a7e0373a88be86512c/nf-1.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "977d5444849c0353cfcfde649189d236", "sha256": "4651c508c59cf218ef56b84f557a49d92795ab509706da733006fa8a6c7efcbf" }, "downloads": -1, "filename": "nf-1.1.0.tar.gz", "has_sig": false, "md5_digest": "977d5444849c0353cfcfde649189d236", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 291007, "upload_time": "2019-10-09T16:34:46", "url": "https://files.pythonhosted.org/packages/e9/1a/5d63c99559fb0ccef1132d6335003c1bdfa4217ba502b7c2dde28a9825f0/nf-1.1.0.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "fb71f8988ba6ac6fe82f62bd176f1a6d", "sha256": "8f224d696d6955786db3fe9b344241202a5e1580f2e9bb966ff83e16f30da5ef" }, "downloads": -1, "filename": "nf-1.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "fb71f8988ba6ac6fe82f62bd176f1a6d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7814, "upload_time": "2019-10-13T12:17:32", "url": "https://files.pythonhosted.org/packages/81/0c/0a9cd8864a30166a7a04d3151c8e80d7e588cf584f13d0e5fd06e566eb2c/nf-1.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "efd9cc211de38b7dc2b252e1cacda96a", "sha256": "6cf79a736f0ce4b177abd9c9b7504b171edc827f5ad3de6fa016852fa303d351" }, "downloads": -1, "filename": "nf-1.1.1.tar.gz", "has_sig": false, "md5_digest": "efd9cc211de38b7dc2b252e1cacda96a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 291920, "upload_time": "2019-10-13T12:17:34", "url": "https://files.pythonhosted.org/packages/17/37/b78a8a1b7c60610adf0457381980d43114013ed756e8950a7b7020de5f77/nf-1.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fb71f8988ba6ac6fe82f62bd176f1a6d", "sha256": "8f224d696d6955786db3fe9b344241202a5e1580f2e9bb966ff83e16f30da5ef" }, "downloads": -1, "filename": "nf-1.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "fb71f8988ba6ac6fe82f62bd176f1a6d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7814, "upload_time": "2019-10-13T12:17:32", "url": "https://files.pythonhosted.org/packages/81/0c/0a9cd8864a30166a7a04d3151c8e80d7e588cf584f13d0e5fd06e566eb2c/nf-1.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "efd9cc211de38b7dc2b252e1cacda96a", "sha256": "6cf79a736f0ce4b177abd9c9b7504b171edc827f5ad3de6fa016852fa303d351" }, "downloads": -1, "filename": "nf-1.1.1.tar.gz", "has_sig": false, "md5_digest": "efd9cc211de38b7dc2b252e1cacda96a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 291920, "upload_time": "2019-10-13T12:17:34", "url": "https://files.pythonhosted.org/packages/17/37/b78a8a1b7c60610adf0457381980d43114013ed756e8950a7b7020de5f77/nf-1.1.1.tar.gz" } ] }