Skip to main content

Python Library for WSL specific tasks

Project description

# wslpy

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

`python >>> import wslpy as wp >>> wp.isWSL True >>> wp.winsys.CmdExec('ver') Microsoft Windows [Version 10.0.18219.1000] >>> wp.convert.to_path('/mnt/c/Windows/') 'c:\\Windows\\' >>> `

## Installation

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

## Documentation

wslpy is a small library, it consist following functions and constants:

`python wslpy.isWSL wslpy.convert.reg_list() wslpy.convert.from_reg(input) wslpy.convert.to_path(input, toType = PathConvType.AUTO) wslpy.winsys.build wslpy.winsys.branch wslpy.winsys.long_build wslpy.winsys.CmdExec(command) wslpy.winsys.PwShExec(command) wslpy.winsys.PwShCrExec(command) `

## License

LGPL 3.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
wslpy-0.0.8-py3-none-any.whl (5.3 kB) Copy SHA256 hash SHA256 Wheel py3

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page