Metadata-Version: 2.1
Name: shoper
Version: 1.2.0
Summary: Simple shell operator module
Home-page: https://github.com/dceoy/shoper
Author: Daichi Narushima
Author-email: dnarsil+github@gmail.com
License: UNKNOWN
Description: shoper
        ======
        
        Simple shell operator module for Python
        
        [![wercker status](https://app.wercker.com/status/276fcd7ab51e9ef282981a6f38fd2020/s/master "wercker status")](https://app.wercker.com/project/byKey/276fcd7ab51e9ef282981a6f38fd2020)
        
        Installation
        ------------
        
        ```sh
        $ pip install -U shoper
        ```
        
        Example
        -------
        
        ```py
        from shoper.shelloperator import ShellOperator
        
        
        sh = ShellOperator(log_txt='log.txt', executable='/bin/bash')
        sh.run(
            args=[
                'echo ${RANDOM} | tee random0.txt',
                'echo ${RANDOM} | tee random1.txt',
                'echo ${RANDOM} | tee random2.txt'
            ],
            output_files=['random0.txt', 'random1.txt', 'random2.txt']
        )
        sh.run(
            args='sort random[012].txt | tee sorted.txt',
            input_files=['random0.txt', 'random1.txt', 'random2.txt'],
            output_files='sorted.txt'
        )
        ```
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Plugins
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: System :: Shells
Requires-Python: >=3.5
Description-Content-Type: text/markdown
