Metadata-Version: 2.4
Name: crpy-tools
Version: 0.1.1
Summary: A CLI and GUI tool built with PySide6
Author-email: Youness <bouness@live.com>
License: MIT License
        
        Copyright (c) 2025 Youness
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/bouness/crpy_tools
Project-URL: Repository, https://github.com/bouness/crpy_tools
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: PySide6
Dynamic: license-file

# crpy - Comment Removal for Python

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

crpy is a powerful tool for removing comments from Python files while preserving code structure and indentation. It offers both command-line interface (CLI) and graphical user interface (GUI) options for maximum flexibility.

## Features

- 🚀 Remove all types of Python comments (#-style)
- 📝 Optionally remove docstrings
- 📁 Process single files or entire directories
- 🔁 Recursive directory processing
- 🎨 Clean code formatting with preserved indentation
- 💻 CLI for scripting and automation
- 🖥️ GUI for easy interactive use
- 📊 Progress reporting and logging

## Installation

### Requirements
- Python 3.7+
- PySide6 (for GUI)

### Install from PyPI
```bash
pip install crpy-tools
```
### Example usage
```bash
# show help
crpy -h

# remove all comments from script.py
crpy script.py -o script_min.py -d
```
