Skip to main content

Fork of pty aiming for enhancement of the full stdlib Python API.

As encountered in practice, pty.spawn requires KeyboardInterrupt or else to break hanging from select.select as in pty._copy then raise OSError to pty.spawn and to return from the function.

Thus, ptyng introduced _is_zombie to check if the spawned child process is already dead (or, a ‘zombie’), through which pty.spawn will automatically return from function call as normal/trivial scenerios expected.

Download

Standalone releases are available on PyPI: http://pypi.python.org/pypi/ptyng/

Development

The main development takes place in the Python standard library: see the Python developer’s guide. In particular, new features should be submitted to the Python bug tracker.

Documentation

Refer to the standard pty documentation.

ptyng.spawn now supports timeout argument. If the timeout expires, the spawned child process will be killed and waited for. Another env argument can be used to set the runtime environment variables for the spawned child process, default is os.environ.

Release files for ptyng 0.3.3.post1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ptyng 0.3.3.post1
File Size Uploaded
ptyng-0.3.3.post1.tar.gz 6.3 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for ptyng 0.3.3.post1
File
ptyng-0.3.3.post1-py3.7.egg Legacy Egg format - - Details
ptyng-0.3.3.post1-py3.6.egg Legacy Egg format - - Details
ptyng-0.3.3.post1-py3.5.egg Legacy Egg format - - Details
ptyng-0.3.3.post1-py3.4.egg Legacy Egg format - - Details
ptyng-0.3.3.post1-py2.7.egg Legacy Egg format - - Details
ptyng-0.3.3.post1-pp35-none-manylinux1_x86_64.whl PyPy 3.5 none Linux glibc 2.5+ x86-64 Details
ptyng-0.3.3.post1-pp35-none-macosx_10_14_x86_64.whl PyPy 3.5 none macOS 10.14+ x86-64 Details
ptyng-0.3.3.post1-pp27-none-manylinux1_x86_64.whl PyPy 2.7 none Linux glibc 2.5+ x86-64 Details
ptyng-0.3.3.post1-pp27-none-macosx_10_14_x86_64.whl PyPy 2.7 none macOS 10.14+ x86-64 Details
ptyng-0.3.3.post1-cp37-none-manylinux1_x86_64.whl CPython 3.7 none Linux glibc 2.5+ x86-64 Details
ptyng-0.3.3.post1-cp37-none-macosx_10_14_x86_64.whl CPython 3.7 none macOS 10.14+ x86-64 Details
ptyng-0.3.3.post1-cp36-none-manylinux1_x86_64.whl CPython 3.6 none Linux glibc 2.5+ x86-64 Details
ptyng-0.3.3.post1-cp36-none-macosx_10_14_x86_64.whl CPython 3.6 none macOS 10.14+ x86-64 Details
ptyng-0.3.3.post1-cp35-none-manylinux1_x86_64.whl CPython 3.5 none Linux glibc 2.5+ x86-64 Details
ptyng-0.3.3.post1-cp35-none-macosx_10_14_x86_64.whl CPython 3.5 none macOS 10.14+ x86-64 Details
ptyng-0.3.3.post1-cp34-none-manylinux1_x86_64.whl CPython 3.4 none Linux glibc 2.5+ x86-64 Details
ptyng-0.3.3.post1-cp34-none-macosx_10_14_x86_64.whl CPython 3.4 none macOS 10.14+ x86-64 Details
ptyng-0.3.3.post1-cp27-none-manylinux1_x86_64.whl CPython 2.7 none Linux glibc 2.5+ x86-64 Details
ptyng-0.3.3.post1-cp27-none-macosx_10_14_x86_64.whl CPython 2.7 none macOS 10.14+ x86-64 Details

Total release size: 147.3 kB

Release files / ptyng-0.3.3.post1.tar.gz

Download URL ptyng-0.3.3.post1.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
d55097f75605ce0c2026336ad198f9b76b0dfa71f765a0f84c3ab56a6bf0aed5
BLAKE2b-256 checksum
How to use checksums
b0b8833bfdf31657ee22484f8c672fd110678da40ff4a7c1c1404c276cbb56e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.2

Release files / ptyng-0.3.3.post1-py3.7.egg

Download URL ptyng-0.3.3.post1-py3.7.egg
Size 8.6 kB
Tags Egg
SHA-256 checksum
How to use checksums
1944ad95d3cd2d31d0761e09628dd70f9ec465be1fd5079ea6e0538e907603e2
BLAKE2b-256 checksum
How to use checksums
39fc54e0c8a75cd617b1a8b116757970c70c3f95c6ac3225dd74acbe6527cc28
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.2

Release files / ptyng-0.3.3.post1-py3.6.egg

