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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file badges_io-1.0.8.tar.gz.

File metadata

  • Download URL: badges_io-1.0.8.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.6.9

File hashes

Hashes for badges_io-1.0.8.tar.gz
Algorithm Hash digest
SHA256 f4067d890e05d2c22e47f0c32468c2c1bc3f2f05fc651f9d6bd58d98fd2114dd
MD5 438c40c05d12592d4860d13cc32e6b5d
BLAKE2b-256 4f4910de3e5f931de59e99621ac743092ddaeb3afb24153380ac4d19d1d3628e

See more details on using hashes here.

File details

Details for the file badges_io-1.0.8-py3-none-any.whl.

File metadata

  • Download URL: badges_io-1.0.8-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.6.9

File hashes

Hashes for badges_io-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 52fbf650ce6cda7439a8c6f65963193119f15a83d3d8a75ef2299c0a7102cf0f
MD5 a39f9fd2c7b6877f3ba3ffcddd7dfef5
BLAKE2b-256 ec42f0c88e1ad988320ec4312d01c13cc80cb15f96bcd4444e4bd75a3d6f036c

See more details on using hashes here.

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