Skip to main content

Makes badges like the ones made by travis-ci to show the status of a build

Project description

mk_badge

A python script to help making SVG badges like the ones made by travis-ci to show the status of a build

Examples

mk_badge -f examples/blackNwhite.svg \
    --left-fill-color 0,0,0 --left-text-color 255,255,255 \
    --right-fill-color 255,255,255 --right-text-color 0,0,0 \
    "Black" "White"

mk_badge -f examples/redNgreen_comicsans.svg \
    --left-fill-color 255,0,0 --left-text-color 255,255,255 \
    --right-fill-color 0,255,0 --right-text-color 0,0,0 \
    --font "Comic Sans MS" \
    "Comics Sans MS:" "Serious"

mk_badge -f examples/build_passing.svg \
    --left-fill-color 93,93,93 --left-text-color 255,255,255 \
    --right-fill-color 77,199,31 --right-text-color 255,255,255 \
    --left-stroke-color 93,93,93 --right-stroke-color 93,93,93 \
    "build" "passing"

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

mk_badge-1.0.1.tar.gz (5.3 kB view hashes)

Uploaded source

Built Distribution

mk_badge-1.0.1-py3-none-any.whl (18.7 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page