Skip to main content

flake8 mypy PyPI version

wslpath-python

This is a simple Python wrapper around wslpath command found in Windows Subsystem for Linux (WSL) environment.

This package contains a single function wslpath that calls the wslpath command with appropriate arguments.

Requirements

Tha package has no additional requirements. Developed and tested in Python 3.9, but it should work in Python 3.5 and above.

Installation

This package can be installed using pip

pip install wslpath-python

Example usage

>>> from wslpath import wslpath
>>>
>>> wslpath(r'C:\Users\macie')
'/mnt/c/Users/macie'
>>>
>>> from pathlib import Path
>>> wslpath(Path(r'C:\Users\macie'))
PosixPath('/mnt/c/Users/macie')
>>>
>>> wslpath('.')
'.'
>>> wslpath('.', force_absolute_path=True)
'/mnt/c/Users/macie/'

Metadata

Release files for wslpath-python 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wslpath-python 0.0.3
File Size Uploaded Provenance Actions
wslpath-python-0.0.3.tar.gz 3.6 kB Without provenance Details for wslpath-python-0.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for wslpath-python 0.0.3
File Interpreter ABI Platform Actions
wslpath_python-0.0.3-py3-none-any.whl Python 3 none any Details for wslpath_python-0.0.3-py3-none-any.whl

Total release size: 7.4 kB

Release files / wslpath-python-0.0.3.tar.gz

Download URL wslpath-python-0.0.3.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
901134371b0f9767cd6278d253aa4303290bea72f9e28deae0cbbc11f8542d10
BLAKE2b-256 checksum
How to use checksums
7529b4018a56a5d924048cc0e326ac3d66e81f669ba0be0ba2708bebaa4b837e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.0

Release files / wslpath_python-0.0.3-py3-none-any.whl

Download URL wslpath_python-0.0.3-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
13c102149aa8df60aa6db88ab13bc1a6027648c31e350c918940dfdc5a9c5acd
BLAKE2b-256 checksum
How to use checksums
89e5dd22421bd326842381943171318821c8c0cc22b01e0f96204493fe6b5477
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.0

Security for wslpath-python 0.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page