ven
Easy way to use virtualenv.
Features
Store virtualenv in .venv directory, along with your .git and requirements.txt
Run command inside virtualenv without activating it.
Install
$ pip install --user ven
Quickstart
Initialize an empty virtualenv using ven init:
$ ven init New python executable in .venv/bin/python Installing setuptools, pip...done. $ ls -A .venv
Run command inside virtualenv using ven run:
$ ven run which python ~/project/.venv/bin/python
Activate virtualenv in a sub-shell:
$ ven run $ which python ~/project/.venv/bin/python $ (Deactivate with Ctrl-D)
Usage
Usage: ven [OPTIONS] COMMAND [ARGS]... Easy way to use virtualenv Options: --version Show the version and exit. --help Show this message and exit. Commands: help Show help information init Create a new virtualenv run Run command in virtualenv (default: shell)
Caveats
Use ‘–’ to separate ven run options and command that contains ‘-‘:
$ ven run -- python --version Python 2.7.5
oh-my-zsh overwrites $PATH, add the following to your .zshrc:
if [ -n "$VIRTUAL_ENV" ]; then
export PATH="$VIRTUAL_ENV/bin:$PATH"
fi
Recommanded aliases:
alias vrun='ven run --' alias vpy='ven run -- python' alias vpip='ven run -- pip'
Metadata
Release files for ven 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ven-0.4.1.tar.gz | 2.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ven-0.4.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 7.4 kB
Release files / ven-0.4.1.tar.gz
| Download URL | ven-0.4.1.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
641a3e421e2e2abbe6b7aaee5d6338d66e784e65c50bf07b49a604867099e8c3
|
|
BLAKE2b-256 checksum How to use checksums |
719856a9386c00a116f3249a02ef3ca702c17aca86173ca77cd896b8d0438552
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / ven-0.4.1-py2.py3-none-any.whl
| Download URL | ven-0.4.1-py2.py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
ceeafc7e30cbc20bf7690f0f744ce501f705535faae134641f6d8305ccc96643
|
|
BLAKE2b-256 checksum How to use checksums |
1a675d72819da347cfbdff88fef81e2c15a111cf1df9aa9d26bb804f32ec60a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for ven 0.4.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.