About Anaconda Help Download Anaconda

OS-independent wrapper for shlex and mslex

copied from cf-post-staging / oslex

Installers

  • noarch v0.1.3

conda install

To install this package run one of the following:
conda install conda-forge::oslex

Description

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.


© 2025 Anaconda, Inc. All Rights Reserved. (v4.2.2) Legal | Privacy Policy