Skip to main content

Uploads total coverage for displaying badge

Project description

badges_io

Uploads total badge data to an online service running at https://badges.vidstige.se/

Usage

Just issue

python3 -m badges_io coverage 97%

Here the "coverage" is a subject appearing to the left in the badge, while "97%" here is the status of the badge, appearing to the right.

The color of the badge will be auto computed from the status. A third argument will override the color, e.g. "green".

to upload coverage to the badges service. badges_io will try to autodetect the repo slug (e.g. "user/repo") by first looking at the origin remote of the current git repo, and also using environment variables if run on Travis CI.

Author

Samuel Carlsson

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

badges_io-1.0.8.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

badges_io-1.0.8-py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 3

Supported by

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