Download URL ptyng-0.3.3.post1-py3.6.egg
Size 8.6 kB
Tags Egg
SHA-256 checksum
How to use checksums
6af8a010d438de9fa88d078f6e4759017d67127399031a691d3560852656517b
BLAKE2b-256 checksum
How to use checksums
6096937e75f14b62749850f29550651dfedf12ccbacbc0bb20859158caae8446
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.2

Release files / ptyng-0.3.3.post1-py3.5.egg

Download URL ptyng-0.3.3.post1-py3.5.egg
Size 8.7 kB
Tags Egg
SHA-256 checksum
How to use checksums
50ae54f86ac073afbe9c63b8ddb2b92e66d6661a2d3d06a51050e553a276374d
BLAKE2b-256 checksum
How to use checksums
910110966587197a59509c39e401c3025bf09d158f14bcaf1fe81fc1650c1023
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.2

Release files / ptyng-0.3.3.post1-py3.4.egg

Download URL ptyng-0.3.3.post1-py3.4.egg
Size 8.7 kB
Tags Egg
SHA-256 checksum
How to use checksums
55a47b90e77e9977f413150455cdcfd36f78fc494d1c525718009767634f79fa
BLAKE2b-256 checksum
How to use checksums
9e25d26c9862649e65e761eafa66e96b862fc290334b7d346daa10204a9fcc11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.2

Release files / ptyng-0.3.3.post1-py2.7.egg

Download URL ptyng-0.3.3.post1-py2.7.egg
Size 8.7 kB
Tags Egg
SHA-256 checksum
How to use checksums
204eb33af9f07c11d897cd11dbebb1cc7bbe336bc2bb54b61cea49adf866d4eb
BLAKE2b-256 checksum
How to use checksums
1c0237faa846fcd44f3a6d38a402e3ce09cc6f1c18909a1a982da56090f53963
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.2

Release files / ptyng-0.3.3.post1-pp35-none-manylinux1_x86_64.whl

Download URL ptyng-0.3.3.post1-pp35-none-manylinux1_x86_64.whl
Size 8.0 kB
Tags Linux glibc 2.5+ x86-64 PyPy 3.5
SHA-256 checksum
How to use checksums
f72d5ebde39957a0dcb8a3c2bc4c5479e9893c16903cb707106ca4d6420c5ad2
BLAKE2b-256 checksum
How to use checksums
ba1b5016f74d400a71d6548400f2fc470cad736552b3a5b4c5c8b0076525646c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.2

Release files / ptyng-0.3.3.post1-pp35-none-macosx_10_14_x86_64.whl

Download URL ptyng-0.3.3.post1-pp35-none-macosx_10_14_x86_64.whl
Size 6.2 kB
Tags PyPy 3.5 macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
e4cf4a124bb04f577f2387ef4e80aa06a8b6b72643d64917dce93c0a798a2e5e
BLAKE2b-256 checksum
How to use checksums
9e08076c0068df5361860f6b9b5f3105cdb10f4703b2a522c7a19bb34212504f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.2

Release files / ptyng-0.3.3.post1-pp27-none-manylinux1_x86_64.whl

Download URL ptyng-0.3.3.post1-pp27-none-manylinux1_x86_64.whl
Size 6.2 kB
Tags Linux glibc 2.5+ x86-64 PyPy 2.7
SHA-256 checksum
How to use checksums
49cf7f6e705334ebd87d6e2f3cce3dc5a06324dd7d4ac46b36707e7e0f89a80c
BLAKE2b-256 checksum
How to use checksums
7964f863e0788fcd1fa63ac62648493ca7bddaea7619fc75a3dc8ae309786084
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.2

Release files / ptyng-0.3.3.post1-pp27-none-macosx_10_14_x86_64.whl

Download URL ptyng-0.3.3.post1-pp27-none-macosx_10_14_x86_64.whl
Size 6.2 kB
Tags PyPy 2.7 macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
81e9f7cbbe4c1ac8fd10ecefd9222d902d7718ee566b14414f016c4efec697fa
BLAKE2b-256 checksum
How to use checksums
8accf8939a715cf92f6971e669ed3a8fa4ffb1e39f395502f9d28983e337c206
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.2

Release files / ptyng-0.3.3.post1-cp37-none-manylinux1_x86_64.whl

Download URL ptyng-0.3.3.post1-cp37-none-manylinux1_x86_64.whl
Size 8.0 kB
Tags CPython 3.7 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
9b07aa6fefc68a5b24bcbd621f02d307b4d69b4328402adeec927209a173ef74
BLAKE2b-256 checksum
How to use checksums
da62af14d530bbcd21c060af8dd46d8fabb4c6e2683297302c7e3ab51759425a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.2

Release files / ptyng-0.3.3.post1-cp37-none-macosx_10_14_x86_64.whl

