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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file shielderize-0.0.1.tar.gz.

File metadata

  • Download URL: shielderize-0.0.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5

File hashes

Hashes for shielderize-0.0.1.tar.gz
Algorithm Hash digest
SHA256 725ebbdb3fc14567cd05aeac4ed6a435c2a001ac93e4380c0dcc7650ba9dda05
MD5 a646ec6c49111360abf0daf0bfabcc13
BLAKE2b-256 f9ab5d8e9b166a45a6997891f6cde8d334b042b591b3934b0b8243f0428e754f

See more details on using hashes here.

File details

Details for the file shielderize-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: shielderize-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5

File hashes

Hashes for shielderize-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fa8c6e61f342d3ebbda0f62f686e30553aa8bf0742eb48a47b55632f793893fe
MD5 9df6b067b5251abc38599b51baebd01b
BLAKE2b-256 3a5da9ffccf1f6f175b8593290e5eba8b369863104d0fbe008af00dcdf1390d9

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