mslex


Namemslex JSON
Version 1.1.0 PyPI version JSON
download
home_pagehttps://github.com/smoofra/mslex
Summaryshlex for windows
upload_time2023-06-05 17:12:53
maintainer
docs_urlNone
authorLawrence D'Anna
requires_python>=3.5
licenseApache Software License 2.0
keywords mslex
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI
coveralls test coverage No coveralls.
            =====
mslex
=====


.. image:: https://img.shields.io/pypi/v/mslex.svg
        :target: https://pypi.python.org/pypi/mslex

.. image:: https://img.shields.io/travis/smoofra/mslex.svg
        :target: https://travis-ci.org/smoofra/mslex

.. image:: https://readthedocs.org/projects/mslex/badge/?version=latest
        :target: https://mslex.readthedocs.io/en/latest/?badge=latest
        :alt: Documentation Status


shlex for windows

* Free software: Apache Software License 2.0
* Documentation: https://mslex.readthedocs.io.

Features
--------

This is the missing shlex package for windows shell quoting.   It provides three
functions -- split, quote, and join -- just like shlex.


Credits
-------

These are excellent articles to read if you really want to face the
sanity-melting reality buried under the surface of how windows passes command
line arguments to your programs.   I recommend you read something else.

* `How a Windows Program Splits Its Command Line Into Individual Arguments`_

  * The original URL is now dead, but fortunately the article is `backed up on the Internet Archive`_

* `Everyone quotes command line arguments the wrong way`_

.. _`How a Windows Program Splits Its Command Line Into Individual Arguments`:
  http://www.windowsinspired.com/how-a-windows-programs-splits-its-command-line-into-individual-arguments/

.. _`backed up on the Internet Archive`:
  https://web.archive.org/web/20220629212422/http://www.windowsinspired.com/how-a-windows-programs-splits-its-command-line-into-individual-arguments/

.. _`Everyone quotes command line arguments the wrong way`:
  https://blogs.msdn.microsoft.com/twistylittlepassagesallalike/2011/04/23/everyone-quotes-command-line-arguments-the-wrong-way/

This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage

Automatic selection between mslex and shlex
-------------------------------------------

If you want to automatically use mslex on Windows, and shlex otherwise, check out the `oslex`_ package.

.. _`oslex`: https://pypi.org/project/oslex/


=======
History
=======

0.1.0 (2019-10-02)
------------------

* First release on PyPI.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/smoofra/mslex",
    "name": "mslex",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.5",
    "maintainer_email": "",
    "keywords": "mslex",
    "author": "Lawrence D'Anna",
    "author_email": "larry@elder-gods.org",
    "download_url": "https://files.pythonhosted.org/packages/53/89/271f3b856bd2355735dce3e4730e23abf7ae93311be9863e76b319b22fb6/mslex-1.1.0.tar.gz",
    "platform": null,
    "description": "=====\nmslex\n=====\n\n\n.. image:: https://img.shields.io/pypi/v/mslex.svg\n        :target: https://pypi.python.org/pypi/mslex\n\n.. image:: https://img.shields.io/travis/smoofra/mslex.svg\n        :target: https://travis-ci.org/smoofra/mslex\n\n.. image:: https://readthedocs.org/projects/mslex/badge/?version=latest\n        :target: https://mslex.readthedocs.io/en/latest/?badge=latest\n        :alt: Documentation Status\n\n\nshlex for windows\n\n* Free software: Apache Software License 2.0\n* Documentation: https://mslex.readthedocs.io.\n\nFeatures\n--------\n\nThis is the missing shlex package for windows shell quoting.   It provides three\nfunctions -- split, quote, and join -- just like shlex.\n\n\nCredits\n-------\n\nThese are excellent articles to read if you really want to face the\nsanity-melting reality buried under the surface of how windows passes command\nline arguments to your programs.   I recommend you read something else.\n\n* `How a Windows Program Splits Its Command Line Into Individual Arguments`_\n\n  * The original URL is now dead, but fortunately the article is `backed up on the Internet Archive`_\n\n* `Everyone quotes command line arguments the wrong way`_\n\n.. _`How a Windows Program Splits Its Command Line Into Individual Arguments`:\n  http://www.windowsinspired.com/how-a-windows-programs-splits-its-command-line-into-individual-arguments/\n\n.. _`backed up on the Internet Archive`:\n  https://web.archive.org/web/20220629212422/http://www.windowsinspired.com/how-a-windows-programs-splits-its-command-line-into-individual-arguments/\n\n.. _`Everyone quotes command line arguments the wrong way`:\n  https://blogs.msdn.microsoft.com/twistylittlepassagesallalike/2011/04/23/everyone-quotes-command-line-arguments-the-wrong-way/\n\nThis package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n\nAutomatic selection between mslex and shlex\n-------------------------------------------\n\nIf you want to automatically use mslex on Windows, and shlex otherwise, check out the `oslex`_ package.\n\n.. _`oslex`: https://pypi.org/project/oslex/\n\n\n=======\nHistory\n=======\n\n0.1.0 (2019-10-02)\n------------------\n\n* First release on PyPI.\n",
    "bugtrack_url": null,
    "license": "Apache Software License 2.0",
    "summary": "shlex for windows",
    "version": "1.1.0",
    "project_urls": {
        "Homepage": "https://github.com/smoofra/mslex"
    },
    "split_keywords": [
        "mslex"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cde55aaf694a63f540051607eeec36ef01a4297d858f6db223bf95acc4273497",
                "md5": "e0ed9d769c8ab42c20b460345a2e1f31",
                "sha256": "8826f4bb8d8c63402203d921dc8c2df0c7fec0d9c91d020ddf02fc9d0dce81bd"
            },
            "downloads": -1,
            "filename": "mslex-1.1.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "e0ed9d769c8ab42c20b460345a2e1f31",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">=3.5",
            "size": 5276,
            "upload_time": "2023-06-05T17:12:50",
            "upload_time_iso_8601": "2023-06-05T17:12:50.057193Z",
            "url": "https://files.pythonhosted.org/packages/cd/e5/5aaf694a63f540051607eeec36ef01a4297d858f6db223bf95acc4273497/mslex-1.1.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5389271f3b856bd2355735dce3e4730e23abf7ae93311be9863e76b319b22fb6",
                "md5": "8442733d7cfa9d8b4b29736d9ab6cf7f",
                "sha256": "7fe305fbdc9721283875e0b737fdb344374b761338a7f41af91875de278568e4"
            },
            "downloads": -1,
            "filename": "mslex-1.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "8442733d7cfa9d8b4b29736d9ab6cf7f",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.5",
            "size": 317312,
            "upload_time": "2023-06-05T17:12:53",
            "upload_time_iso_8601": "2023-06-05T17:12:53.038394Z",
            "url": "https://files.pythonhosted.org/packages/53/89/271f3b856bd2355735dce3e4730e23abf7ae93311be9863e76b319b22fb6/mslex-1.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-05 17:12:53",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "smoofra",
    "github_project": "mslex",
    "travis_ci": true,
    "coveralls": false,
    "github_actions": false,
    "tox": true,
    "lcname": "mslex"
}
        
Elapsed time: 0.17654s