Skip to main content

SSL CLIME Badges - Custom SVG Metric Badges

Project description

CLIME Badges

A tool to create custom badges displaying CLIME metrics

DOI Release Project

Table of Contents

About

The Software Systems Laboratory (SSL) CLIME Badges project is a tool to create custom badges displaying CLIME metrics.

Licensing

This project is licensed under the BSD-3-Clause. See the LICENSE for more information.

How To Use

Installation

You can install the tool from PyPi with one of the following one liners:

  • pip install clime-metrics
  • pip install clime-badges

Command Line Options

clime-badges -h

usage: CLIME Metric Badge Creator [-h] [-g GRAPH] [-lc LEFT_COLOR]
                                  [-lt LEFT_TEXT] [-u LINK] [-o OUTPUT]
                                  [-rt RIGHT_TEXT]
                                  [-rc--right-color RC__RIGHT_COLOR] [-v]

A tool to create a badge from a metric's graph

options:
  -h, --help            show this help message and exit
  -g GRAPH, --graph GRAPH
                        The metric graph SVG file to be used as the badge
                        logo. DEFAULT: metric.svg
  -lc LEFT_COLOR, --left-color LEFT_COLOR
                        Left side color. DEFAULT: maroon
  -lt LEFT_TEXT, --left-text LEFT_TEXT
                        Text to go on the left side of the badge. DEAULT:
                        CLIME Metric
  -u LINK, --link LINK  Link to a specific URL that will open when the badge
                        is clicked/ DEFAULT: None
  -o OUTPUT, --output OUTPUT
                        The output filename of the badge. NOTE: Must end in
                        .svg. DEFAULT: badge.svg
  -rt RIGHT_TEXT, --right-text RIGHT_TEXT
                        Text to go on the right side of the badge. DEFAULT:
                        None
  -rc--right-color RC__RIGHT_COLOR
                        Right side color. DEFAULT: gold
  -v, --version         Display version of the tool

Author(s): Nicholas M. Synovic, George K. Thiruvathukal

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

clime-badges-0.3.3.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

clime_badges-0.3.3-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file clime-badges-0.3.3.tar.gz.

File metadata

  • Download URL: clime-badges-0.3.3.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for clime-badges-0.3.3.tar.gz
Algorithm Hash digest
SHA256 61a128b0bcbd3813a1d7b2c6d9b10a7b84582d4813614e475da2d4356d4d0d02
MD5 385efa2ae646a8faee3352895cacdbbe
BLAKE2b-256 4cc15ef64521262fd6ad18aa84d5c9b9a01d6e5ad000032064a1db487663fe03

See more details on using hashes here.

File details

Details for the file clime_badges-0.3.3-py3-none-any.whl.

File metadata

File hashes

Hashes for clime_badges-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 177e2397e4e6cbe240cd5a888e5cba30379458a0e6e6bed0c7a85fb709fa4315
MD5 eddce9fbff8890a8a9a0507e55242942
BLAKE2b-256 414596fd55e5e84435d2c0e7b6be3da6fe55d4a9056eb605ddbe30a48111f56e

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