SXXXXXXX_PyHasher/CLAUDE.md
2025-11-12 13:07:15 +01:00

18 lines
765 B
Markdown

# CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
## Commands
- To run the application: `python -m pyhasher`
## Architecture
This is a desktop GUI application built with Python and Tkinter for calculating file hashes.
The core logic is decoupled from the GUI:
- **`pyhasher/core/core.py`**: Contains the `calculate_hashes_for_file` function, which handles all file reading and hash computations. It processes files in chunks to efficiently handle large files. This module has no dependency on the GUI.
- **`pyhasher/gui/gui.py`**: Implements the user interface using Tkinter. It gets the file path from the user, calls the core function to perform the calculations, and displays the results.