Download URL ptyng-0.3.3.post1-cp37-none-macosx_10_14_x86_64.whl
Size 6.2 kB
Tags CPython 3.7 macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
3f5c9bc6a96a140ba8d84466affc39e86ba1742f734faeaeb3ee2497e8773654
BLAKE2b-256 checksum
How to use checksums
a085d76e9c32bf863177fa133057ee67cac423df73b5db94505e1e6950655153
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.2

Release files / ptyng-0.3.3.post1-cp36-none-manylinux1_x86_64.whl

Download URL ptyng-0.3.3.post1-cp36-none-manylinux1_x86_64.whl
Size 8.0 kB
Tags CPython 3.6 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
e4d1e1e94d54774099c60244321261e0b31d62e760884522f4018daf74437f43
BLAKE2b-256 checksum
How to use checksums
a1fcb98a922971173c4f7548cf19ecbd42c3a0d211f2e1fa4ad42f96a07313f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.2

Release files / ptyng-0.3.3.post1-cp36-none-macosx_10_14_x86_64.whl

Download URL ptyng-0.3.3.post1-cp36-none-macosx_10_14_x86_64.whl
Size 6.2 kB
Tags CPython 3.6 macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
ed74fe488ab34ccd5036c5fe000111ea6830d3a0fbd1fa5aa9d844a09e8f18e6
BLAKE2b-256 checksum
How to use checksums
be2b1192ad05f57359b4552ba410f0947be83eb2af7a42b37dcabc1968c1ec72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.2

Release files / ptyng-0.3.3.post1-cp35-none-manylinux1_x86_64.whl

Download URL ptyng-0.3.3.post1-cp35-none-manylinux1_x86_64.whl
Size 8.0 kB
Tags CPython 3.5 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
90244690b8dfb9057da094eba31eed8d3c8e8fa2a22d7d9ab9d5df1a401b4b40
BLAKE2b-256 checksum
How to use checksums
e83a765919a79264b407f5c6b1da462b2c455b8b106c9c8893624edf814e9467
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.2

Release files / ptyng-0.3.3.post1-cp35-none-macosx_10_14_x86_64.whl

Download URL ptyng-0.3.3.post1-cp35-none-macosx_10_14_x86_64.whl
Size 6.2 kB
Tags CPython 3.5 macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
328ff20cdc4d18b2d26895696bbe4b93aadc01761f9798fac52461f143618809
BLAKE2b-256 checksum
How to use checksums
fc806166a203b1c6ee11586e3fceb0db057faa6a6771045579e02376fd7b27d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.2

Release files / ptyng-0.3.3.post1-cp34-none-manylinux1_x86_64.whl

Download URL ptyng-0.3.3.post1-cp34-none-manylinux1_x86_64.whl
Size 8.0 kB
Tags CPython 3.4 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
743566f3d669f160facfb33bd017aa4acc4c41a25628b74eb54f1bd4d8006c77
BLAKE2b-256 checksum
How to use checksums
7efee0026779c06b9524ed8f74ae01857cdc7f8f0e90a7c0c36e1f11b3248709
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.2

Release files / ptyng-0.3.3.post1-cp34-none-macosx_10_14_x86_64.whl

Download URL ptyng-0.3.3.post1-cp34-none-macosx_10_14_x86_64.whl
Size 6.2 kB
Tags CPython 3.4 macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
d9b7c5a5f8f06e199faa08d55edbcd493c86b3ba211022be503090baed79a8c2
BLAKE2b-256 checksum
How to use checksums
7279af2aaadb55a3c0630c0c9552f516f7eb248b1c62210749825b286c0f1b27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.2

Release files / ptyng-0.3.3.post1-cp27-none-manylinux1_x86_64.whl

Download URL ptyng-0.3.3.post1-cp27-none-manylinux1_x86_64.whl
Size 8.0 kB
Tags CPython 2.7 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
f2f7c90d3ee72b40f0b16b4e2fcd06649900c4819ecf3ec9eb4b6a8cdcb12c8c
BLAKE2b-256 checksum
How to use checksums
2d925502bb9786ffcbe38c345a77a1b8a4a3e62548ea14605c03b2c6133e2c79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.2

Release files / ptyng-0.3.3.post1-cp27-none-macosx_10_14_x86_64.whl

Download URL ptyng-0.3.3.post1-cp27-none-macosx_10_14_x86_64.whl
Size 6.2 kB
Tags CPython 2.7 macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
9c754e31f71840b56eb727b744faa6634a2338d5bfa9df3c98ffc06e475349b8
BLAKE2b-256 checksum
How to use checksums
70a0e230fb0bc8fc79112b9c00cf778e28495563563edf80049d8119fc33bc09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.2
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page