diff options
author | xiubuzhe <xiubuzhe@sina.com> | 2023-10-08 20:59:00 +0800 |
---|---|---|
committer | xiubuzhe <xiubuzhe@sina.com> | 2023-10-08 20:59:00 +0800 |
commit | 1dac2263372df2b85db5d029a45721fa158a5c9d (patch) | |
tree | 0365f9c57df04178a726d7584ca6a6b955a7ce6a /lib/ptyprocess-0.7.0.dist-info | |
parent | b494be364bb39e1de128ada7dc576a729d99907e (diff) | |
download | sunhpc-1dac2263372df2b85db5d029a45721fa158a5c9d.tar.gz sunhpc-1dac2263372df2b85db5d029a45721fa158a5c9d.tar.bz2 sunhpc-1dac2263372df2b85db5d029a45721fa158a5c9d.zip |
first add files
Diffstat (limited to 'lib/ptyprocess-0.7.0.dist-info')
-rw-r--r-- | lib/ptyprocess-0.7.0.dist-info/INSTALLER | 1 | ||||
-rw-r--r-- | lib/ptyprocess-0.7.0.dist-info/LICENSE | 16 | ||||
-rw-r--r-- | lib/ptyprocess-0.7.0.dist-info/METADATA | 37 | ||||
-rw-r--r-- | lib/ptyprocess-0.7.0.dist-info/RECORD | 13 | ||||
-rw-r--r-- | lib/ptyprocess-0.7.0.dist-info/WHEEL | 5 |
5 files changed, 72 insertions, 0 deletions
diff --git a/lib/ptyprocess-0.7.0.dist-info/INSTALLER b/lib/ptyprocess-0.7.0.dist-info/INSTALLER new file mode 100644 index 0000000..a1b589e --- /dev/null +++ b/lib/ptyprocess-0.7.0.dist-info/INSTALLER @@ -0,0 +1 @@ +pip diff --git a/lib/ptyprocess-0.7.0.dist-info/LICENSE b/lib/ptyprocess-0.7.0.dist-info/LICENSE new file mode 100644 index 0000000..9c77274 --- /dev/null +++ b/lib/ptyprocess-0.7.0.dist-info/LICENSE @@ -0,0 +1,16 @@ +Ptyprocess is under the ISC license, as code derived from Pexpect. + http://opensource.org/licenses/ISC + +Copyright (c) 2013-2014, Pexpect development team +Copyright (c) 2012, Noah Spurrier <noah@noah.org> + +PERMISSION TO USE, COPY, MODIFY, AND/OR DISTRIBUTE THIS SOFTWARE FOR ANY PURPOSE +WITH OR WITHOUT FEE IS HEREBY GRANTED, PROVIDED THAT THE ABOVE COPYRIGHT NOTICE +AND THIS PERMISSION NOTICE APPEAR IN ALL COPIES. THE SOFTWARE IS PROVIDED +"AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE +INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT +SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL +DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, +WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING +OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + diff --git a/lib/ptyprocess-0.7.0.dist-info/METADATA b/lib/ptyprocess-0.7.0.dist-info/METADATA new file mode 100644 index 0000000..ab1d4e0 --- /dev/null +++ b/lib/ptyprocess-0.7.0.dist-info/METADATA @@ -0,0 +1,37 @@ +Metadata-Version: 2.1 +Name: ptyprocess +Version: 0.7.0 +Summary: Run a subprocess in a pseudo terminal +Home-page: https://github.com/pexpect/ptyprocess +License: UNKNOWN +Author: Thomas Kluyver +Author-email: thomas@kluyver.me.uk +Description-Content-Type: text/x-rst +Classifier: Development Status :: 5 - Production/Stable +Classifier: Environment :: Console +Classifier: Intended Audience :: Developers +Classifier: Intended Audience :: System Administrators +Classifier: License :: OSI Approved :: ISC License (ISCL) +Classifier: Operating System :: POSIX +Classifier: Operating System :: MacOS :: MacOS X +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 2.7 +Classifier: Programming Language :: Python :: 3 +Classifier: Topic :: Terminals + +Launch a subprocess in a pseudo terminal (pty), and interact with both the +process and its pty. + +Sometimes, piping stdin and stdout is not enough. There might be a password +prompt that doesn't read from stdin, output that changes when it's going to a +pipe rather than a terminal, or curses-style interfaces that rely on a terminal. +If you need to automate these things, running the process in a pseudo terminal +(pty) is the answer. + +Interface:: + + p = PtyProcessUnicode.spawn(['python']) + p.read(20) + p.write('6+6\n') + p.read(20) + diff --git a/lib/ptyprocess-0.7.0.dist-info/RECORD b/lib/ptyprocess-0.7.0.dist-info/RECORD new file mode 100644 index 0000000..dd78069 --- /dev/null +++ b/lib/ptyprocess-0.7.0.dist-info/RECORD @@ -0,0 +1,13 @@ +ptyprocess-0.7.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
+ptyprocess-0.7.0.dist-info/LICENSE,sha256=yCLThbGnMymEYkF5m-zxhpC11Edkwb7WkwC1NqQFAwo,905
+ptyprocess-0.7.0.dist-info/METADATA,sha256=w8K5a12aVdpZWMNNCMGKCEn1ZgkCbMRtXJW4t3_PPgw,1312
+ptyprocess-0.7.0.dist-info/RECORD,,
+ptyprocess-0.7.0.dist-info/WHEEL,sha256=NLqmsx-ZFZ6gDavYgh2oH0ZSN-KRmpcdEXIZDnYy9Pg,99
+ptyprocess/__init__.py,sha256=sn-W_1nNRTuIOi2aCEHVL06wCVJcR-LOZdgpXzwFuTU,138
+ptyprocess/__pycache__/__init__.cpython-39.pyc,,
+ptyprocess/__pycache__/_fork_pty.cpython-39.pyc,,
+ptyprocess/__pycache__/ptyprocess.cpython-39.pyc,,
+ptyprocess/__pycache__/util.cpython-39.pyc,,
+ptyprocess/_fork_pty.py,sha256=VVvMy8c4ZpjDMiIMSg8T1BQ1g3SBexDpey_cxi0n5aw,2362
+ptyprocess/ptyprocess.py,sha256=sk2sU2I22Yyl1gU3FjFmpWL3B43o0KqG3d3CI8r0Nq8,31686
+ptyprocess/util.py,sha256=rQAdDRZfoOiOn6vykWth0wI6FFKAp7aJtBSdt-KBWdU,2785
diff --git a/lib/ptyprocess-0.7.0.dist-info/WHEEL b/lib/ptyprocess-0.7.0.dist-info/WHEEL new file mode 100644 index 0000000..3825653 --- /dev/null +++ b/lib/ptyprocess-0.7.0.dist-info/WHEEL @@ -0,0 +1,5 @@ +Wheel-Version: 1.0 +Generator: flit 3.0.0 +Root-Is-Purelib: true +Tag: py2-none-any +Tag: py3-none-any |