Skip to content

kimbo/shielderize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shielderize

shield shield shield
shield
shield shield
shield

Installation

pip install shielderizer

from shielderize import shielderize

text = "this is a bunch of random text that's spewing out of my mouth"

print(shielderize(text))

# Example raw output:
![](https://img.shields.io/badge/this-is%20a-3f459c?style=plastic&labelColor=1d31e2) ![](https://img.shields.io/badge/bunch%20of%20random%20text-7bda01?style=flat-square) ![](https://img.shields.io/badge/that%27s-71f7b1?style=flat-square) ![](https://img.shields.io/badge/spewing%20out-of-52492f?style=plastic&labelColor=98fe63) ![](https://img.shields.io/badge/my%20mouth-f168ba?style=plastic)

# Actual output below:

Disclaimer

  • use a markdown parser instead of my hackish code to decide what to shielderize
  • make it more configurable (more easily customize style, words in each shield, colors, etc)
  • and so on.

Thank yous

https://shields.io/