EveryDev.ai
Subscribe
Home
Tools

4,536+ AI tools

  • New
  • Trending
  • Featured
  • Rate tools
  • Compare
  • Arena
Categories
  • Agents3274
  • Coding2275
  • Infrastructure1000
  • Projects696
  • Marketing636
  • Research587
  • MCP532
  • Design508
  • Analytics506
  • Testing394
  • Security376
  • Data327
  • Integration244
  • Prompts244
  • Communication235
  • Extensions217
  • Voice193
  • Learning190
  • Commerce170
  • DevOps153
  • Web103
  • Finance36
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • Users
  • Rate Tools
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai © 2026
    1. Home
    2. Tools
    3. DataFog Python
    DataFog Python icon

    DataFog Python

    Data Protection
    Featured

    Python library for offline PII detection and redaction, with a Claude Code hook and LiteLLM guardrail for AI agents and LLM apps.

    Visit Website

    At a Glance

    Pricing
    Open Source

    DataFog Python library, an offline PII detection and redaction library released under the MIT License.

    Engagement

    Available On

    Windows
    macOS
    Linux
    Web
    API

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    Data ProtectionAI Development LibrariesCode Security

    Alternatives

    PII-ShieldSDV (Synthetic Data Vault)Person Pixelizer
    Developer
    DataFogSan Francisco, CA

    Listed Oct 2026

    About DataFog Python

    DataFog Python is an MIT-licensed library from DataFog for detecting and redacting personally identifiable information (PII) in text. It runs locally and includes ready-made enforcement points for AI agents and LLM gateways. The latest release listed on GitHub is v4.9.0.

    What It Is

    DataFog Python is an SDK and CLI that scans text for PII and returns findings or redacted output. The default regex engine covers structured entities such as email, phone, SSN, credit card, IP address, date and ZIP code. Optional spaCy and GLiNER engines add named-entity detection for unstructured text like person and organization names, and a smart engine cascades regex with the NER engines.

    Agent and Gateway Firewall

    The README describes two enforcement points that catch PII before it leaves the machine, without echoing matched values into logs or transcripts. The Claude Code hook (datafog-hook) gates agent tool calls such as shell commands, web requests, file writes and MCP tools, and warns the model when prompts or tool results contain PII. The LiteLLM guardrail (DataFogGuardrail) redacts or blocks PII in requests and responses for any LiteLLM-proxied provider. Both default to a high-precision entity set, and allowlists and allowlist regex patterns can exempt known-safe values.

    Using It in Code

    Helpers such as sanitize, scan_prompt, filter_output and create_guardrail cover scanning prompts, redacting model output and wrapping functions with a guardrail. German structured identifiers are opt-in through locale selection. The CLI offers scan, redact, replace (pseudonymize) and hash commands. Backward-compatible DataFog and TextService classes remain available.

    Current Status and Direction

    OCR and Spark support are deprecated in 4.9.0 and slated for removal in 5.0. The 4.9 line also adds opt-in Rust detection through DataFog Core and a native datafog.v5 preview. The DataFog site presents DataFog Core as a separate package and API with its own migration guide. Telemetry is disabled by default and does not include input text or detected values.

    DataFog Python - 1

    Community Discussions

    Be the first to start a conversation about DataFog Python

    Share your experience with DataFog Python, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source (MIT)

    DataFog Python library, an offline PII detection and redaction library released under the MIT License.

    • MIT License
    • Regex PII detection engine
    • Claude Code hook and LiteLLM guardrail
    • Optional spaCy and GLiNER NER support
    • CLI for scan, redact, replace and hash

    Capabilities

    Key Features

    • Regex-based structured PII detection
    • Optional spaCy and GLiNER NER engines
    • Smart engine cascading regex with NER
    • Claude Code hook for gating agent tool calls
    • LiteLLM gateway guardrail
    • Redaction, pseudonymization and hashing
    • Allowlists and allowlist regex patterns
    • Opt-in German structured PII via locales
    • CLI for scan, redact, replace and hash
    • Guardrail decorator for LLM functions
    • Optional OCR and Spark support (deprecated in 4.9)
    • Opt-in telemetry, off by default

    Integrations

    Claude Code
    LiteLLM
    spaCy
    GLiNER
    Presidio (entity name aliases)
    PySpark
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate DataFog Python and help others make informed decisions.

    Rate other tools you’ve used

    Developer

    DataFog

    Open-source privacy tools for AI workflows. Local PII detection and redaction with DataFog MCP and DataFog Core.

    San Francisco, CA
    2 employees
    Read more about DataFog
    WebsiteGitHubX / Twitter
    1 tool in directory

    Similar Tools

    PII-Shield icon

    PII-Shield

    Zero-code Kubernetes sidecar that redacts PII from logs before they leave the pod, ensuring GDPR/SOC2 compliance without any code changes.

    SDV (Synthetic Data Vault) icon

    SDV (Synthetic Data Vault)

    Python library for generating and evaluating synthetic tabular, multi-table, and sequential data using machine learning models.

    Person Pixelizer icon

    Person Pixelizer

    AI-powered tool that automatically detects and pixelates people in images for privacy protection.

    Browse all tools

    Related Topics

    Data Protection

    Tools for encryption, data privacy, and information security.

    31 tools

    AI Development Libraries

    Programming libraries and frameworks that provide machine learning capabilities, model integration, and AI functionality for developers.

    373 tools

    Code Security

    Tools that analyze code for security vulnerabilities and issues.

    65 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions