PyRank
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About

Content Moderation Python Packages

Python packages with the GitHub topic content-moderation. Sorted by relevance, with stars and monthly downloads.
vstorm-co
pydantic-ai-shields

Guardrail capabilities for Pydantic AI — cost tracking, prompt injection detection, PII filtering, secret redaction, tool permissions, and async guardrails. Built on pydantic-ai's native capabilities API.

110K 63 10
vstorm-co
pydantic-ai-middleware

Guardrail capabilities for Pydantic AI — cost tracking, prompt injection detection, PII filtering, secret redaction, tool permissions, and async guardrails. Built on pydantic-ai's native capabilities API.

82K 63 10
Lips7
matcher-py

A high-performance matcher designed to solve LOGICAL and TEXT VARIATIONS problems in word matching, implemented in Rust.

30K 18 1
MaxMLang
pytector

Easy to use LLM Prompt Injection Detection and Prompt Input Sanitization / Detector Python Package with support for local models, API-based safeguards, and LangChain guardrails.

6K 41 23
GLINCKER
glin-profanity

Open-source ML-powered profanity filter with TensorFlow.js toxicity detection, leetspeak & Unicode obfuscation resistance. 21M+ ops/sec, 23 languages, React hooks, LRU caching. npm & PyPI.

3K 52 8
corefrg
lexicont

Lightweight LLM agent for text moderation with deterministic pipeline: profanity rules → ML → LLM. Production-grade, YAML configurable. Uses glin-profanity + rapidfuzz + detoxify with Qwen LLM agent (llamacpp/Ollama) + RAG. Early-stop logic. Pure Python, CLI/API/SDK.

2K 1 1
anthalehq
anthale

The official Python library for the anthale API

2K 1 0
siftfy
siftfy

Official Python client for the Siftfy spam-classification API.

1K 0 0
Yegmina
toxic-detection

Intelligent AI Agent for Real-time Content Moderation with 97.5% accuracy

961 1 0
Data-ScienceTech
forcefield

ForceField Python SDK -- AI security in 3 lines of code. Prompt injection detection, PII redaction, security evals, tool governance. GitHub Action, pre-commit hook, Homebrew, VS Code extension.

718 1 0
MOB-sys
llm-medical-guard

Guardrails for LLM-generated medical and health content

700 0 0
FlacSy
badwords-py

This is a library for effective moderation of content.

624 13 3
viddexa
moderators

One package to moderate them all

387 6 0
Data-ScienceTech
llama-index-forcefield

ForceField Python SDK -- AI security in 3 lines of code. Prompt injection detection, PII redaction, security evals, tool governance. GitHub Action, pre-commit hook, Homebrew, VS Code extension.

377 1 0
psyduckler
veracityapi

Content trust API for agents: synthetic risk, slop risk, and pre-publish recommendations

372 0 0
ymrohit
openscenesense

A video analysis toolkit using OpenAI and Openrouter vision models

244 23 1
apparebit
shantay

investigating the EU's DSA transparency database

238 3 1
Data-ScienceTech
langchain-forcefield

ForceField Python SDK -- AI security in 3 lines of code. Prompt injection detection, PII redaction, security evals, tool governance. GitHub Action, pre-commit hook, Homebrew, VS Code extension.

198 1 0
Tuteliq
tuteliq

Official Python SDK for Tuteliq - AI-powered child safety API

182 0 0
RAILethicsHub
rail-score

DEPRECATED — use rail-score-sdk instead. This package redirects to rail-score-sdk.

182 2 1
SafeNestSDK
safenest

Official Python SDK for SafeNest - AI-powered child safety API

165 0 0
isaac-rnd
sentraiq-core

A Python package for configurable content moderation.

128 0 0
stef41
vibesafex

AI safety guardrails - content filtering, toxicity detection, and safety scoring.

110 2 0
safelyx
safelyx

API client for Safelyx.

106 0 0
    • Data from PyPI, GitHub, ClickHouse, and BigQuery