Skip to main content

Turn text into shields

Project description

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/

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

shielderize-0.0.1.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

shielderize-0.0.1-py3-none-any.whl (16.1 kB view hashes)

Uploaded Python 3

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