Skip to main content
Status build badges for Sloth CI apps, powered by http://shields.io.


Installation
------------

.. code-block:: bash

$ pip install sloth-ci.ext.shields_io


Usage
-----

#. Enable the extension in the server config:

.. code-block:: yaml
:caption: sloth.yml for Shields.io

extensions:
shields:
# Use the module sloth_ci.ext.shields_io.
module: shields_io

# Badge label. You can use the ``{app}`` and ``{timestamp}`` placeholders for app name and build timestamp.
# label: "My Sloth CI Status for {app}" # default is ``Sloth CI: {app}``

# Badge status. You can use ``{status}``, ``{app}``, and ``{timestamp}`` placeholders build status, app name, and build timestamp
# status: "{status}" # default is ``{status}, {timestamp}``

# Badge style: ``plastic``, ``flat``, ``flat-square``, or ``social``
# style: social # default is ``flat``

# Badge format: svg, png, jpg, or gif
# format: png # default is svg

# Color map for build statuses
# colors:
# INFO: green # default is ``brightgreen``
# WARNING: yellowgreen # default is ``yellow``
# ERROR: orange # default is ``red``
...

All params are optional.

#. Use the URL http://host:port/app?action=shield to get your badge.

You can customize the badge on the fly by passing ``label``, ``style``, and ``format`` query params:

- http://host:port/app?action=shield&label=Build%20for%20{app}
- http://host:port/app?action=shield&style=social
- http://host:port/app?action=shield&format=png

Metadata

Release files for sloth-ci.ext.shields_io 1.0.5

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

Source distribution (sdist)

Source distribution for sloth-ci.ext.shields_io 1.0.5
File Size Uploaded Provenance
sloth-ci.ext.shields_io-1.0.5.tar.gz 2.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for sloth-ci.ext.shields_io 1.0.5
File Interpreter ABI Platform
sloth_ci.ext.shields_io-1.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 8.3 kB

Release files / sloth-ci.ext.shields_io-1.0.5.tar.gz

Download URL sloth-ci.ext.shields_io-1.0.5.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5b2bb7acaec48c7afe369cc1e187568ed69b24e9a5caed384d4eab1453ad1488
BLAKE2b-256 checksum
How to use checksums
2ef1d1f4cf280de394de404022c6f7d6fb1ea46796922931743dd8ee00949c59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / sloth_ci.ext.shields_io-1.0.5-py3-none-any.whl

Download URL sloth_ci.ext.shields_io-1.0.5-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6f7807fb539e77787ef76140f756387bc8347e8993f682b796404244fe3d4ed5
BLAKE2b-256 checksum
How to use checksums
14c745812442acd47fd5225c47a9fb83ad96aac68dbfeac77befdf0d89123057
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for sloth-ci.ext.shields_io 1.0.5

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.

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