Skip to main content

Badges Gitlab

Pypi Version Status Python Version License Coverage Pipeline Documentation Status

This project was created to generate badges for Gitlab in CI jobs, mainly for private repositories where other common methods are not available (direct API Calls, shields.io, etc...).

By default, Gitlab supports only two types of badges: pipeline and test coverage.

These badges are better detailed at: Gitlab Project Badges.

Installation

You can install this package from pypi using pip.

$ pip install badges-gitlab

General Usage

usage: badges-gitlab [-h] [-p PATH] [-t TOKEN] [--junit-xml FILE_PATH] [-s LABEL MESSAGE COLOR] 
[-lb URLS [URLS ...]] [-V]

Generate Gitlab Badges using JSON files and API requests. Program version v0.0.0.

optional arguments:
  -h, --help            show this help message and exit
  -p TEXT, --path TEXT  path where json and badges files will be generated/located (default: ./public/badges/)
  -t TEXT, --token TEXT specify the private-token in command line (default: ${PRIVATE_TOKEN})
  --junit-xml TEXT      specifies the path of a JUnit XML file for parsing the test results
  -s LABEL MESSAGE COLOR, --static-badges LABEL MESSAGE COLOR
                        specify static badges in command line using lists
 -lb URLS [URLS ...], --link-badges URLS [URLS ...]
                        specify shields.io urls to download badges
  -V, --version         returns the package version

Author

Felipe Pinheiro Silva

Contributors

Benjamin Maréchal (irmo322)

Further Documentation

Slowly moving documentation to ReadTheDocs.

Metadata

Release files for badges-gitlab 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for badges-gitlab 2.0.1
File Size Uploaded Provenance Actions
badges_gitlab-2.0.1.tar.gz 10.2 kB Without provenance Details for badges_gitlab-2.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for badges-gitlab 2.0.1
File Interpreter ABI Platform Actions
badges_gitlab-2.0.1-py3-none-any.whl Python 3 none any Details for badges_gitlab-2.0.1-py3-none-any.whl

Total release size: 22.9 kB

Release files / badges_gitlab-2.0.1.tar.gz

Download URL badges_gitlab-2.0.1.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
54b8b6768d9e9fbd6d4e93bf1dcc59c14e3c81498571bc9c6b51afbed76c8269
BLAKE2b-256 checksum
How to use checksums
7333fd9a2218f3084abda39e347a9e057b11c0891990670f23215fdf128ffb45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.13

Release files / badges_gitlab-2.0.1-py3-none-any.whl

Download URL badges_gitlab-2.0.1-py3-none-any.whl
Size 12.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3f5ea469bf7edf3cb985db570f98ae311e71ae7e19bc683f268f1af7359b1e43
BLAKE2b-256 checksum
How to use checksums
3593c09b67a0adc5d777c66ec5a08f21c3932dd05db1bdf1711f92a254581ed0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.12.13

Security for badges-gitlab 2.0.1

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page