Metadata-Version: 2.4
Name: reddocx
Version: 0.0.3
Summary: Python library for programmatically creating Microsoft Word track-changes (insertions & deletions) via direct OOXML processing.
Author: Ayush Kumar
Project-URL: Homepage, https://github.com/ayush9h/red-docx
Keywords: docx,word,track-changes,ooxml,lxml
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Text Processing :: Markup :: XML
Classifier: Topic :: Office/Business
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: lxml>=6.0.2
Requires-Dist: lxml-stubs>=0.5.1
Dynamic: license-file

# reddocx


![PyPI version](https://img.shields.io/pypi/v/reddocx)
![Python versions](https://img.shields.io/pypi/pyversions/reddocx)
![License](https://img.shields.io/pypi/l/reddocx)
![Status](https://img.shields.io/badge/status-active-success)

Lightweight track-changes engine for Microsoft Word (.docx) files using direct XML manipulation.

`reddocx` provides a minimal and fast way to programmatically add tracked revisions
(insertions and deletions) to Word documents without requiring Microsoft Word or
heavy document processing libraries.


## Features

- Word-style tracked changes (insert / delete revisions)
- Paragraph-level word replacement tracking
- Pure XML processing using lxml
- No Microsoft Word dependency
- Lightweight and fast
- Supports file path, bytes, or memory streams


## Installation

 - Default Installation
```bash
pip install reddocx
 ```
 - UV installation
 ```bash
 uv pip install reddocx
