GitLabPy
A Python module to help sort GitLab's Webhooks
Some of the JSON data coming from GitLab's webhooks are set as attributes to the GitLab class. There are functions within the GitLab class that allow for easy handling of the JSON data.
Requirements
- Python >= 3.10
Install
pip install GitLabPy
How to use
Check out the wiki for information.
Example
An example of how to utilize this can be found here
Development
This project uses uv for dependency management, building, and publishing.
# Install dependencies (including dev dependencies)
uv sync
# Run the test suite
uv run pytest
# Build the sdist and wheel
uv build
Releasing
Releases are published manually from a local machine (no CI publish step).
# 1. Bump the version in pyproject.toml, then build
uv build
# 2. Publish to PyPI
uv publish
# 3. Create the GitHub release (tags and publishes the release)
gh release create vX.Y.Z --generate-notes
Release files for GitLabPy 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gitlabpy-0.7.0.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gitlabpy-0.7.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.0 kB
Release files / gitlabpy-0.7.0.tar.gz
| Download URL | gitlabpy-0.7.0.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5e9b76affbaa9a17c552c958a42a194b72af1510e3555b356500144140fbe344
|
|
BLAKE2b-256 checksum How to use checksums |
53ea145afa260ce85d7da25bdbe34b805e24327c96c4e2bf264cbdcd0a764c2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / gitlabpy-0.7.0-py3-none-any.whl
| Download URL | gitlabpy-0.7.0-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f1f1a28854ffcedf93be18f0c37867b33a1d9c57b4f142057088de7ba52a9505
|
|
BLAKE2b-256 checksum How to use checksums |
ec3ca7f35f81fe403d3727bee89a8032ade2e0783bbd94d612849f77c6dd1c47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|