Skip to main content

Django view for GitHub webhook recievers

Project description

A class based view for Django that can act as an receiver for GitHub webhooks. It is designed to validate all requests through their X-Hub-Signature headers.

Handling of GitHub events is done by implementing a class method with the same name as the event, e.g. ping, push or fork. See the documentation for more in-depth information and examples.

  • Free software: BSD license

Installation

pip install django-github-webhook

Documentation

https://django-github-webhook.readthedocs.org/

Development

To run the all tests run:

tox

Note, to combine the coverage data from all the tox environments run:

Windows

set PYTEST_ADDOPTS=--cov-append
tox

Other

PYTEST_ADDOPTS=--cov-append tox

Changelog

0.1.0 (2016-01-29)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-github-webhook-0.1.1.tar.gz (10.5 kB view details)

Uploaded Source

Built Distribution

django_github_webhook-0.1.1-py2.py3-none-any.whl (8.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-github-webhook-0.1.1.tar.gz.

File metadata

File hashes

Hashes for django-github-webhook-0.1.1.tar.gz
Algorithm Hash digest
SHA256 00825eb568634c7e7c5b64992b27547c2b5fca0f3a27753dc629a5c9e9288469
MD5 929c584cb8cc2dfa10a8c90be8688476
BLAKE2b-256 76ce6eea558727f6faeea5c154cdd7de16cc463423747fd8b754e1754fc20d8f

See more details on using hashes here.

Provenance

File details

Details for the file django_github_webhook-0.1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_github_webhook-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 916e9f78b569f9bb701e4056595d805d87f86107195c8185df30638417ccffa4
MD5 ec3aebe25165a903b4f4bb94d2fe34a0
BLAKE2b-256 85b70ee1107841be7afc6e9aebdac3e064cebd3ac228f64ab159e87efb4bb4f9

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page