Official Python SDK for SafeComms API
Project description
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)
Project details
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file safecomms-0.1.1.tar.gz.
File metadata
- Download URL: safecomms-0.1.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90c93b4ecfe2e611a0e7299f6320571d2cb1d2cab3bba3567d9b71410557ed99
|
|
| MD5 |
175f683222a8bbd2ec9e1a2635857a15
|
|
| BLAKE2b-256 |
cef1afed7e5c9aada7e452821db6abf9245f4e6a897f92e4f1c58af3e3a290d0
|
File details
Details for the file safecomms-0.1.1-py3-none-any.whl.
File metadata
- Download URL: safecomms-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d728e60192d176b6229fd7bda8abb801dd688a1abb30deb83092e120cb81d12
|
|
| MD5 |
af90c17d7548cc2d986d4e627498a955
|
|
| BLAKE2b-256 |
64a013c42d9208e491a0c5e4947d1b38daa7c4624fb5ee0ca6d5a5a8d6668451
|