Skip to content

llaa33219/simple-venv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

Simple-venv

A simple and convenient tool for managing Python venv on Linux.

Features

  • Easy creation and management of Python virtual environments
  • All environments stored in ~/simple-venv/
  • Simple command-line interface
  • Environment copying and resetting capabilities

Install

Download and install with a single command:

mkdir -p ~/.local/bin && curl -o ~/.local/bin/s-venv https://raw.githubusercontent.com/llaa33219/simple-venv/refs/heads/main/s-venv && chmod +x ~/.local/bin/s-venv

Or if you prefer wget:

mkdir -p ~/.local/bin && wget -O ~/.local/bin/s-venv https://raw.githubusercontent.com/llaa33219/simple-venv/refs/heads/main/s-venv && chmod +x ~/.local/bin/s-venv

Usage

s-venv [command] [arguments]

Commands

Command Description
create <name> Create a new virtual environment
enter <name> Activate a virtual environment
list List all virtual environments
copy <source> <target> Copy a virtual environment
reset <name> Reset a virtual environment (removes all packages)
remove <name> Delete a virtual environment
help Show help message

Examples

Create a new environment

s-venv create test1

Activate the environment

s-venv enter test1

List all environments

s-venv list

Copy an environment

s-venv copy test1 test1-backup

Reset an environment

s-venv reset test1

Remove an environment

s-venv remove test1

Requirements

  • Python 3.3 or higher (with venv module)
  • Linux/Unix-like operating system
  • Bash shell

License

MIT License

About

Simple Python venv Manager

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages