Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 1.3.1 instead.
Reason given by maintainers: bugs

PiRG - Pip Requirements Generator


License: GPL-2.0 Python

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.

Installation

Prerequisites

Before using pirg, make sure you have Python 3.8 or higher installed on your system.

Installation Steps

  1. Install pirg using pip:

    pip install pirg
    
  2. Verify the installation by running:

    pirg --help
    
  3. You're ready to use pirg!

Usage

Adding Packages to requirements.txt

To add one or more packages to your project's requirements.txt file and install them, use the following command:

pirg install package_name1 package_name2 ...

Removing Packages from requirements.txt

To remove one or more packages from your project's requirements.txt file and uninstall them, use the following command:

pirg uninstall package_name1 package_name2 ...

Note: Make sure to replace package_name1, package_name2, etc., with the actual names of the packages you want to add or remove.

Additional Options

  • You can specify a custom path for your requirements.txt file using the --requirements-path option. By default, it assumes ./requirements.txt.

Acknowledgments

This project makes use of the following third-party libraries, each with its own licensing terms:

Additionally, this project contains code under the GPL-2.0 License:

License

This project is licensed under the terms of the GNU General Public License, version 2.0. See the GPL-2.0 License file for details.

The third-party libraries Typer, Packaging and Requests are used in this project and have their own respective licenses. Please review their licenses in the licenses directory for more information.

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.

Download files

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

Source Distribution

pirg-1.1.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

pirg-1.1.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file pirg-1.1.0.tar.gz.

File metadata

  • Download URL: pirg-1.1.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for pirg-1.1.0.tar.gz
Algorithm Hash digest
SHA256 a316406c70fb8ab28a3eb38443712f86f0040524b57f13433e25d7a085ce024a
MD5 2e261f0d39c5be63f6864aaefc102a61
BLAKE2b-256 a6cca1158983fff2f1467cbb1e3f70f2481264c7db081c2bdcd8155eed211db9

See more details on using hashes here.

File details

Details for the file pirg-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: pirg-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for pirg-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3c031bba839f50f7c7a4c96031637782c30f730a743117db68eaffcb71b42610
MD5 7d75ddb3d78020071370c5cc7a431a50
BLAKE2b-256 de180dce514424e08b6982bf459ee89616182311495f0f861c8cc3ac317d70f4

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 Sentry Error logging StatusPage Status page