command-line tool that simplifies the management of project's `requirements.txt` file
Project description
PiRG - Pip Requirements Generator
Description
PiRG (Pip Requirements Generator) is a minimalist command-line tool designed for Python developers who prefer a simple approach to managing project dependencies. Unlike traditional requirements files that include all installed packages and their dependencies, PiRG focuses on capturing only the primary packages you install using pip install
. This makes your requirements.txt
file concise and easier to manage.
With PiRG, you can also pass additional pip install
or pip uninstall
options to customize package installation and removal.
Philosophy
Instead of looking back and searching through project files which packages are needed for project, with PiRG you record each installed package. If you don't want to put some package into requirements.txt
just use pip
.
Installation
Prerequisites
Before using pirg, make sure you have Python 3.8 or higher installed on your system.
Installation Steps
-
Install pirg using pip:
pip install pirg
-
Verify the installation by running:
pirg --help
-
You're ready to use pirg!
Usage
- install - Add package to environment and
requirements.txt
- uninstall - Remove package from environment and
requirements.txt
- search - Search PyPI for package
Acknowledgments & License
This project makes use of the following third-party libraries, each with its own licensing terms:
- Typer (MIT License)
- Requests (Apache License 2.0)
- packaging (Apache License 2.0)
- fuzzywuzzy (GPL-2.0 License)
- BeautifulSoup (MIT License)
Additionally, this project contains code under the GPL-2.0 License
Contributions
Contributions to pirg are welcome! If you encounter any issues or have suggestions for improvements, please open an issue or submit a pull request on the GitHub repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pirg-1.3.1.tar.gz
.
File metadata
- Download URL: pirg-1.3.1.tar.gz
- Upload date:
- Size: 25.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a3bbc5a5623866166ff218cd13a981d5e4cc3437b9fbeee285d13e3827abff7 |
|
MD5 | da9c1406d7c1ee7a50921c5ce6fae953 |
|
BLAKE2b-256 | 5d22315772316dba8454a50dd045b97ab7c2d0211c7375e6aad2f529d2be328f |
File details
Details for the file pirg-1.3.1-py3-none-any.whl
.
File metadata
- Download URL: pirg-1.3.1-py3-none-any.whl
- Upload date:
- Size: 18.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20c8784419183dc707d954b7050bb1797553f1eec1f4f363166264e7ef1a22ba |
|
MD5 | 714dafb84a6ace29b472dda9763edb6c |
|
BLAKE2b-256 | cb3bbfb2d7381d1dba1fff029229bf6c64718f5b8ad03a93b6ec06b8045979c9 |