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

Uploaded Source

File details

Details for the file EZprofanity-0.0.5.tar.gz.

File metadata

  • Download URL: EZprofanity-0.0.5.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for EZprofanity-0.0.5.tar.gz
Algorithm Hash digest
SHA256 346765dff7595b229aeb47c26796603fbd2d5da63953d7ea933537c2f38a6f33
MD5 4f037bbb97f2a19ab807fc91bf8dc058
BLAKE2b-256 2b3a3c0b5e941256f69a21d1e13ff08daf1e75eb672545be4b726c63e11d44bf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page