xshell-venv 0.2.0

xshell-venv manages your Python virtual environments in code.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# `xshell-venv` - manage Python virtual environments in code.

`xshell-env` is an extension to [xshell], the swiss-army knife for writing cross-platform “bash” scripts in Rust.

[xshell]: https://docs.rs/xshell/

## Example

```rust
use xshell;
use xshell_venv::VirtualEnv;

let sh = xshell::Shell::new()?;
let venv = VirtualEnv::new(&sh, "py3")?;

venv.run("print('Hello World!')")?; // "Hello World!"
```