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.

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.0.tar.gz (3.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.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file safecomms-0.1.0.tar.gz.

File metadata

  • Download URL: safecomms-0.1.0.tar.gz
  • Upload date:
  • Size: 3.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.0.tar.gz
Algorithm Hash digest
SHA256 9c771674f7f6dbdcd8facf6e101889249d1410981462c8c3975961304d116904
MD5 32f265fdf16e704d4ea98cb2e574e82e
BLAKE2b-256 6dd26acb866ea806eb86c6da24e3d597c19fbd7a89d4f6e8db0732e5302941c2

See more details on using hashes here.

File details

Details for the file safecomms-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: safecomms-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.8 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a1032c3ffcae0b4eca07aa2316cd64409a24025c6b657e6a842bbad2b71d7702
MD5 6f0bbc54dcb5a8a85b9e594688b7407f
BLAKE2b-256 3d40e780129896322aa294c6965dc2e4ec19799569a190dd983fcd200af504cb

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