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
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-github-webhook-0.1.1.tar.gz
.
File metadata
- Download URL: django-github-webhook-0.1.1.tar.gz
- Upload date:
- Size: 10.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00825eb568634c7e7c5b64992b27547c2b5fca0f3a27753dc629a5c9e9288469 |
|
MD5 | 929c584cb8cc2dfa10a8c90be8688476 |
|
BLAKE2b-256 | 76ce6eea558727f6faeea5c154cdd7de16cc463423747fd8b754e1754fc20d8f |
File details
Details for the file django_github_webhook-0.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: django_github_webhook-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 916e9f78b569f9bb701e4056595d805d87f86107195c8185df30638417ccffa4 |
|
MD5 | ec3aebe25165a903b4f4bb94d2fe34a0 |
|
BLAKE2b-256 | 85b70ee1107841be7afc6e9aebdac3e064cebd3ac228f64ab159e87efb4bb4f9 |