Metadata-Version: 2.4
Name: reqbuddy
Version: 0.1.6
Summary: Lightweight tool to extract and analyze Python requirements.
Author-email: Astin Biju <astinofficial44@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/AstinOfficial/reqbuddy
Project-URL: Source, https://github.com/AstinOfficial/reqbuddy
Project-URL: Issues, https://github.com/AstinOfficial/reqbuddy/issues
Keywords: requirements,parser,dependencies,tools,requirement finder,create requirements,build requirements,project
Classifier: Programming Language :: Python :: 3
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: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# 📦 reqbuddy – Python Requirement File Helper

![PyPI](https://img.shields.io/pypi/v/reqbuddy?color=blue)
![Python](https://img.shields.io/pypi/pyversions/reqbuddy)
![License](https://img.shields.io/github/license/AstinOfficial/reqbuddy)



A lightweight Python utility for managing `requirements.txt` files and discovering installed packages. It includes both a Python API and CLI for convenience.

📌 **Available on PyPI**: [https://pypi.org/project/reqbuddy/](https://pypi.org/project/reqbuddy/)


## ✨ Features

- **🔍 Read & clean `requirements.txt`**
- **📄 Generate requirements.txt from the current environment**
- **🧹 Strip version constraints if needed**
- **🖥️ CLI support: `reqbuddy get`, `reqbuddy find`**
- **♻️ Remove duplicate entries**

## 🔧 Installation
  ```bash
   pip install reqbuddy
   ```
## 🚀 CLI Usage
  ```bash
 # Generate requirements.txt from current environment
reqbuddy find

# Read and print requirements
reqbuddy get

   ```
## 🧑‍💻 Python Usage
  ```bash
from reqbuddy import find_requirement, get_requirement

# Generate requirements.txt
genreqs = find_requirement(strip=False, save=True)
print(genreqs)

# Read existing requirements.txt
reqs = get_requirement(strip=True)
print(reqs)
   ```

## ✅ Requirements
- Python 3.8+

## 📝 License
MIT License

## 🤝 Contributing

1. Fork the repository
2. Create a feature branch (`git checkout -b feature/new-feature`)
3. Commit your changes (`git commit -am 'Add new feature'`)
4. Push to the branch (`git push origin feature/new-feature`)
5. Create a Pull Request


## 🙋‍♂️ Author
Astin Biju <br>
Feel free to connect on <a href="https://www.linkedin.com/in/astin-biju/">LinkedIn</a> or message me for questions or collaboration.

