Skip to main content

A Python Intergration For The Profanity Blocker API

Project description

ProfanityBlocker is a rules engine that is able to identify and block words and phrases that have been identified as containing Profane Language.

Pricing information for ProfanityBlocker can be found at: https://www.profanity-blocker.co.uk/#pricing

We have designed our Python implementation to be simple to use. Meaning that sending a request to our service to process only takes three lines of code!

import ProfanityBlocker

Service = ProfanityBlocker.ProfanityService(LicenceKey,EmailFilter=False, LinkFilter=False,PhoneFilter=False)

print(Service.ParseText(“Test”))

ProfanityBlocker has a range of filters that you can enable in your requests, as seen above, you can enable filtering out; E-Mail addresses, Web Links as well as Phone Numbers!

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

ProfanityBlocker-0.1.3.tar.gz (2.3 kB view details)

Uploaded Source

File details

Details for the file ProfanityBlocker-0.1.3.tar.gz.

File metadata

  • Download URL: ProfanityBlocker-0.1.3.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for ProfanityBlocker-0.1.3.tar.gz
Algorithm Hash digest
SHA256 3d6dad38e3ab236d35b3d783700e9631b076c7c62ea3a927093f58222a0415a0
MD5 00fa9fcb8834e8c662f923f36c5a0a79
BLAKE2b-256 a484accbc2ca5dbdb138c6a5f3ec11a24272abcadde2f00ea91fffad977a815f

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