first commit
This commit is contained in:
commit
417e54da96
5696 changed files with 900003 additions and 0 deletions
|
@ -0,0 +1 @@
|
|||
pip
|
|
@ -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.
|
||||
|
|
@ -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)
|
||||
|
|
@ -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-311.pyc,,
|
||||
ptyprocess/__pycache__/_fork_pty.cpython-311.pyc,,
|
||||
ptyprocess/__pycache__/ptyprocess.cpython-311.pyc,,
|
||||
ptyprocess/__pycache__/util.cpython-311.pyc,,
|
||||
ptyprocess/_fork_pty.py,sha256=VVvMy8c4ZpjDMiIMSg8T1BQ1g3SBexDpey_cxi0n5aw,2362
|
||||
ptyprocess/ptyprocess.py,sha256=sk2sU2I22Yyl1gU3FjFmpWL3B43o0KqG3d3CI8r0Nq8,31686
|
||||
ptyprocess/util.py,sha256=rQAdDRZfoOiOn6vykWth0wI6FFKAp7aJtBSdt-KBWdU,2785
|
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue