Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/wslutilities/wslpy
- Owner: wslutilities
- License: gpl-3.0
- Archived: true
- Created: 2018-08-18T09:28:10.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-05-02T06:59:49.000Z (over 2 years ago)
- Last Synced: 2024-10-29T23:59:59.993Z (about 1 month ago)
- Topics: python, python3, python3-library, windows, windows-subsystem-for-linux, wsl
- Language: Python
- Homepage: https://wslutiliti.es/wslpy
- Size: 343 KB
- Stars: 74
- Watchers: 5
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- jimsghstars - wslutilities/wslpy - A python3 Library for WSL specific tasks (Python)
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.