Skip to content

Getting Started

Rudra644 edited this page Jun 18, 2026 · 1 revision

Getting Started

Installation

pip install pychase

Requires Python 3.10+ with zero external dependencies.

Or install from source:

git clone https://github.com/Mayne-X/PyChase.git
cd PyChase
pip install .

Quick Start

Scan the current directory for duplicate code:

pychase .

Scan specific files or directories:

pychase src/module_a.py src/module_b.py
pychase --threshold 0.85 ./src ./tests

Generate an interactive HTML report:

pychase --format html --output duplicates.html .

First Run

$ pychase .
PyChase found 3 duplicate groups (5 pairs) across 42 units

DUPLICATE score=1.000
  src/utils.py:12-18 format_date
  src/helpers.py:8-14 format_time

DUPLICATE score=0.786
  src/models/user.py:34-42 User.validate
  src/models/order.py:28-36 Order.validate

Next Steps

Clone this wiki locally