profanity-api 0.1.0
pip install profanity-api
Latest version
Released:
A complete Python client for the profanity.dev API
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: GNU General Public License v3 (GPLv3) (GNU General Public License v3 (GPLv3))
- Author: Nate Harris
- Tags profanity, curse, language, swear, moderation, API, client, JSON
- Requires: Python <4, >=3.8
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Project description
A Python client for profanity.dev's API
Interact with profanity.dev's API
Installation
- From PyPi:
python -m pip install profanity-api
Usage
This client allows you to send messages to profanity.dev's API for analysis. Results include a boolean value for whether the message contains profanity, and a confidence score for the prediction.
Import the profanity_api
package as initialize the API
Example:
import profanity_api
results = profanity_api.is_profane(message="This is the message to test")
print(results.is_profane)
print(results.confidence)
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: GNU General Public License v3 (GPLv3) (GNU General Public License v3 (GPLv3))
- Author: Nate Harris
- Tags profanity, curse, language, swear, moderation, API, client, JSON
- Requires: Python <4, >=3.8
Classifiers
- Development Status
- Intended Audience
- License
- Operating System
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file profanity_api-0.1.0.tar.gz
.
File metadata
- Download URL: profanity_api-0.1.0.tar.gz
- Upload date:
- Size: 15.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa96ea0be33304e4c28494a4ba8edc988932bb5e22fe134e5e32f80f7a2547e2 |
|
MD5 | 5b0dc281da764eeb1bc44d5e365f471c |
|
BLAKE2b-256 | a00e53e342e171d1684a6c0b8e139c1d382ee5975f369b5f177f1f9eb4fea631 |
File details
Details for the file profanity_api-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: profanity_api-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 142aeb93f5f9adfa7cce7e4ddbf4130345ff4ef4c9604c335e970e698455b398 |
|
MD5 | 963c71b2d640f51b8707dfaff48f1f71 |
|
BLAKE2b-256 | 8f2d29fd1b84a88e6c415533c14e3aada58379c6662c6cef28ab2b4c4ba9bb78 |