python censoring pypi code example
Example: python censoring pypi
from profanity_filter import ProfanityFilter
pf = ProfanityFilter()
pf.censor("That's bullshit!")
# "That's ********!"
pf.censor_word('fuck')
# Word(uncensored='fuck', censored='****', original_profane_word='fuck')