Package: pipext
pipextpipextis a utility to enhance Python's package installerpip. Withpipext, when you install or uninstall a package, it automatically manages yourrequirements.txtfile by appending, commenting out, or uncommenting package entries as needed.FeaturesAutomatic Requirements Management: On package installation,pipextappends the installed package (with version) torequirements.txtor uncomments it if it's already there.Commenting on Uninstall: On package uninstallation, instead of removing the package fromrequirements.txt,pipextcomments it out, making it easy to keep track of previously used packages.Selective Dependency Addition: Unlike traditional approaches,pipextensures only the primary installed package is added to therequirements.txt, ignoring the dependencies that come along with them.Support for Installation With Dependencies Included Commands:pipextprovides support for installing packages with dependencies added into the commands such as "python -m pip install -U 'channels[daphne]'" ensuring broader compatibility.Custom Requirements File Creation: Need different requirement files for different environments like production or local?pipextgot you covered. Use the-eflag to specify which environment file to update. For example:pipext install -e production somepackagewill update therequirements/production.txtfile.InstallationTo install pipext, run:pipinstallpipextThis will download and install the pipext utility from PyPI, allowing you to use it directly from your terminal or command prompt.UsageInstall a Packagepipextinstallpackage_nameThis will:Install the package usingpip.Add the package with its specific version torequirements.txtor uncomment it if it's already present (but commented out).Uninstall a Packagepipextuninstallpackage_nameThis will:Uninstall the package usingpip.Comment out the package inrequirements.txt.Install/Uninstall a Package to a Specific Environmentpipextinstall-eproductionpackage_name

orpipextuninstall-eproductionpackage_nameThis will:Install/Uninstall the package usingpip.Add or comment out the package with its specific version torequirements/production.txtor uncomment it if it's already present (but commented out).Why pipext?Managing arequirements.txtcan be tedious. You install and uninstall packages during development, and sometimes it's easy to forget to updaterequirements.txtaccordingly.pipexteases this process by automatically managing your requirements file as you modify your environment.ContributingAny kind of contribution is appreciatable! Please open an issue or submit a pull request on myGitHub repository.InstallationTo install pipext, run:pipinstallpipextThis will download and install the pipext utility from PyPI, allowing you to use it directly from your terminal or command prompt.UsageInstall a Packagepipextinstallpackage_nameThis will:Install the package usingpip.Add the package with its specific version torequirements.txtor uncomment it if it's already present (but commented out).Install a Package to a Specific Environmentpipextinstall-eproductionpackage_nameThis will:Install the package usingpip.Add the package with its specific version torequirements/production.txtor uncomment it if it's already present (but commented out).Uninstall a Packagepipextuninstallpackage_nameThis will:Uninstall the package usingpip.Comment out the package inrequirements.txt.Why pipext?Managing arequirements.txtcan be tedious. You install and uninstall packages during development, and sometimes it's easy to forget to updaterequirements.txtaccordingly.pipexteases this process by automatically managing your requirements file as you modify your environment.ContributingAny kind of contribution is appreciatable! Please open an issue or submit a pull request on myGitHub repository.These changes should adequately communicate the new functionalities of your package!