badge generator
Project description
Installation
$ [sudo] pip install badge
Features
- md (default), rst, html
- autoformat strings
- minimalistic design
Examples
>>> class Travis(badge.Badge):
title = "Travis"
image = "https://api.travis-ci.org/{fullname}.svg?branch={branch}"
link = "https://travis-ci.org/{fullname}/"
>>> Travis(fullname="owner/repo") # .md, Markdown by default
'[](https://travis-ci.org/owner/repo/)'
>>> Travis(fullname="owner/repo").rst # .rst, reStructuredText
'.. image: : https://api.travis-ci.org/owner/repo.svg?branch=master
: target: https://travis-ci.org/owner/repo/'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
badge-2020.7.1.tar.gz
(2.1 kB
view details)
File details
Details for the file badge-2020.7.1.tar.gz.
File metadata
- Download URL: badge-2020.7.1.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/47.3.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
84c0b727bb7060307bd315e1443630dd037b97b4ee71b90b0e789f58d35b2fdb
|
|
| MD5 |
e58bafbb3a3f35adfc7cd1fcac5c7e15
|
|
| BLAKE2b-256 |
b55d106750b1ec67922d6983f24ea04c6e4632e151476a1adff13b66de217a56
|