You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

prun

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prun

A convenience app for working with virtual environments like a breeze.

0.3.1
pipPyPI
Maintainers
1

prun readme

prun is a convenience app for working with virtual environments. Use prun within a folder structure that has a virtual environment folder to automatically work with the python of the virtual environment.

First, create a local virtual environment in the .venv folder. This can be done using the virtualenv package.

python -m virtualenv .venv

The path to the python executable of the local virtual environment can be printed using the following command:

prun -show

prun can be used to install python packages in the local virtual environment.

prun pip install numpy

Running a python file, using the python executable from the local virtual environment is easy with prun.

prun script.py arg0 arg1

When executing prun without any extra command line arguments, the python of the virtual environment will be executed.

prun

prun can run any command line command.

prun command arg0 arg1 ...

Keywords

virtual environment venv .venv virtualenv pipenv

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts