Skip to content

python library for WSL (Windows Subsystem for Linux) management

License

Notifications You must be signed in to change notification settings

sanzoghenzo/wsl-tools

Repository files navigation

wsl-tool

Handy classes for WSL management.

Inspired by GWSL, a great work from Pololot64, this project is a wrapper around the WSL executable to:

  • check if WSL is installed;
  • list and access the installed distribution;
  • import new distribution from tarball files;
  • run commands inside a distribution;
  • read and set known environment variables in the user .profile;
  • get the installed apps (that have a .desktop entry).
from wsl_tools import wsl_tools

manager = wsl_tools.WSLManager()

For more information read the reference documentation.

contributing

Contributions are welcome! See contributing.

About

python library for WSL (Windows Subsystem for Linux) management

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages