Skip to content

dotpot/censor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##Censor Missing, high-performance censor for Python & Humans

Use this component if you want to censor any text in a fast & intuitive ( very ) way.

It supports both keywords and patterns (regex)

###Overview

Imagine you have this text:

hello you little shit    

And all you want to do is just censor it.

###You can do it now!!

all you have to do is:

	from censor import Censor

    censor = Censor()
    censor.add_keyword('shit')
    
    print censor.censor('hello you little shit')

    'hello you little ****'

Isn't that trolololowesome ?!

Please feel free to improve it if you like :)

About

Missing, high-performance censor for Python & Humans

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages