Skip to main content

Easily check for profane and innapropriate words quickly.

Project description

EZprofanity

Quickly detect profane, innapropriate and disgusting language!

Example:

from ezprofanity import check
text = "I shit a lot."
if check(text):
	for i in check(text):
		print(f"You said {i}! That is profane!")
>> You said shit! That is profane!

Try and edit the text to include multiple swear words to test it out if you want.

EZprofanity can also detect multiple variants of a word like: sh1t sh i t etc...

You may also include other words:

from ezprofanity import check
text = "censoredword"
if check(text,include=["censoredword"]):
	print("Profane!")
>>> Profane!

If you want to exclude something, you can also do that:

from ezprofanity import check
text = "Sh1t"
if check(text,exclude=["shit"]):
	print("Profane!")
else:
	print("OK!")
>>> OK!

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

EZprofanity-0.0.5.tar.gz (2.4 kB view hashes)

Uploaded Source

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