{ "info": { "author": "Meet Mangukiya", "author_email": "meetmangukiya98@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "ghooks\n======\n\nGetting started\n---------------\n\n.. code:: py\n\n import ghooks\n\n @ghooks.events('push')\n def push_event(data):\n # Use/Manipulate data posted\n # Actions to take when push event is triggered\n\n ghooks.run()\n\nTo run the webhook:\n\n1. To directly run(helpful while debugging stuff) ``python3 filename.py -p 5000``\n2. To run the webhook with gunicorn ``gunicorn webhook:app``. Please ensure that you import the ``app`` with ``from ghooks import app``.\n\nTo create different handlers for different events:\n\nUse ``ghooks.events`` decorator. Pass the events to be handled as arguments to\nthe decorator. Example:\n\n.. code:: py\n\n from ghooks import app\n import ghooks\n\n @ghooks.events('push')\n def push_handler(data): \n # Play with the data here\n\n @ghooks.events('push', 'ping')\n def push_and_ping_handler(data):\n # This will be called at both push and ping events\n\nInstallation\n------------\n\n.. code:: bash\n\n pip install ghooks\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/meetmangukiya/ghooks", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "ghooks", "package_url": "https://pypi.org/project/ghooks/", "platform": "", "project_url": "https://pypi.org/project/ghooks/", "project_urls": { "Homepage": "https://github.com/meetmangukiya/ghooks" }, "release_url": "https://pypi.org/project/ghooks/0.1.1/", "requires_dist": [ "flask" ], "requires_python": "", "summary": "GitHub hooks made simpler to handle!", "version": "0.1.1" }, "last_serial": 2855562, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "3c4296c77b1d95f126adfe08042ad91c", "sha256": "b4058d98c2417189e68d4b1192f71d6e2a261f8fc6fa33bf05698ae74c6447e8" }, "downloads": -1, "filename": "ghooks-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "3c4296c77b1d95f126adfe08042ad91c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3144, "upload_time": "2017-01-27T16:11:16", "url": "https://files.pythonhosted.org/packages/d0/ed/a740feca5added623d9e213eec556c697b8ba3ac9eded4eb8ec8e4969060/ghooks-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a90cb6a0f113334acfeb2911b9c1d52d", "sha256": "d0f0bd9b014686a7bbed2c696a622cf933d65db1207cb52a2dd88547b3c5d0a2" }, "downloads": -1, "filename": "ghooks-0.1.tar.gz", "has_sig": false, "md5_digest": "a90cb6a0f113334acfeb2911b9c1d52d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1843, "upload_time": "2017-01-27T16:11:18", "url": "https://files.pythonhosted.org/packages/94/f3/89a413798035bd90b2bfaa6496814c909c2579c8be520e9b340c01d4c290/ghooks-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "f4f7c6085fcdff4a6680280132e5b16d", "sha256": "818b85ae0026d9f8c8e3907942230e1e254e0802490c91e88f2f34ea7bf87c30" }, "downloads": -1, "filename": "ghooks-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "f4f7c6085fcdff4a6680280132e5b16d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3801, "upload_time": "2017-05-06T09:19:29", "url": "https://files.pythonhosted.org/packages/18/2f/e6294c1a75dfd57c29b106570fc69b932d0ce77b670ff3160b122cfef590/ghooks-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6a6c4f6d881afefc3f894305b71ff8e7", "sha256": "9c654d7955fd50337298af27d53a460c16e76c23fc4083e206730705c1341757" }, "downloads": -1, "filename": "ghooks-0.1.1.tar.gz", "has_sig": false, "md5_digest": "6a6c4f6d881afefc3f894305b71ff8e7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2276, "upload_time": "2017-05-06T09:19:30", "url": "https://files.pythonhosted.org/packages/5b/72/e159e2e558213878236388d58a3d42cc752738235d39cc8d626a8651d7f7/ghooks-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f4f7c6085fcdff4a6680280132e5b16d", "sha256": "818b85ae0026d9f8c8e3907942230e1e254e0802490c91e88f2f34ea7bf87c30" }, "downloads": -1, "filename": "ghooks-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "f4f7c6085fcdff4a6680280132e5b16d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3801, "upload_time": "2017-05-06T09:19:29", "url": "https://files.pythonhosted.org/packages/18/2f/e6294c1a75dfd57c29b106570fc69b932d0ce77b670ff3160b122cfef590/ghooks-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6a6c4f6d881afefc3f894305b71ff8e7", "sha256": "9c654d7955fd50337298af27d53a460c16e76c23fc4083e206730705c1341757" }, "downloads": -1, "filename": "ghooks-0.1.1.tar.gz", "has_sig": false, "md5_digest": "6a6c4f6d881afefc3f894305b71ff8e7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2276, "upload_time": "2017-05-06T09:19:30", "url": "https://files.pythonhosted.org/packages/5b/72/e159e2e558213878236388d58a3d42cc752738235d39cc8d626a8651d7f7/ghooks-0.1.1.tar.gz" } ] }