OS-independent wrapper for shlex and mslex
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
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 oslex-0.1.3.tar.gz
.
File metadata
- Download URL: oslex-0.1.3.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ed4cd82c75df2a8bcb0da34400984183753933155d0c7d999fa533137685f2d |
|
MD5 | c063f1219f09c0b842d75a9b6c080700 |
|
BLAKE2b-256 | 5ea9ebd426ee0ca59fb5ba8f0039c53989f4ca475f2dd9583b5719e2fb01602c |
File details
Details for the file oslex-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: oslex-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71acb8a1d42ed78ddd213a1d3a628bbf837f758bd2999c91df7ce57972466bdf |
|
MD5 | a95f45014a1e861083a483ffb3c8b707 |
|
BLAKE2b-256 | 8a21f9d1c6196533d5e43625a71244796d6ec2565318f2d91f6c10ec461222f1 |