Metadata-Version: 2.1
Name: pterminal
Version: 1.0.0
Summary: UNKNOWN
Home-page: https://github.com/yyyyl/pterminal
Author: YL
License: UNKNOWN
Description: # pterminal
        A simple, light-weight input/output library for pipe terminal in new thread
        
        # Usage
        ## create and start
        ```
        pthread = pterminal.Thread()
        pthread.start()
        ```
        
        ## listen the pipe output/error
        ```
        def on_pipe_out(self, sender, txtout):
            print(txtout)
        
        def on_pipe_err(self, sender, txterr):
            print(txterr)
        
        pthread.on(pterminal.SIGNAL_OUT, on_pipe_out)
        pthread.on(pterminal.SIGNAL_ERR, on_pipe_err)
        ```
        
        ## exit thread
        ```
        pthread.terminate()
        ```
Platform: UNKNOWN
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
