
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
badges-gitlab
Advanced tools
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.
You can install this package from pypi using pip.
$ pip install badges-gitlab
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
Felipe Pinheiro Silva
Benjamin Maréchal (irmo322)
Slowly moving documentation to ReadTheDocs.
FAQs
Generate badges for Gitlab Projects in Public and Private Repositories
We found that badges-gitlab demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.