Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

safecomms-0.1.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

safecomms-0.1.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

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

Hashes for safecomms-0.1.1.tar.gz
Algorithm Hash digest
SHA256 90c93b4ecfe2e611a0e7299f6320571d2cb1d2cab3bba3567d9b71410557ed99
MD5 175f683222a8bbd2ec9e1a2635857a15
BLAKE2b-256 cef1afed7e5c9aada7e452821db6abf9245f4e6a897f92e4f1c58af3e3a290d0

See more details on using hashes here.

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

Hashes for safecomms-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7d728e60192d176b6229fd7bda8abb801dd688a1abb30deb83092e120cb81d12
MD5 af90c17d7548cc2d986d4e627498a955
BLAKE2b-256 64a013c42d9208e491a0c5e4947d1b38daa7c4624fb5ee0ca6d5a5a8d6668451

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