bounded_subprocess
The bounded-subprocess module runs a subprocess with several bounds:
- The subprocess runs in a Linux session, so the process and all its children can be killed;
- The subprocess runs with a given timeout; and
- The parent captures a bounded amount of output from the subprocess and discards the rest.
Note that the subprocess is not isolated: it can use the network, the filesystem, or create new sessions.
- Documentation: https://arjunguha.github.io/bounded_subprocess/
Installation
python3 -m pip install bounded-subprocess
License
bounded-subprocess is distributed under the terms of the MIT license.
Release files for bounded_subprocess 2.9.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bounded_subprocess-2.9.2.tar.gz | 81.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bounded_subprocess-2.9.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 105.8 kB
Release files / bounded_subprocess-2.9.2.tar.gz
| Download URL | bounded_subprocess-2.9.2.tar.gz |
|---|---|
| Size | 81.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b7b95cceb4665342804ae578f3979ef8d11b2bff7e88379aa4a5cb228f08411c
|
|
BLAKE2b-256 checksum How to use checksums |
ce75dbe4260162df5fd0e13c958c3ac8777bbb229a01d7016e5d8ecc09d20792
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / bounded_subprocess-2.9.2-py3-none-any.whl
| Download URL | bounded_subprocess-2.9.2-py3-none-any.whl |
|---|---|
| Size | 24.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2f75f8dcd2834a43c6b12b7fa971d4ed52162b401f6d131cca289e4b7737b714
|
|
BLAKE2b-256 checksum How to use checksums |
a799a4268f99d3eeb2f67dc83b8d4bc9a333f3ca6b503ff477dc615c6b9a4adf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|