A convenience app for working with virtual environments like a breeze.
Project description
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 ...
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file prun-0.3.1-py2.py3-none-any.whl
.
File metadata
- Download URL: prun-0.3.1-py2.py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b36331b08993d1713e074ec3add561350736704ac33f7f9e074a251c9acabc02 |
|
MD5 | f0af4c37d516924021ef3f142dcffbed |
|
BLAKE2b-256 | e479202c7d6bc2270428df363def0c247236c2a21be5ae9fdc516cb08f115aaa |