OS-independent wrapper for shlex and mslex, meant to be temporary until original repo updates PR
Project description
oslex
oslex
is an OS-independent wrapper for shlex
and mslex
.
Its main purpose is to provide functions similar in functionality to shlex.quote()
, shlex.split()
and shlex.join()
on both Windows and POSIX-compatible platforms.
This goal is achieved by simply forwarding the calls to either shlex
(from the standard library) on POSIX-compatible systems, or the excellent mslex
library (written by Lawrence D'Anna / @smoofra) on Windows.
In other words, oslex
is to shlex
/mslex
what os-path
is to posixpath
/ntpath
.
Licensing
This library itself is licensed under the MIT license.
oslex
uses the mslex
library, which is distributed under the Apache 2.0 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
Built Distribution
File details
Details for the file oslex2-0.1.5.tar.gz
.
File metadata
- Download URL: oslex2-0.1.5.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 276434abf064a72590cf7e748646e75a6cfcc78b264a5d738fe22974dbd0d1a8 |
|
MD5 | 4591e1b989c20cbde35dd67dc216fea2 |
|
BLAKE2b-256 | 2ea23c7d8b6664b8de905783964541b5e72c29e8432daa886c017749f8472514 |
File details
Details for the file oslex2-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: oslex2-0.1.5-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b877c8558b30afbf55f497e9d3c7b739cdf80afa372ff133e1eddf2421689fc0 |
|
MD5 | ab1771a9342cf5e6a93c2d73da70a92e |
|
BLAKE2b-256 | 84eeac46497915dd7b8b24d3ac7dd55d54da751f41f809555e385e15b752f99e |