Skip to main content

A lightweight library and CLI tool for historical GitLab build data and logs collection.

Project description

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

Project details


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

glbuild-0.1.27-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

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

Hashes for glbuild-0.1.27.tar.gz
Algorithm Hash digest
SHA256 85addfc46834501fd4095d038de24531d2a9bbfae51228e6e3c50a50de969c55
MD5 a5ae6861f58c498a97e17d40bd41d12b
BLAKE2b-256 ead4d86cfec76c17be940fc976c3d949cb87a1708f3040801028a5981c7b1842

See more details on using hashes here.

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

Hashes for glbuild-0.1.27-py3-none-any.whl
Algorithm Hash digest
SHA256 4ceca99c2837bc038fe6e0a8aa2cf4c45cb49f798ef7b88d301183ec8ce21353
MD5 c09b4392f96371ce48034ef7fe666ad7
BLAKE2b-256 016709dc5f1132ef4781de4538249892f4538b71771fc92514426a88341ea0e3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page