{ "info": { "author": "S. Andrew Sheppard & Contributors", "author_email": "andrew@wq.io", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "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", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "github\\_hook\n============\n\nSimple continuous integration for Django developers, taking the form of\na Django app for managing GitHub (or BitBucket) post receive hooks.\n\n.. image:: https://img.shields.io/travis/sheppard/django-github-hook.svg\n :target: https://travis-ci.org/sheppard/django-github-hook\n.. image:: https://img.shields.io/pypi/v/django-github-hook.svg\n :target: https://pypi.python.org/pypi/django-github-hook\n\nTested on Python 2.7, 3.4 and 3.5, with Django 1.8 and 1.9.\n\nUsage\n-----\n\n- ``pip install django-github-hook``\n- Add ``github_hook`` to ``INSTALLED_APPS`` in your settings.py\n- ``./manage.py migrate`` (or ``./manage.py syncdb``)\n- Add e.g. ``url(r'^hook/', include('github_hook.urls'))`` to your\n urls.py ``urlpatterns``\n- Log into the Django admin console\n- Configure your hook with the folowing fields:\n\n - *Name*: Hook identifier\n - *User*: Repo username\n - *Repo*: Repo name\n - *Path*: Absolute path to script to execute\n\n- Go to your repo's \"Service Hooks\" settings on GitHub (or BitBucket) and add a\n WebHook/POST URL:\n\n - http[s]://[yourwebsite]/hook\n - The repo information will be read from the JSON payload\n\n- Alternatively, you can specify a specific hook by name:\n\n - http[s]://[yourwebsite]/hook/name\n\n\nExamples\n--------\n\nThe following snippet show how to connect the webhook to a method using django's signal mechanism.\nNote that path must be set to \"send-signal\" in the hook object instead of an absolute path to a script.\n\n.. code-block:: python\n\n\tfrom github_hook.models import hook_signal\n\n\tdef processWebhook(sender, **kwargs):\n\t\tfor key, value in kwargs.iteritems():\n\t\t\tprint key, value\n\t\n\thook_signal.connect(processWebhook)", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "django-github-hook", "package_url": "https://pypi.org/project/django-github-hook/", "platform": "any", "project_url": "https://pypi.org/project/django-github-hook/", "project_urls": { "Download": "UNKNOWN", "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/django-github-hook/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "Django-powered GitHub (& Bitbucket) web hooks", "version": "0.2.1" }, "last_serial": 2738911, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "b3021058542088acf183447e012b4784", "sha256": "326f454477b7eaae20f05b13dd9bcca7145b5fa5da9011a0bc56ff3041db1a2e" }, "downloads": -1, "filename": "django-github-hook-0.1.0.tar.gz", "has_sig": false, "md5_digest": "b3021058542088acf183447e012b4784", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2925, "upload_time": "2013-11-18T03:57:23", "url": "https://files.pythonhosted.org/packages/73/56/73d165ba22130838aa54501fed2bd1d96475510397859261a95ab0985e04/django-github-hook-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "1d0c0d38be9e2ecc96367c08e49f9ca0", "sha256": "442d02c9df07d48f009c5617c0cb51b695f1f7a5c69d078f223b7a3a149ace01" }, "downloads": -1, "filename": "django-github-hook-0.2.0.tar.gz", "has_sig": false, "md5_digest": "1d0c0d38be9e2ecc96367c08e49f9ca0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3669, "upload_time": "2016-05-12T17:39:24", "url": "https://files.pythonhosted.org/packages/71/97/58d61a23b6c5072dc908a4af035bdcbe0d4c21ea6ba6b36a42cec7f8a0ef/django-github-hook-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "91da21059c3f777985506c4813f2945e", "sha256": "12c7641d2b75c6e51741ec7f6aa9b8b46800c551a96e8904c165b582d35b0d51" }, "downloads": -1, "filename": "django-github-hook-0.2.1.tar.gz", "has_sig": false, "md5_digest": "91da21059c3f777985506c4813f2945e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3660, "upload_time": "2017-03-29T15:06:18", "url": "https://files.pythonhosted.org/packages/3c/83/d4ab53e3cee736ae7e537047115ab5c15443236a201bffa0a0bc61e43582/django-github-hook-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "91da21059c3f777985506c4813f2945e", "sha256": "12c7641d2b75c6e51741ec7f6aa9b8b46800c551a96e8904c165b582d35b0d51" }, "downloads": -1, "filename": "django-github-hook-0.2.1.tar.gz", "has_sig": false, "md5_digest": "91da21059c3f777985506c4813f2945e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3660, "upload_time": "2017-03-29T15:06:18", "url": "https://files.pythonhosted.org/packages/3c/83/d4ab53e3cee736ae7e537047115ab5c15443236a201bffa0a0bc61e43582/django-github-hook-0.2.1.tar.gz" } ] }