pyTooling.GitLab
pyTooling.GitLab works with GitLab CI/CD pipelines: it reads pipeline files (.gitlab-ci.yml) into a data model,
reads the runs of a pipeline from GitLab's REST API, and converts them into traces - e.g. OpenTelemetry's OTLP/JSON or
a Gantt chart of the jobs. A Sphinx domain glci documents a pipeline file's inputs and variables taken straight from
the file.
It builds on pyTooling's generic CI pipeline model and tracing, and on pyTooling.Sphinx for its documentation extensions. Its sibling pyTooling.GitHub does the same for GitHub Actions.
The package is installed from PyPI:
pip install pyTooling.GitLab
Features
Data models
- Pipeline runs - A GitLab pipeline - its jobs, matrices and child pipelines with their times and outcomes - read from the GitLab REST API's payloads.
- Pipeline files - A
.gitlab-ci.ymland the files it includes: stages, jobs with their needs and rules, variables and inputs, read with line numbers, and converted into a pipeline graph.
Sphinx domain glci
The domain needs the extra sphinx, which installs pyTooling.Sphinx:
pip install pyTooling.GitLab[sphinx]
- Pipelines and their parameters - A pipeline file's
spec:inputsand its described variables, taken straight from the file; roles to reference them. - Summaries - Parameter tables, the interface, the dependencies and YAML excerpts of a pipeline file.
Visualization
- Pipeline graph - The jobs of a pipeline file, their stages and
needsas a Graphviz graph. - Pipeline trace diagram - Reads a pipeline through the GitLab REST API into a trace, written as OpenTelemetry's OTLP/JSON or drawn as a Gantt chart.
Program
Gantt charts need the extra diagram, which installs matplotlib:
pip install pyTooling.GitLab[diagram]
- pytooling-gitlab - The command
pipelinereads a pipeline into a trace, writes it, and draws it as a Gantt chart.
Contributors
- Patrick Lehmann (Maintainer)
- and more...
License
This Python package (source code) is licensed under Apache License 2.0.
The accompanying documentation is licensed under Creative Commons - Attribution 4.0 (CC-BY 4.0).
Content of other projects - e.g. recorded pipelines of public gitlab.com projects as test data - is listed with its
license in NOTICE.md.
SPDX-License-Identifier: Apache-2.0
Metadata
Release files for pyTooling.GitLab 0.1.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 | Provenance | Actions |
|---|---|---|---|---|
| pytooling_gitlab-0.1.0.tar.gz | 99.0 kB | Without provenance | Details for pytooling_gitlab-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytooling_gitlab-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for pytooling_gitlab-0.1.0-py3-none-any.whl |
Total release size: 201.8 kB
Release files / pytooling_gitlab-0.1.0.tar.gz
| Download URL | pytooling_gitlab-0.1.0.tar.gz |
|---|---|
| Size | 99.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3617ab6c539e0023d59e14289f672b3450fe67418b71b14cbf5dbe9229d0ce75
|
|
BLAKE2b-256 checksum How to use checksums |
a29a7b0604efc0e7a132cb5f5230630a12a771e7ea4d3216c10ad7b8b297c0d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.1
|
Release files / pytooling_gitlab-0.1.0-py3-none-any.whl
| Download URL | pytooling_gitlab-0.1.0-py3-none-any.whl |
|---|---|
| Size | 102.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
05081e5b53cc83cbc05ab9123b1de4ef640a552fb105f91d5188b754dae1ae61
|
|
BLAKE2b-256 checksum How to use checksums |
ce5c3d163531a67bcaf93e2dbb4bfa5fcbe96ac36e27087d7f4280aafa574400
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.1
|
Security for pyTooling.GitLab 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.