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.
Contributions are welcome! See contributing.