#python #venv #virtualenv

bin+lib gourgeist

virtualenv creation implemented in rust

2 releases

0.0.4 Sep 29, 2023
0.0.2 Sep 29, 2023

#4 in #venv

Download history 9/week @ 2024-09-20 2/week @ 2024-09-27 11/week @ 2024-11-29 46/week @ 2024-12-06 11/week @ 2024-12-13

68 downloads per month

MIT/Apache

1MB
869 lines

Gourgeist

Gourgeist is a rust library to create python virtual environments. It also has a CLI.

Rust

use camino::Utf8PathBuf;
use gourgeist::{create_venv, get_interpreter_info, parse_python_cli};

let location = cli.path.unwrap_or(Utf8PathBuf::from(".venv"));
let python = parse_python_cli(cli.python)?;
let data = get_interpreter_info(&python)?;
create_venv(&location, &python, &data, cli.bare)?;

CLI

Use python as base for a virtualenv .venv:

gourgeist

Or use custom defaults:

gourgeist -p 3.11 my_env

Jessie's gourgeist

Jessie's gourgeist, a pokemon with a jack o'lantern as body

Dependencies

~7–20MB
~300K SLoC