{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "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.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "\n\n[![](https://img.shields.io/pypi/pyversions/github-webhooks.svg?longCache=True)](https://pypi.org/project/github-webhooks/)\n\n#### Installation\n```bash\n$ [sudo] pip install github-webhooks\n```\n\n#### Config\nbash|python\n-|-\n`export GITHUB_TOKEN=\"your_github_token\"`|`os.environ[\"GITHUB_TOKEN\"]=\"your_github_token\"`\n\n#### Functions\nfunction|`__doc__`\n-|-\n`github_webhooks.exists(fullname, webhook)` |return True if webhook exists\n`github_webhooks.api.delete(fullname, hook_id)` |delete repo webhook\n`github_webhooks.api.get(fullname)` |return a list of repo webhooks data\n`github_webhooks.api.request(method, url, data=None, **kwargs)` |make request and return response\n\n#### Executable modules\nusage|`__doc__`\n-|-\n`python -m github_webhooks.add events url` |add repo webhook(s)\n`python -m github_webhooks.delete webhook ...` |delete all repo webhooks\n`python -m github_webhooks.init section ...` |init webhook from init file sections\n`python -m github_webhooks.names` |print repo webhooks names\n`python -m github_webhooks.urls` |print repo webhooks urls\n\n#### Examples\n```bash\n$ cd path/to/repo\n$ python -m github_webhooks.create \"push\" https://xxx.execute-api.us-east-1.amazonaws.com/run\n$ python -m github_webhooks.names\nweb\n$ python -m github_webhooks.urls\nhttps://xxx.execute-api.us-east-1.amazonaws.com/run\n$ python -m github_webhooks.delete \"web\"\n```\n\n`~/.github-webhooks.ini`\n```\n[name]\n url = https://xxx.execute-api.us-east-1.amazonaws.com/run\n events = push\n```\n\n```\n$ python -m github_webhooks.init \"name\"\n```\n\n#### Links\n+ [webhooks REST API v3](https://developer.github.com/v3/repos/hooks/)\n\n

\n python-readme-generator\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/looking-for-a-job/github-webhooks.py", "keywords": "github webhooks", "license": "", "maintainer": "", "maintainer_email": "", "name": "github-webhooks", "package_url": "https://pypi.org/project/github-webhooks/", "platform": "", "project_url": "https://pypi.org/project/github-webhooks/", "project_urls": { "Homepage": "https://github.com/looking-for-a-job/github-webhooks.py" }, "release_url": "https://pypi.org/project/github-webhooks/2019.4.13/", "requires_dist": null, "requires_python": "", "summary": "github webhooks", "version": "2019.4.13" }, "last_serial": 5587613, "releases": { "2019.2.15": [ { "comment_text": "", "digests": { "md5": "b9a4e601afc979528e402a05e5465a7e", "sha256": "45fea1eb9282cb2701dcf508b22e00a3c23636ddb4b23c16f8484384b2e9775a" }, "downloads": -1, "filename": "github_webhooks-2019.2.15-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b9a4e601afc979528e402a05e5465a7e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3765, "upload_time": "2019-02-15T09:04:21", "url": "https://files.pythonhosted.org/packages/a2/ca/1b82457aa8f73a39c1c163e2cd88ad7c42abceefc15fd7e55b335143f178/github_webhooks-2019.2.15-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "84ab0151d0621c960ff88bcac1de10d3", "sha256": "54fd39b05caa51366359b6b310d49236009a95c91132e66e7a5bd652d25654fa" }, "downloads": -1, "filename": "github-webhooks-2019.2.15.tar.gz", "has_sig": false, "md5_digest": "84ab0151d0621c960ff88bcac1de10d3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2104, "upload_time": "2019-02-15T09:04:23", "url": "https://files.pythonhosted.org/packages/2b/c9/8e4f5bf428e4dd841e2768f0954c7dfb84f16cdcb895a284be284061b100/github-webhooks-2019.2.15.tar.gz" } ], "2019.2.16": [ { "comment_text": "", "digests": { "md5": "18f96897d6e42cccecac8ea2d5793dbe", "sha256": "9d3c367ac4b6b9dcd882137af90183b6bec8b4059b20fe93782576add2c50922" }, "downloads": -1, "filename": "github_webhooks-2019.2.16-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "18f96897d6e42cccecac8ea2d5793dbe", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4400, "upload_time": "2019-02-15T17:40:45", "url": "https://files.pythonhosted.org/packages/ea/9c/97e57f8182b358b9aa133e011b54e8cef8527ab042f3e9ee86667296dce4/github_webhooks-2019.2.16-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fc2c8ed28f8c7f30919beb9e8d52ff88", "sha256": "0e7ba95953d1ef14ebd80192d75ad4ec6d1c52a2ca4f6e5ae3b425638f6df0e6" }, "downloads": -1, "filename": "github-webhooks-2019.2.16.tar.gz", "has_sig": false, "md5_digest": "fc2c8ed28f8c7f30919beb9e8d52ff88", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2346, "upload_time": "2019-02-15T17:40:46", "url": "https://files.pythonhosted.org/packages/be/96/5cb80bb28a53183898901ee1cc265a641994b4bf44074986559f1369a21d/github-webhooks-2019.2.16.tar.gz" } ], "2019.3.22": [ { "comment_text": "", "digests": { "md5": "ed659e2762601848e4c18f0740b10e23", "sha256": "e7ba488ec3e694a44d55e744997153f8b79066a6ee2aa68c6ccaae2b14c19eee" }, "downloads": -1, "filename": "github_webhooks-2019.3.22-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ed659e2762601848e4c18f0740b10e23", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 59146, "upload_time": "2019-03-24T11:05:03", "url": "https://files.pythonhosted.org/packages/23/00/26439cf520e29985f94c82a086a523a694093d6a9d7bd707b25c8d052330/github_webhooks-2019.3.22-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "550f0ac92a8277968250432b3d73c858", "sha256": "4bc4c1220c99c536a1b5f8588729a14d4bb1e8f1a52c451e1dd6fc47f7a61b8c" }, "downloads": -1, "filename": "github-webhooks-2019.3.22.tar.gz", "has_sig": false, "md5_digest": "550f0ac92a8277968250432b3d73c858", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2967, "upload_time": "2019-03-24T11:05:05", "url": "https://files.pythonhosted.org/packages/7c/80/389c99d3644d5d88fc1c6b0791681f7f01ce4f740865901278d9ca4fe21c/github-webhooks-2019.3.22.tar.gz" } ], "2019.4.13": [ { "comment_text": "", "digests": { "md5": "cf8b8ea750506f21a99157c443da3b2f", "sha256": "4943513cc502d4a6c2d663755b62fd3da0176ef887eab2366a93b73a1664e71b" }, "downloads": -1, "filename": "github-webhooks-2019.4.13.tar.gz", "has_sig": false, "md5_digest": "cf8b8ea750506f21a99157c443da3b2f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2819, "upload_time": "2019-04-13T07:57:55", "url": "https://files.pythonhosted.org/packages/b3/f4/16732c7c5b2d76d80e26c18281e29d83e14487703bb45bf81d909a6d6726/github-webhooks-2019.4.13.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cf8b8ea750506f21a99157c443da3b2f", "sha256": "4943513cc502d4a6c2d663755b62fd3da0176ef887eab2366a93b73a1664e71b" }, "downloads": -1, "filename": "github-webhooks-2019.4.13.tar.gz", "has_sig": false, "md5_digest": "cf8b8ea750506f21a99157c443da3b2f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2819, "upload_time": "2019-04-13T07:57:55", "url": "https://files.pythonhosted.org/packages/b3/f4/16732c7c5b2d76d80e26c18281e29d83e14487703bb45bf81d909a6d6726/github-webhooks-2019.4.13.tar.gz" } ] }