GjjvdBurg / safer_pip

Script for (slightly) safer installation of Python packages with pip

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

(Slightly) Safer pip

This bash script creates a slightly safer way to install Python packages with pip. It was inspired by this blog post by NikolaiT, and by Yaourt.

What this script does is download the desired package with pip, unzips it, asks the user to verify the setup.py file, and installs it when the user confirms to do so. It's very basic and doesn't provide strong security, but it at least allows the user to easily verify the setup.py file before installing a package.

Note that this script installs packages to the users directory by default by using the --user flag to pip install. This way, it shouldn't be necessary to run pip with administrator privileges.

This is alpha software, please use at your own risk and let me know if you find any bugs.

About

Script for (slightly) safer installation of Python packages with pip

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%