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.6.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

badges_io-1.0.6-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: badges_io-1.0.6.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.40.1 CPython/3.6.9

File hashes

Hashes for badges_io-1.0.6.tar.gz
Algorithm Hash digest
SHA256 2351e29a090ff49b7e307bfe68f1491d3aff5cb1cba3e06d8f6649843f02b36f
MD5 ce2075b8b32f824e68e63f425045db30
BLAKE2b-256 2d7b32f9bfea1255e7be8981569bc1c47f8484360d5cbb5ecc6d5e221955f43a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: badges_io-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.40.1 CPython/3.6.9

File hashes

Hashes for badges_io-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 71a242c953b68959b787a773f36ef57742e5e918443942f84baa441f9941cc1d
MD5 cd34a914ecb413d24171171fdeef9684
BLAKE2b-256 fc615f48b9cd68593be65b4fc2aa14765cdc4be537563fc7ff0c4925b883e4ed

See more details on using hashes here.

Supported by

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