SafeComms Python SDK
Official Python client for the SafeComms API.
SafeComms is a powerful content moderation platform designed to keep your digital communities safe. It provides real-time analysis of text to detect and filter harmful content, including hate speech, harassment, and spam.
Get Started for Free: We offer a generous Free Tier for all users, with no credit card required. Sign up today and start protecting your community immediately.
Documentation
For full API documentation and integration guides, visit https://safecomms.dev/docs.
Installation
pip install safecomms
Usage
from safecomms import SafeCommsClient
client = SafeCommsClient(api_key="your-api-key")
# Moderate text
result = client.moderate_text(
content="Some text to check",
language="en",
replace=True
)
print(result)
# Get usage
usage = client.get_usage()
print(usage)
Release files for safecomms 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| safecomms-0.1.1.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| safecomms-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.8 kB
Release files / safecomms-0.1.1.tar.gz
| Download URL | safecomms-0.1.1.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
90c93b4ecfe2e611a0e7299f6320571d2cb1d2cab3bba3567d9b71410557ed99
|
|
BLAKE2b-256 checksum How to use checksums |
cef1afed7e5c9aada7e452821db6abf9245f4e6a897f92e4f1c58af3e3a290d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / safecomms-0.1.1-py3-none-any.whl
| Download URL | safecomms-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7d728e60192d176b6229fd7bda8abb801dd688a1abb30deb83092e120cb81d12
|
|
BLAKE2b-256 checksum How to use checksums |
64a013c42d9208e491a0c5e4947d1b38daa7c4624fb5ee0ca6d5a5a8d6668451
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|