Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wslutilities/wslpy

A python3 Library for WSL specific tasks
https://github.com/wslutilities/wslpy

python python3 python3-library windows windows-subsystem-for-linux wsl

Last synced: 9 days ago
JSON representation

A python3 Library for WSL specific tasks

Awesome Lists containing this project

README

        

# wslpy

[![pypi](https://flat.badgen.net/pypi/v/wslpy)](https://pypi.org/project/wslpy/)

> `wslpy` is far from complete. the API will change frequently.

This is a Python3 library for WSL specific tasks, and you can use it to do something amazing:

```python
>>> import wslpy as wp
>>> wp.is_wsl()
True
>>> wp.exec.cmd('ver')
Microsoft Windows [Version 10.0.18219.1000]
>>> wp.convert.to('/mnt/c/Windows/')
'c:\\Windows\\'
>>>
```

## Installation

you can install from pypi using `pip install wslpy`, or install from source using `python3 setup.py install`

## License

This project uses [GPLv3](LICENSE) License.