Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Sanitization Python Packages

Python packages with the GitHub topic sanitization. Sorted by monthly downloads, with stars and forks.
thombashi
pathvalidate

A Python library to sanitize/validate a string such as filenames/file-paths/etc.

18M 300 28
Project-Navi
navi-sanitize

Deterministic input sanitization for untrusted text — invisible characters, homoglyphs, and encoding tricks, handled before your code sees them. Zero dependencies, no ML. Python 3.12+.

232K 3 0
emilstenstrom
justhtml

A pure Python HTML5 parser that just works. No C extensions to compile. No system dependencies to install. No complex API to learn.

187K 1K 50
vmware-skills
vmware-policy

Shared policy, audit and sanitization library for VMware Skills, with the vmware-audit CLI. Dependency library; no standalone MCP server.

9K 0 0
solentlabs
har-capture

Capture and sanitize HAR (HTTP Archive) files with deep PII removal. Perfect for support diagnostics, security reviews, and test fixtures.

7K 6 1
IV1T3
uploadshield

Content-aware validation and sanitization of file uploads for Django, Flask and FastAPI. Detects disguised and malicious files by their bytes, not their names.

3K 9 3
kylemclaren
scrubadubdub

A Python package to scrub PII

2K 28 8
ovitrac
cloakmcp

CloakMCP — local-first, deterministic sanitizer for secrets before LLMs

864 8 1
NicPWNs
glyphguard

Detect, decode and remove hidden Unicode: invisible text, ASCII smuggling, homoglyphs, Trojan Source bidi and prompt injection. Python library, CLI and GitHub Action for LLM, code and AI agent security.

617 2 1
megamen32
git-private2public

Like .gitignore for publishing private repo: delete paths, replace secrets, scan, push.

533 1 0
rezemika
oh-sanitizer

A corrector for the 'opening_hours' fields from OpenStreetMap

241 2 0
shisa-ai
textguard

Hostile-text normalization, inspection, and cleaning for LLM-adjacent systems.

216 2 0
thombashi
pathvalidate-cli

pathvalidate-cli is a command line interface for pathvalidate library. The tool can do sanitize/validate a string such as file-names/file-paths.

207 5 0
Joao-Pedro-P-Holanda
beware

A pure python package with zero dependencies that provides functions to track the usage of unsafe attributes on the code and perform sanitization.

196 1 0
loncoeng
publish-guard

Find what you forgot to remove before publishing a repository — git history included

149 0 0
defai-digital
sdsa

Self-hostable data sanitization app with PII detection, pseudonymization, k-anonymity, and bounded DP noise

136 0 0
smvrnn
vgscode

Validate Generate Sanitize Code

51 0 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology