Python Library for WSL specific tasks
Project description
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:
>>> 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wslpy-0.0.13.linux-x86_64.tar.gz
(14.2 kB
view details)
Built Distribution
wslpy-0.0.13-py3-none-any.whl
(22.2 kB
view details)
File details
Details for the file wslpy-0.0.13.linux-x86_64.tar.gz
.
File metadata
- Download URL: wslpy-0.0.13.linux-x86_64.tar.gz
- Upload date:
- Size: 14.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11fe8ba1176dcf3b9b33db2325a795cb15a597054e348a7758aa74a0d809bb11 |
|
MD5 | b6d853ee31c77c341f4d4d08a7033a2a |
|
BLAKE2b-256 | 14ff7f43d71be9791c6812ebabce61c4001233eaa2e567814ae852c119222ee3 |
File details
Details for the file wslpy-0.0.13-py3-none-any.whl
.
File metadata
- Download URL: wslpy-0.0.13-py3-none-any.whl
- Upload date:
- Size: 22.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 521380573c51b1d9acb9773e11e7bb99634820cf82e2368f656b61e79116f88b |
|
MD5 | 65469e36d10c6a7b09698e7e062cf953 |
|
BLAKE2b-256 | f738622aa264bf921c7ecbc6252f1eb6ef3452eac63b17e241c9237c7dc9a0e8 |