Metadata-Version: 2.4
Name: django-project-scrubber
Version: 0.1.0
Summary: A tool to analyze Django projects for unused components
Home-page: https://github.com/HappyMinsker/DjangoScrubber
Author: HappyMinsker
Author-email: daniit.system@gmail.com
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: Django>=3.0
Requires-Dist: click>=8.0
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# Django Scrubber

A tool to analyze Django projects for unused components, helping you keep your codebase clean and maintainable.

## Features

- Identifies unused URLs
- Finds unused methods
- Detects duplicate method implementations
- Identifies unused templates

## Installation

```bash
pip install django-scrubber
```

## Usage

To analyze a Django project, run:

```bash
django-scrubber /path/to/your/django/project
```

The tool will analyze your project and display a summary of findings, including:
- Unused URLs
- Unused methods
- Duplicate method implementations
- Unused templates

## Example Output

```
Django Project Analysis Summary
==============================
Unused URLs:
- /api/v1/old-endpoint/
- /admin/legacy/

Unused Methods:
- views.old_view
- utils.deprecated_function

Duplicate Methods:
Similar implementations found in:
- views.py:process_data
- utils.py:handle_data

Unused Templates:
- templates/old_design/index.html
- templates/legacy/header.html
```

## Requirements

- Python 3.8 or higher
- Django 3.0 or higher

## License

MIT License 
