oslex-0.1.3
توضیحات
OS-independent wrapper for shlex and mslex
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX |
| نام فایل | oslex-0.1.3 |
| نام | oslex |
| نسخه کتابخانه | 0.1.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Tamás PEREGI <petamas@gmail.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/oslex/ |
| مجوز | - |
# oslex
`oslex` is an OS-independent wrapper for [`shlex`](https://docs.python.org/3/library/shlex.html) and [`mslex`](https://pypi.org/project/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`](https://pypi.org/project/mslex/) library, which is distributed under the Apache 2.0 license.
نیازمندی
| مقدار | نام |
|---|---|
| - | mslex |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl oslex-0.1.3:
pip install oslex-0.1.3.whl
نصب پکیج tar.gz oslex-0.1.3:
pip install oslex-0.1.3.tar.gz