Skip to main content

Lightweight tool to extract and analyze Python requirements.

Project description

📦 reqbuddy – Python Requirement File Helper

PyPI Python License Downloads

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

✨ 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

 pip install reqbuddy

🚀 CLI Usage

# Generate requirements.txt from current environment
reqbuddy find

# Read and print requirements
reqbuddy get

🧑‍💻 Python Usage

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
Feel free to connect on LinkedIn or message me for questions or collaboration.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reqbuddy-0.1.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reqbuddy-0.1.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file reqbuddy-0.1.0.tar.gz.

File metadata

  • Download URL: reqbuddy-0.1.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for reqbuddy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ce50427b9cbba5b99c00d1503d43ecc1439b363014c75c02404a4bc4811d5749
MD5 8c91ac1f1e11befb1234c86ce388c393
BLAKE2b-256 687ef45c85375ef60217f85aa96f1e3d9f5e0c782c58f7db660fcd6b85c69ff9

See more details on using hashes here.

File details

Details for the file reqbuddy-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: reqbuddy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for reqbuddy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c1f18990190c8341050fc17f54e565dbae1f1ecc97235cc7683e8ba079855a63
MD5 e9a51dae912e9ee2e990c74b7a24292a
BLAKE2b-256 7a16fb61bfa1d34b7f2dcd1b924c564bf318a686a267e7be60121d38adeaf5d1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page