Metadata-Version: 2.4
Name: redactflow
Version: 0.0.2
Summary: AI-powered PDF redaction tool with conversational interface
License: MIT
License-File: LICENSE
Requires-Python: >=3.11
Requires-Dist: azure-ai-documentintelligence>=1.0.0b4
Requires-Dist: fastapi>=0.109.0
Requires-Dist: google-genai>=1.0.0
Requires-Dist: httpx>=0.25.0
Requires-Dist: langchain-openai>=0.2.0
Requires-Dist: langchain>=0.3.0
Requires-Dist: langgraph>=0.2.0
Requires-Dist: langsmith>=0.1.0
Requires-Dist: openai>=1.93.0
Requires-Dist: opentelemetry-exporter-otlp-proto-grpc>=1.29.0
Requires-Dist: opentelemetry-instrumentation-fastapi>=0.50b0
Requires-Dist: opentelemetry-instrumentation-httpx>=0.50b0
Requires-Dist: opentelemetry-sdk>=1.29.0
Requires-Dist: pandas>=1.5.0
Requires-Dist: pillow>=9.0.0
Requires-Dist: pydantic>=2.5.3
Requires-Dist: pymupdf<2.0.0,>=1.25.0
Requires-Dist: python-dotenv>=1.0.0
Requires-Dist: python-jose[cryptography]>=3.3.0
Requires-Dist: python-multipart>=0.0.6
Requires-Dist: requests>=2.31.0
Requires-Dist: rich>=13.0.0
Requires-Dist: stripe>=8.0.0
Requires-Dist: supabase>=2.0.0
Requires-Dist: tavily-python>=0.3.7
Requires-Dist: typer>=0.9.0
Requires-Dist: uvicorn>=0.27.0
Provides-Extra: cli
Requires-Dist: httpx>=0.25.0; extra == 'cli'
Requires-Dist: rich>=13.0.0; extra == 'cli'
Requires-Dist: typer>=0.9.0; extra == 'cli'
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == 'dev'
Requires-Dist: ruff>=0.4.0; extra == 'dev'
Description-Content-Type: text/markdown

# RedactFlow

AI-powered PDF redaction CLI. Detect and remove sensitive information (PII, HIPAA, financial data, etc.) from PDF documents.

## Installation

```bash
uv tool install redactflow
# or
pipx install redactflow
```

## Quick Start

```bash
# Log in (opens browser)
redactflow login

# Detect sensitive data
redactflow redact contract.pdf -p "Redact all personally identifiable information"

# Iterate with a different prompt
redactflow redact --project <project_id> -p "Also redact phone numbers"

# Export redacted PDF
redactflow export <project_id>
```

## Commands

| Command | Description |
|---------|-------------|
| `redactflow login` | Authenticate via browser |
| `redactflow redact <file> -p "..."` | Upload PDF and detect sensitive data |
| `redactflow redact --project <id> -p "..."` | Re-detect on existing project |
| `redactflow export <id>` | Apply redactions and download PDF |
| `redactflow status <id>` | Check project status |
| `redactflow delete <id>` | Delete a project |
| `redactflow logout` | Clear credentials |

## Claude Code Skill

RedactFlow works as a Claude Code skill. Install the CLI, then the agent can use it to redact PDFs through natural language conversation.

## Links

- [Documentation](https://github.com/matthewyijielu0317/RedactFlow/blob/develop/docs/cli.md)
- [Source Code](https://github.com/matthewyijielu0317/RedactFlow)
