{ "info": { "author": "Alexander Jahn", "author_email": "jahn.alexander@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Utilities" ], "description": "# dronedesktopnotifier\n\n`dronedesktopnotifier` is a Python library to get notifications from a drone.io-server on your desktop, it filters for names and can be used to only notify in command line or with balloon notifications (windows and mac supported).\n\n## Installation\n\nUse the package manager [pip](https://pip.pypa.io/en/stable/) to install dronedesktopnotifier.\n\n```bash\npip install dronedesktopnotifier\n```\n\n- For mac and balloon notifications, install `terminal-notifier`\n\n```bash\nbrew install terminal-notifier\n```\n\n## Usage\n\n- Format\n\n```bash\npython -m dronedesktopnotifier https://drone..com/api --names \n```\n\n- Example\n\n```bash\npython -m dronedesktopnotifier https://drone.mycompany.io/api jsgjijgjgojJGJISGJSGOSG.jtkjfjafkGSJGJOSGJOJSOGI.jksgoafjHGJAJGJKAGJ --names AlxndrJhn\n```\n\n### Arguments\n\n- `url` this is the base url of the api of your `drone.ai` system, something like `https://drone.mycompany.io/api`, it will get all active repositories automatically\n\n- `drone-api-token` is your personal token from your `drone.io` system. You can find it at something like `https://drone.mycompany.io/account/token`\n\n### Optional parameters\n\n- `-n` or `--names`\nlist of space separated names (your GitHub name for example) that should trigger the notification, if not given, all builds will trigger the alarm.\n\n- `-d` or `--delay`\ndelay in seconds (integer) between `drone.ai` api request batches.\n\n- `--balloon/--no-balloon`\nin case you only want the terminal notification, the balloon is on by default.\n\n- `--terminal-unicode/--no-terminal-unicode`\nin case you only want the terminal notifications in ascii, unicode is used by default.\n\n- `--terminal-color/--no-terminal-color`\nin case you want colors in your terminal (requires `termcolor` package. Colors are on by default.\n\n## Output\n\n### The terminal output\n\n```bash\nFri 12:08:59 Checking 14 repositories for activity (last 30 days)\nFri 12:09:01 Active repositories found: ['mycompany/some-service', 'mycompany/some-ai', 'mycompany/labelstuff', 'mycompany/inspect_stuff', 'mycompany/cnn-stuff']\nFri 12:09:02 got information for 250 builds from https://drone.mycompany.io/api, 48 are related to ['AlxndrJhn']\nFri 12:09:02 \ud83d\udd04 `running` https://drone.mycompany.io/company/some-service/2506 `My pull request title` https://github.com/company/some-service/pull/23 (AlxndrJhn)\n```\n\nThere is one start-up message, it might be an error or as shown above, a success message.\nIf some build is pending or running, it will output it immediatly.\n\n### The balloon output\n\n1. For windows, it appears in to bottom right corner.\n![popup example windows](https://raw.githubusercontent.com/AlxndrJhn/drone-desktop-notifier/master/docs/popup.PNG)\n\n2. For mac, it appears in the top left corner, clicking it opens the default webbrowser to the build log directly.\n\n## Known issues\n\nnone yet\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n## License\n\n[GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html)", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/AlxndrJhn/drone-desktop-notifier/archive/0.4.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/AlxndrJhn/drone-desktop-notifier", "keywords": "drone.io,notification,drone,notifier", "license": "GNU GPLv3", "maintainer": "", "maintainer_email": "", "name": "dronedesktopnotifier", "package_url": "https://pypi.org/project/dronedesktopnotifier/", "platform": "", "project_url": "https://pypi.org/project/dronedesktopnotifier/", "project_urls": { "Download": "https://github.com/AlxndrJhn/drone-desktop-notifier/archive/0.4.tar.gz", "Homepage": "https://github.com/AlxndrJhn/drone-desktop-notifier" }, "release_url": "https://pypi.org/project/dronedesktopnotifier/0.4/", "requires_dist": null, "requires_python": "", "summary": "Get notified on your desktop when your drone.io build finishes.", "version": "0.4" }, "last_serial": 5664867, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "9925278e695ad4ae7ebb98de88ddfe60", "sha256": "7bbd5e1e364ef3074bf2250d35c81ea7d0d17cae8b4f788b8d3cf9667a84b942" }, "downloads": -1, "filename": "dronedesktopnotifier-0.1.tar.gz", "has_sig": false, "md5_digest": "9925278e695ad4ae7ebb98de88ddfe60", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5336, "upload_time": "2019-02-28T14:34:58", "url": "https://files.pythonhosted.org/packages/5d/22/886701b52016b197cf868852bd727140300dbbdab8346f6779d13a4de669/dronedesktopnotifier-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "5752b9ef3ad1841de527767a709b4c3a", "sha256": "945e7931464c9425362fe4247fa080b7706c0de354ad0109ee7486d8c87144aa" }, "downloads": -1, "filename": "dronedesktopnotifier-0.2.tar.gz", "has_sig": false, "md5_digest": "5752b9ef3ad1841de527767a709b4c3a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5839, "upload_time": "2019-07-05T10:12:36", "url": "https://files.pythonhosted.org/packages/55/9b/25639058c4e7352f9e24ba209e83aebc915bbe61cb109251b52d1a38aec6/dronedesktopnotifier-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "d1ccd4488ada8a362e094d76faa6107c", "sha256": "52056379dc9fda2974b1fae898d43bb659b130182e2da7951ddfb87795a25e38" }, "downloads": -1, "filename": "dronedesktopnotifier-0.3.tar.gz", "has_sig": false, "md5_digest": "d1ccd4488ada8a362e094d76faa6107c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5897, "upload_time": "2019-07-05T14:05:11", "url": "https://files.pythonhosted.org/packages/a6/74/cbf5c7322c25734260b585ba977fd2937750e73184f3a6f092595f8c3e81/dronedesktopnotifier-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "ec074c340122f74bfba6cedfc14ccac4", "sha256": "48c2d4d47cf5b344f3d078335c70a0de8ba21578a50eca514aea7e0e3ea0e705" }, "downloads": -1, "filename": "dronedesktopnotifier-0.4.tar.gz", "has_sig": false, "md5_digest": "ec074c340122f74bfba6cedfc14ccac4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5905, "upload_time": "2019-08-12T08:48:53", "url": "https://files.pythonhosted.org/packages/1a/4c/2c128841a434c3d2d4857fa47587c3caff5f97074d3e848c655fd7aa1e61/dronedesktopnotifier-0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ec074c340122f74bfba6cedfc14ccac4", "sha256": "48c2d4d47cf5b344f3d078335c70a0de8ba21578a50eca514aea7e0e3ea0e705" }, "downloads": -1, "filename": "dronedesktopnotifier-0.4.tar.gz", "has_sig": false, "md5_digest": "ec074c340122f74bfba6cedfc14ccac4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5905, "upload_time": "2019-08-12T08:48:53", "url": "https://files.pythonhosted.org/packages/1a/4c/2c128841a434c3d2d4857fa47587c3caff5f97074d3e848c655fd7aa1e61/dronedesktopnotifier-0.4.tar.gz" } ] }