Metadata-Version: 2.3
Name: scramblepdf
Version: 0.3.2
Summary: 
License: MIT
Keywords: utilities
Author: VermiIIi0n
Author-email: dungeon.behind0t@icloud.com
Requires-Python: >=3.12,<4.0
Classifier: Development Status :: 4 - Beta
Classifier: Framework :: Pytest
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Utilities
Classifier: Typing :: Typed
Provides-Extra: webui
Requires-Dist: fonttools (>=4.57.0,<5.0.0)
Requires-Dist: pikepdf (>=9.7.0,<10.0.0)
Project-URL: Homepage, https://github.com/VermiIIi0n/scramble-pdf
Project-URL: Issues, https://github.com/VermiIIi0n/scramble-pdf/issues
Description-Content-Type: text/markdown

# Scramble PDF Text Encodings

<p align="center">
  <img src="./img/logo.png" alt="logo" width="25%" />
</p>

Make your essay unreadable to simple programs. Still readable by humans and OCR.

If you think this is a terrible idea, I know it is, and it's probably not for you.

## Usage Guide

### `pip` Install

```shell
pip install scramblepdf
```

or with webui support:

```shell
pip install "scramblepdf[webui]"
```

### Local Install

#### Install Poetry

```shell
curl -sSL https://install.python-poetry.org | python3 -
# or follow the instructions on Poetry’s official site.
```

#### Clone the Repository

```shell
git clone https://github.com/VermiIIi0n/scramble-pdf.git
cd scramble-pdf
```

#### Install Dependencies

```shell
poetry install
```

#### Activate the Virtual Environment

```shell
poetry env activate
# poetry shell
```

### Run in CLI

```shell
python -m scramblepdf input_pdf output_pdf --ratio 0.3
# choose ratio between 0 and 1.0, default: 1.0
```

### Run in WebGUI

```shell
streamlit run gui/web/app.py
```

