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

Uploaded Source

Built Distribution

mk_badge-1.0.2-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file mk_badge-1.0.2.tar.gz.

File metadata

  • Download URL: mk_badge-1.0.2.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for mk_badge-1.0.2.tar.gz
Algorithm Hash digest
SHA256 66df34b999a55915c09d96e4296fad6b7ab48a6e3973b6716281419d79f382ca
MD5 3bd7dccb794d0c2eda78fbff0c41d978
BLAKE2b-256 dddee17122f2415c530e4132ca3fd216b86884276676bd6e7ceb055a112ffb8d

See more details on using hashes here.

File details

Details for the file mk_badge-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: mk_badge-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for mk_badge-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bd925064249f403e1818a995ba492b76affd74ddd4ab99220b5417221b1959d7
MD5 d7bc18f26d737060aaa1db705c2018ab
BLAKE2b-256 3e6a315a0ca809f4211a8707b1ac3341667f1f48a9bf3e88006f83560e81fec9

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