{ "info": { "author": "Florian Charpentier", "author_email": "florian.charpentier@epita.fr", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Flask", "Intended Audience :: Developers", "License :: Freeware", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.6", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "WardenBot\n=========\n\n.. image:: http://dadard.fr:8080/api/badges/dadard/WardenBot/status.svg\n\t:target: http://dadard.fr:8080/api/badges/dadard/WardenBot/status.svg\n\n.. image:: https://badge.fury.io/py/WardenBot.svg\n :target: https://badge.fury.io/py/WardenBot\n\nThis is a goddamn bot\n\nWHY\n---\n\nIn Grafana, you have the option to bind an alert from your metrics data, to a Telegram Bot (see doc_).\n\n.. _doc: https://core.telegram.org/bots\n\nThis is convenient to be alerted via instant messaging (no delay, few of configuration needed...)\n\nHOW\n---\n\nBot examples are given here_.\n\n.. _here: https://github.com/python-telegram-bot/python-telegram-bot/tree/master/examples\n\nBy reading the official docs, you should have get a **Bot Token**. Store it in a secure way and retrieve it in your code (I personally store the bot token in an environment variable in a container)\n\nDont forget to install the ``python-telegram-bot`` package when copy/pasting examples :)\n\nWhen the code of your bot is ready, deploy it or launch it : ``python your_bot.py``. If dockerized, use ``docker run -d warden_bot``.\n\nIn Telegram Messaging App, you should be able to start a new group, and to add your bot in.\n\nThe last thing you need is the Chat ID of the group you just created. To retrieve it, checkout the Telegram Api :\n``https://api.telegram.org/bot{BOT_TOKEN}/getUpdates``\n\nIn case of troubles, see this post_.\n\n.. _post: https://stackoverflow.com/questions/32423837/telegram-bot-how-to-get-a-group-chat-id\n\nThen, just put the chat ID and the bot ID in your Grafana alert handler and test it.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://dadard.fr:3000", "keywords": "", "license": "WTFPL", "maintainer": "", "maintainer_email": "", "name": "WardenBot", "package_url": "https://pypi.org/project/WardenBot/", "platform": "", "project_url": "https://pypi.org/project/WardenBot/", "project_urls": { "Homepage": "https://dadard.fr:3000" }, "release_url": "https://pypi.org/project/WardenBot/0.62/", "requires_dist": null, "requires_python": "", "summary": "Bot only used for monitoring purpose", "version": "0.62" }, "last_serial": 5724349, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "6a3d069e2086115fb93501e3284fb7a3", "sha256": "a4b81778191767d4977e61b0d9bbd41898bb65d26004d91df228b3ee72776bb0" }, "downloads": -1, "filename": "WardenBot-0.1.tar.gz", "has_sig": false, "md5_digest": "6a3d069e2086115fb93501e3284fb7a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2965, "upload_time": "2019-08-21T20:30:19", "url": "https://files.pythonhosted.org/packages/96/94/53e3d3030fc66b318b76072a8f31342adfeac1af5770fa2f9d0db1b63c62/WardenBot-0.1.tar.gz" } ], "0.13": [ { "comment_text": "", "digests": { "md5": "03453b188a8e58448b694105c23c820e", "sha256": "a614db802bc70fc76783fd7fcc3709d59c2d5a066e9bdd99321075f14132a7a4" }, "downloads": -1, "filename": "WardenBot-0.13.tar.gz", "has_sig": false, "md5_digest": "03453b188a8e58448b694105c23c820e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3109, "upload_time": "2019-08-21T20:32:25", "url": "https://files.pythonhosted.org/packages/7b/f4/f212bd3fcfca216f61951bc761163f3d514f06f0bac9975ef2cc3cc5bc86/WardenBot-0.13.tar.gz" } ], "0.14": [ { "comment_text": "", "digests": { "md5": "842cfa0a676aebc2d3df3a1d5cb15a11", "sha256": "ff5f025c7a9c59bc507d21837a64eca68ef6b1d2ee6170f1e4150045167f7058" }, "downloads": -1, "filename": "WardenBot-0.14.tar.gz", "has_sig": false, "md5_digest": "842cfa0a676aebc2d3df3a1d5cb15a11", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3108, "upload_time": "2019-08-21T20:39:42", "url": "https://files.pythonhosted.org/packages/c3/6b/c28b46f495febc0d4bc0020f53673c604cec2fd8db64ed99c3da5db33177/WardenBot-0.14.tar.gz" } ], "0.15": [ { "comment_text": "", "digests": { "md5": "cd5019f6a9651f004755e4c814f6f43a", "sha256": "40ec200ec38425fd762b7815d175e004cb8f6505366b5a39d550c05d46c65125" }, "downloads": -1, "filename": "WardenBot-0.15.tar.gz", "has_sig": false, "md5_digest": "cd5019f6a9651f004755e4c814f6f43a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3101, "upload_time": "2019-08-21T20:48:41", "url": "https://files.pythonhosted.org/packages/ee/27/51559a949b253119bc4bc827ba037fb18461f2895cd1695a1fb377d8b5da/WardenBot-0.15.tar.gz" } ], "0.16": [ { "comment_text": "", "digests": { "md5": "1b09ba8b7f846daf13b628e981df11a7", "sha256": "caf1799ef6de88062ac868e8406334c8b58bd45407e6270a5eaea50431254a25" }, "downloads": -1, "filename": "WardenBot-0.16.tar.gz", "has_sig": false, "md5_digest": "1b09ba8b7f846daf13b628e981df11a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3102, "upload_time": "2019-08-21T20:52:17", "url": "https://files.pythonhosted.org/packages/b6/45/799da1ddd1f17f984b5ec1e1fe518abc0751ab588514b3d949ca74c8c0c6/WardenBot-0.16.tar.gz" } ], "0.17": [ { "comment_text": "", "digests": { "md5": "55302ccf60e08135323f447c4222d62a", "sha256": "731d2ec1f63ccd4db0894fc6d3f48ac030b093f54d01a04ba4fc6219fda8d0f8" }, "downloads": -1, "filename": "WardenBot-0.17.tar.gz", "has_sig": false, "md5_digest": "55302ccf60e08135323f447c4222d62a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3104, "upload_time": "2019-08-21T21:31:43", "url": "https://files.pythonhosted.org/packages/9e/0c/c2e4c393efe400045ef2253478d58df696267c0a05e3cb62704151a14fa7/WardenBot-0.17.tar.gz" } ], "0.18": [ { "comment_text": "", "digests": { "md5": "8bc3dc976f59ad2e4cd51beecc1498a9", "sha256": "cba826d867ae3be208b24f9d05498b41ebe7fa03358615d78ef69cc41a271d6d" }, "downloads": -1, "filename": "WardenBot-0.18.tar.gz", "has_sig": false, "md5_digest": "8bc3dc976f59ad2e4cd51beecc1498a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3104, "upload_time": "2019-08-21T21:35:29", "url": "https://files.pythonhosted.org/packages/db/55/5fb71a984cb15f66f04a0e0ece755cf43a848fef1b2fb68507c13b04aad2/WardenBot-0.18.tar.gz" } ], "0.19": [ { "comment_text": "", "digests": { "md5": "d0a94ce1a49ca32c63b829f7dfc79f26", "sha256": "72b7a30586396fe899a811c142334d1b7de1f16fdcca8550857f013c483f16f5" }, "downloads": -1, "filename": "WardenBot-0.19.tar.gz", "has_sig": false, "md5_digest": "d0a94ce1a49ca32c63b829f7dfc79f26", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3105, "upload_time": "2019-08-24T08:45:48", "url": "https://files.pythonhosted.org/packages/59/2b/c2a2a20cc5e21713d8e47d496b49ae6f7fc445a25b8659277ffaecfd0ac8/WardenBot-0.19.tar.gz" } ], "0.21": [ { "comment_text": "", "digests": { "md5": "992e7621bf9c75c474bb254be92e0eec", "sha256": "d6caf3d0c2a62e2dbf5d0327af501f8d90757acd196e308ab02111ed39a20cdb" }, "downloads": -1, "filename": "WardenBot-0.21.tar.gz", "has_sig": false, "md5_digest": "992e7621bf9c75c474bb254be92e0eec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3105, "upload_time": "2019-08-24T12:13:40", "url": "https://files.pythonhosted.org/packages/65/44/3d327ea89ca51936ffafcc3a4a63470e0da90fe709c2eeaa7354fea83949/WardenBot-0.21.tar.gz" } ], "0.36": [ { "comment_text": "", "digests": { "md5": "af7a0cff60ceab44745b0fc9fffc4783", "sha256": "d55d9a4fe5e1671ac686b7885bcedc1fbc1b227437ba03bd3bbcd06c538d439e" }, "downloads": -1, "filename": "WardenBot-0.36.tar.gz", "has_sig": false, "md5_digest": "af7a0cff60ceab44745b0fc9fffc4783", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3021, "upload_time": "2019-07-25T13:56:53", "url": "https://files.pythonhosted.org/packages/13/f1/fe74fa442006f0535f8a23a1da18a5964d5607450318dee2086c1dcfe80b/WardenBot-0.36.tar.gz" } ], "0.39": [ { "comment_text": "", "digests": { "md5": "33a43524aa40a63323d7ee3d763d82d8", "sha256": "f01c2ef2fcb03285e2d788dbdc73b3b73f8ab86c9e2213ece0fba05f7dff7bcc" }, "downloads": -1, "filename": "WardenBot-0.39.tar.gz", "has_sig": false, "md5_digest": "33a43524aa40a63323d7ee3d763d82d8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3018, "upload_time": "2019-07-25T14:10:16", "url": "https://files.pythonhosted.org/packages/a8/02/c100723b20c8250734234769e9578c954c486feead3abd268cce844b6fc9/WardenBot-0.39.tar.gz" } ], "0.45": [ { "comment_text": "", "digests": { "md5": "c774ab2ec95ab375b9e646807f552e2a", "sha256": "0b55871b4bd72b0815764390250f47b5e063a3c2532f82bf39cedbf713ffa78c" }, "downloads": -1, "filename": "WardenBot-0.45.tar.gz", "has_sig": false, "md5_digest": "c774ab2ec95ab375b9e646807f552e2a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3014, "upload_time": "2019-07-26T20:43:07", "url": "https://files.pythonhosted.org/packages/06/58/8d9defc30740d909f0a624c326a6c4e6a0967d50c393b84967546bdefdbe/WardenBot-0.45.tar.gz" } ], "0.46": [ { "comment_text": "", "digests": { "md5": "5ba21d0bfcef2fd12c9fb0763a2f9c14", "sha256": "f544f37d712c8c4cc454733bb15373fd97f2e8a020b30d07ebee75ad7649fe6e" }, "downloads": -1, "filename": "WardenBot-0.46.tar.gz", "has_sig": false, "md5_digest": "5ba21d0bfcef2fd12c9fb0763a2f9c14", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3019, "upload_time": "2019-07-26T20:43:05", "url": "https://files.pythonhosted.org/packages/e0/2b/74e789e70a7a4727337e16907795324d8f0d57367cabb2d3fc9b23b9425c/WardenBot-0.46.tar.gz" } ], "0.47": [ { "comment_text": "", "digests": { "md5": "8e431a11a021a3bb849d04f9bdc4b91b", "sha256": "e578fe42e4e8c0b0a0f78eb1fdb7e03436db17ddb54b0c465bd945a9a9ca2d6a" }, "downloads": -1, "filename": "WardenBot-0.47.tar.gz", "has_sig": false, "md5_digest": "8e431a11a021a3bb849d04f9bdc4b91b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3017, "upload_time": "2019-07-26T20:57:25", "url": "https://files.pythonhosted.org/packages/3d/28/e82b9a0faafe0e48ca1b0931d72fd41dee1885ca71ccafefd0d1c8ad125b/WardenBot-0.47.tar.gz" } ], "0.48": [ { "comment_text": "", "digests": { "md5": "f4785067191157ef319fc378575e3f5d", "sha256": "71531f4552417a9a354cfb6e45885a38dd294c6935a6adce531e6e0e711703c1" }, "downloads": -1, "filename": "WardenBot-0.48.tar.gz", "has_sig": false, "md5_digest": "f4785067191157ef319fc378575e3f5d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3021, "upload_time": "2019-07-26T20:57:26", "url": "https://files.pythonhosted.org/packages/ab/c8/d4556a6f720c2bc110ed148c65a703d291bf8121a60f21cf548ca3728448/WardenBot-0.48.tar.gz" } ], "0.51": [ { "comment_text": "", "digests": { "md5": "08987525f151288a08e784ac8275fb53", "sha256": "be6ab409fad5a9996f01db2ea8f5f04c14d2c7692fc7df7dc5b0cd14d838af8d" }, "downloads": -1, "filename": "WardenBot-0.51.tar.gz", "has_sig": false, "md5_digest": "08987525f151288a08e784ac8275fb53", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3101, "upload_time": "2019-08-11T09:58:45", "url": "https://files.pythonhosted.org/packages/b1/bc/b13717101ecbea90f7989bc478533aaa133bd436c136bfcc9a0906465570/WardenBot-0.51.tar.gz" } ], "0.59": [ { "comment_text": "", "digests": { "md5": "f9b95511ae65b099a485d5a7e171669d", "sha256": "8453322aac6056f0c793914c9a41b548cb6409c41d430130bc6b22ba2eed5055" }, "downloads": -1, "filename": "WardenBot-0.59.tar.gz", "has_sig": false, "md5_digest": "f9b95511ae65b099a485d5a7e171669d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3101, "upload_time": "2019-08-13T09:53:38", "url": "https://files.pythonhosted.org/packages/c9/d9/f1d0626fb73fde40b047a1702d54f38ddacedb508c59100aa567d8083568/WardenBot-0.59.tar.gz" } ], "0.62": [ { "comment_text": "", "digests": { "md5": "b6fbd1e0ef9735de2608ee029f234a1b", "sha256": "f5672203283b918691f878835371a96de5735a644cd312803f84a795fc8bf5c7" }, "downloads": -1, "filename": "WardenBot-0.62.tar.gz", "has_sig": false, "md5_digest": "b6fbd1e0ef9735de2608ee029f234a1b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3102, "upload_time": "2019-08-13T10:03:58", "url": "https://files.pythonhosted.org/packages/a6/54/205128994bed3fcca7c7180a60d4b248d09c3aace2cd206305e71345eaa4/WardenBot-0.62.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b6fbd1e0ef9735de2608ee029f234a1b", "sha256": "f5672203283b918691f878835371a96de5735a644cd312803f84a795fc8bf5c7" }, "downloads": -1, "filename": "WardenBot-0.62.tar.gz", "has_sig": false, "md5_digest": "b6fbd1e0ef9735de2608ee029f234a1b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3102, "upload_time": "2019-08-13T10:03:58", "url": "https://files.pythonhosted.org/packages/a6/54/205128994bed3fcca7c7180a60d4b248d09c3aace2cd206305e71345eaa4/WardenBot-0.62.tar.gz" } ] }