shields.io badges
Project description
Install
$ [sudo] pip install shields
Features
parameters: style
(plastic
, flat
, flat-square
, for-the-badge
, social
), label
, logo
, logoWidth
, colorA
, colorB
, maxAge
Examples
>>> shields.Badge(subject="subject", status="status", color="blue", maxAge=3600)
'[![](https://img.shields.io/badge/subject-status-blue.svg)]()'
pypi badges
>>> shields.pypi.V("django")
'[![](https://img.shields.io/pypi/v/django.svg)](https://pypi.org/pypi/name/)'
>>> shields.pypi.Pyversions("django")
'[![](https://img.shields.io/pypi/pyversions/django.svg)](https://pypi.org/pypi/name/)'
>>> shields.pypi.L("django")
'[![](https://img.shields.io/pypi/l/django.svg)](https://pypi.org/pypi/name/)'
subclass
>>> class New(shields.Abstract):
path = "npm/v/{name}.svg"
link = "https://www.npmjs.com/package/{name}"
>>> Npm(name="jquery")
'[![](https://img.shields.io/npm/v/jquery.svg)](https://www.npmjs.com/package/jquery)'
Links
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
shields-0.0.2.tar.gz
(2.3 kB
view hashes)