Metadata-Version: 2.4
Name: compile-pdf-rewrite
Version: 0.1.0
Summary: CompilePDF rewrite producer.
Project-URL: Homepage, https://compilepdf.com
Project-URL: Repository, https://github.com/printwithsynergy/compile-pdf-rewrite
Project-URL: Issues, https://github.com/printwithsynergy/compile-pdf-rewrite/issues
Author-email: Print With Synergy <iam@quincy.codes>
License: AGPL-3.0-or-later
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Multimedia :: Graphics
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.12
Requires-Dist: click>=8.1
Requires-Dist: codex-pdf<2.0,>=1.15.0
Requires-Dist: compile-pdf-core<1.0,>=0.1.0
Requires-Dist: fastapi>=0.110
Requires-Dist: pikepdf>=8.13
Requires-Dist: pillow>=10.2
Requires-Dist: pydantic>=2.6
Requires-Dist: structlog>=24.1
Provides-Extra: dev
Requires-Dist: mypy>=1.9; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.23; extra == 'dev'
Requires-Dist: pytest-cov>=4.1; extra == 'dev'
Requires-Dist: pytest>=8.0; extra == 'dev'
Requires-Dist: ruff>=0.4; extra == 'dev'
Description-Content-Type: text/markdown

# compile-pdf-rewrite

Object-tree mutations for CompilePDF: OCG, metadata, colour-space, hygiene, lifecycle.

Fifteen mutations across structural, hygiene, and lifecycle categories. OCG flips, page lifecycle ops, page-box patches, metadata set/strip, colour-space swap, JavaScript strip, PDF/X pin. Three-layer verifier: schema, determinism, nothing-else-touched.

## Install

```bash
uv pip install compile-pdf-rewrite
```

## Position in the stack

One of four [CompilePDF](https://compilepdf.com) producers (trap, impose, marks, rewrite). Each lives in its own repo and PyPI package so you install only what you need. Producers depend on `compile-pdf-core`, never on each other.

- Repo: https://github.com/printwithsynergy/compile-pdf-rewrite
- Deployment host: https://github.com/printwithsynergy/compile-pdf
- License: AGPL-3.0-or-later
