Metadata-Version: 2.4
Name: pip-brief
Version: 1.2.0
Summary: A simple wrapper for pip install with clean, organized output
Author-email: Nachiket-Mehendale <mehendalenachiket@gmail.com>
License: MIT License
        
        Copyright (c) 2025 Nachiket Mehendale
        
        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/Nachiket-Mehendale/pip-brief
Project-URL: Repository, https://github.com/Nachiket-Mehendale/pip-brief
Project-URL: Issues, https://github.com/Nachiket-Mehendale/pip-brief/issues
Keywords: pip,wrapper,cli,package-manager,install,uninstall,requirements,summary
Classifier: Development Status :: 5 - Production/Stable
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.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: System :: Installation/Setup
Classifier: Topic :: Utilities
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# pip-brief

A wrapper for pip that shows clean, organized installation and uninstallation summaries.

## Features

- Organized output with numbered sections
- Install single or multiple packages
- Install from requirements files with `-r`
- Uninstall single or multiple packages
- Shows packages skipped by environment markers
- Removes duplicate messages
- Verbose mode for full pip output

## Installation

```bash
pip install pip-brief
```

## Usage

### Install packages

```bash
pip-brief install numpy
pip-brief install numpy pandas matplotlib
pip-brief install numpy --verbose
```

### Install from a requirements file

```bash
pip-brief install -r requirements.txt
pip-brief install -r D:\Test\requirements.txt
pip-brief install -r base.txt -r dev.txt
```

Nested files (`-r other.txt` inside the file), version specifiers, comments and environment markers are handled by pip. A missing file or an invalid line is reported under Errors.

### Uninstall packages

```bash
pip-brief uninstall numpy
pip-brief uninstall numpy pandas
pip-brief uninstall numpy --yes
```

Without `--yes`, pip asks for confirmation. With `--yes`, the prompt is skipped and a summary is shown.

## Output Example

```
Summary of requirements.txt installation:
=========================================

1) Installed:
termcolor (3.3.0)


2) Already Satisfied:
pyyaml (6.0.3), tqdm (4.67.1)


3) Skipped:
pywin32 (marker does not match this environment)
```

## Output Sections

Install shows the sections that apply:

1. Installed - new packages
2. Already Satisfied - packages already present
3. Skipped - packages ignored by environment markers
4. Warnings - pip warnings (cleaned)
5. Errors - installation errors
6. Dependencies - packages collected

Uninstall shows:

1. Uninstalled - removed packages
2. Errors - uninstall errors

Sections are numbered in order, and only applicable ones appear.

## Requirements

- Python 3.6+
- pip

## License

MIT License - see LICENSE file
