Metadata-Version: 1.1
Name: shellwords
Version: 0.1.0
Summary: Parse line as shell words.
Home-page: https://github.com/mozillazg/python-shellwords
Author: mozillazg
Author-email: mozillazg101@gmail.com
License: MIT
Description: python-shellwords
        ==================
        
        |Build| |Coverage| |Pypi version| |Pypi downloads| |Python 3|
        
        Parse line as shell words.
        
        
        * GitHub: https://github.com/mozillazg/python-shellwords
        * License: MIT license
        * PyPI: https://pypi.python.org/pypi/shellwords
        * Python version: 2.6, 2.7, pypy, 3.3, 3.4
        
        Usage
        -------
        
        
        .. code-block:: python
        
            >>> s = ShellWords()
            >>> s.parse("./foo --bar=baz")
            [u'./foo', u'--bar=baz']
        
        
        .. code-block:: python
        
            >>>
            >>> os.environ['FOO'] = 'bar'
            >>> s = ShellWords(parse_env=True)
            >>> s.parse("./foo $FOO")
            [u'./foo', u'bar']
        
        .. code-block:: python
        
            >>> s = ShellWords(parse_backtick=True)
            >>> s.parse("./foo `echo $SHELL`")
            [u'./foo', u'/bin/bash']
            >>>
        
        
        Thanks
        -------
        
        This is based on `go-shellwords`__ package.
        
        __ https://github.com/mattn/go-shellwords
        
        
        .. |Build| image:: https://api.travis-ci.org/mozillazg/python-shellwords.png?branch=master
           :target: https://travis-ci.org/mozillazg/python-shellwords
        .. |Coverage| image:: https://coveralls.io/repos/mozillazg/python-shellwords/badge.png?branch=master
           :target: https://coveralls.io/r/mozillazg/python-shellwords
        .. |PyPI version| image:: https://pypip.in/v/pyshellwords/badge.png
           :target: https://crate.io/packages/shellwords
        .. |PyPI downloads| image:: https://pypip.in/d/pyshellwords/badge.png
           :target: https://crate.io/packages/shellwords
        .. |Python 3| image:: https://caniusepython3.com/project/pyshellwords.svg
           :target: https://caniusepython3.com/project/shellwords
        
        
        Changelog
        --------------
        
        0.1.0 (2015-01-29)
        ~~~~~~~~~~~~~~~~~~~~
        * Initial Release
        
Keywords: shell,shellwords
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Topic :: Utilities
