glbuild
A lightweight library and CLI tool for historical GitLab build data and logs collection.
Requirements
Getting Started
Install dependencies
poetry install
Access virtual environment
poetry shell
Install pre-commit hook for static code analysis
pre-commit install
Usage
Installation
Install the glbuild package using pip
pip install glbuild
Python library
import glbuild
glb = glbuild.GitLabBuild(base_url="https://gitlab.com", token="******", projects=[1538, 5427])
glb.start(n_last=100)
Command Line Interface (CLI)
glbuild --base-url https://gitlab.com --token ****** --output ./data --n-last 100 --project 1538 --project 5427
Contracted CLI command
glbuild -b https://gitlab.com -t ****** -o ./data -n 100 -p 1538 -p 5427
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
glbuild-0.1.27.tar.gz
(8.4 kB
view details)
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
glbuild-0.1.27-py3-none-any.whl
(11.3 kB
view details)
File details
Details for the file glbuild-0.1.27.tar.gz.
File metadata
- Download URL: glbuild-0.1.27.tar.gz
- Upload date:
- Size: 8.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/2.2.1 CPython/3.10.18 Linux/5.15.154+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85addfc46834501fd4095d038de24531d2a9bbfae51228e6e3c50a50de969c55
|
|
| MD5 |
a5ae6861f58c498a97e17d40bd41d12b
|
|
| BLAKE2b-256 |
ead4d86cfec76c17be940fc976c3d949cb87a1708f3040801028a5981c7b1842
|
File details
Details for the file glbuild-0.1.27-py3-none-any.whl.
File metadata
- Download URL: glbuild-0.1.27-py3-none-any.whl
- Upload date:
- Size: 11.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
poetry/2.2.1 CPython/3.10.18 Linux/5.15.154+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ceca99c2837bc038fe6e0a8aa2cf4c45cb49f798ef7b88d301183ec8ce21353
|
|
| MD5 |
c09b4392f96371ce48034ef7fe666ad7
|
|
| BLAKE2b-256 |
016709dc5f1132ef4781de4538249892f4538b71771fc92514426a88341ea0e3
|