Hooks and task storage in Git
Project description
PyGitTools
Authentication, hooks, and pygit2 workflows used by PyGitWeb. Can be used headless for many purposes.
Hook framework
pygittools.hooks provides a thin Hook base class plus one subclass per git hook type
(client- and server-side). Receive-pack hooks (PreReceive, PostReceive) parse their
ref-update lines via parse_ref_updates(stdin).
pygittools.hooks_notify adds PreReceiveNotify / PostReceiveNotify: minimal hook
variants that POST ?project=<name> to a pygitweb /_internal/notify endpoint so its
long-poll updates=true subscribers wake up immediately on each push. Notification
failures never reject the push.
See hook_samples/ for ready-to-use scripts.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pygittools-0.1.0.tar.gz.
File metadata
- Download URL: pygittools-0.1.0.tar.gz
- Upload date:
- Size: 20.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6435cc9efe17b32b2da67bd1134978d5cbe3a3fbddf52c9db89e6439ed7f848
|
|
| MD5 |
8b155179badce75a59da0eae1f1c3bc0
|
|
| BLAKE2b-256 |
af63e242a5af30197ff9ac41568af1b82a0fe094b6168aca6715d67df0a13e7c
|
File details
Details for the file pygittools-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pygittools-0.1.0-py3-none-any.whl
- Upload date:
- Size: 27.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5426d5035375b85f409259692d915ea8d901796712ad524e99e0b2f19d3fc28e
|
|
| MD5 |
37fff67882ac510e49b77c8bbb198fb6
|
|
| BLAKE2b-256 |
58936379a9e2bd277d81da75f0d88a7d3872208ef757685e4a002eedfcab8df5
|