Python virtual environment manager for xonsh.
Project description
Python virtual environment manager for xonsh shell.
If you like the idea click ⭐ on the repo and tweet.
Installation
To install use pip:
xpip install xontrib-vox
# or: xpip install -U git+https://github.com/xonsh/xontrib-vox
Usage
This package contains three xontribs:
vox
- Python virtual environment manager for xonsh.autovox
- Manages automatic activation of virtual environments.voxapi
- API for Vox, the Python virtual environment manager for xonsh.
vox
Python virtual environment manager for xonsh.
xontrib load vox
vox --help
autovox
Manages automatic activation of virtual environments.
xontrib load autovox
This coordinates multiple automatic vox policies and deals with some of the mechanics of venv searching and chdir handling.
This provides no interface for end users.
Developers should look at XSH.builtins.events.autovox_policy
voxapi
API for Vox, the Python virtual environment manager for xonsh.
xontrib load voxapi
Vox defines several events related to the life cycle of virtual environments:
vox_on_create(env: str) -> None
vox_on_activate(env: str, path: pathlib.Path) -> None
vox_on_deactivate(env: str, path: pathlib.Path) -> None
vox_on_delete(env: str) -> None
Credits
This package was created with xontrib template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file xontrib-vox-0.0.1.tar.gz
.
File metadata
- Download URL: xontrib-vox-0.0.1.tar.gz
- Upload date:
- Size: 16.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1f0b155992b4b0ebe6dcfd651084a8707ade7372f7e456c484d2a85339d9907 |
|
MD5 | 1851389025dd78c40d17d06ba7ed5b65 |
|
BLAKE2b-256 | 6caca5db68a1f2e4036f7ff4c8546b1cbe29edee2ff40e0ff931836745988b79 |
File details
Details for the file xontrib_vox-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: xontrib_vox-0.0.1-py3-none-any.whl
- Upload date:
- Size: 13.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df2bbb815832db5b04d46684f540eac967ee40ef265add2662a95d6947d04c70 |
|
MD5 | f7e63b5e92e43d98463e5b23fc9dd472 |
|
BLAKE2b-256 | 2358dcdf11849c8340033da00669527ce75d8292a4e8d82605c082ed236a081a |