Metadata-Version: 2.4
Name: kuroi
Version: 0.1.2
Summary: Strip sensitive data from PDFs with LLM assistance.
Author: ICIJ
License: AGPL-3.0-or-later
License-File: LICENSE
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.12
Requires-Dist: anthropic>=0.40
Requires-Dist: claude-agent-sdk>=0.1.80
Requires-Dist: httpx>=0.27
Requires-Dist: pymupdf>=1.24
Requires-Dist: pyyaml>=6.0
Requires-Dist: questionary>=2.0
Requires-Dist: rich>=13.7
Requires-Dist: typer>=0.12
Provides-Extra: dev
Requires-Dist: mypy>=1.10; extra == 'dev'
Requires-Dist: pytest-snapshot>=0.9; extra == 'dev'
Requires-Dist: pytest>=8.2; extra == 'dev'
Requires-Dist: ruff>=0.5; extra == 'dev'
Requires-Dist: types-pyyaml; extra == 'dev'
Provides-Extra: docs
Requires-Dist: mkdocstrings[python]>=0.27; extra == 'docs'
Requires-Dist: zensical>=0.0.11; extra == 'docs'
Description-Content-Type: text/markdown

# kuroi

<div align="center">

|      | Status |
| ---: | :--- |
| **CI checks** | [![CI](https://img.shields.io/github/actions/workflow/status/ICIJ/kuroi/ci.yml?style=flat-square)](https://github.com/ICIJ/kuroi/actions/workflows/ci.yml) |
| **Latest version** | [![PyPI](https://img.shields.io/pypi/v/kuroi?style=flat-square&color=success)](https://pypi.org/project/kuroi/) |
| **Release date** | [![Release date](https://img.shields.io/github/release-date/ICIJ/kuroi?style=flat-square&color=success)](https://github.com/ICIJ/kuroi/releases/latest) |
| **Python** | [![Python](https://img.shields.io/pypi/pyversions/kuroi?style=flat-square)](https://pypi.org/project/kuroi/) |
| **License** | [![License](https://img.shields.io/github/license/ICIJ/kuroi?style=flat-square)](https://github.com/ICIJ/kuroi/blob/main/LICENSE) |
| **Open issues** | [![Open issues](https://img.shields.io/github/issues/ICIJ/kuroi?style=flat-square&color=success)](https://github.com/ICIJ/kuroi/issues) |

Strip sensitive data from PDFs with LLM assistance.

<img src="docs/assets/icon-512.png" alt="kuroi" width="160" />

</div>

## Quick start

```sh
pip install kuroi
export ANTHROPIC_API_KEY=sk-ant-...
kuroi run document.pdf -o document.redacted.pdf
```

See the [Quick start guide](https://icij.github.io/kuroi/user-guide/quickstart/)
for the end-to-end walkthrough, including the diff/verify/undo cycle.

## License

AGPL-3.0-or-later. See [LICENSE](LICENSE).

