Skip to main content

A small example package

Project description

bounded_subprocess

PyPI - Version PyPI - Python Version

The bounded-subprocess module runs a subprocess with several bounds:

  1. The subprocess runs in a Linux session, so the process and all its children can be killed;
  2. The subprocess runs with a given timeout; and
  3. 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.

Installation

python3 -m pip install bounded-subprocess

License

bounded-subprocess is distributed under the terms of the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bounded_subprocess-1.1.0.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

bounded_subprocess-1.1.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file bounded_subprocess-1.1.0.tar.gz.

File metadata

  • Download URL: bounded_subprocess-1.1.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for bounded_subprocess-1.1.0.tar.gz
Algorithm Hash digest
SHA256 68f5f385497f453bafc6e70d1476b9ae7ac9ab60df1f1f0d012a0c483173011f
MD5 ddad9c3aecdcb085d3c69d92bd5d61e7
BLAKE2b-256 e2e7bc3d8ce31f33f4129066908a9b7d7787f08cbb736730d0d4d9ea57353bc9

See more details on using hashes here.

File details

Details for the file bounded_subprocess-1.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for bounded_subprocess-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0adb65fccd48824cf6cf7f4ffadb04161c9c76f3cabc05b72669d88a7e2e1a73
MD5 a15cce08e9808b11df7681611c09b462
BLAKE2b-256 50708665b0028aee2d80d0618944b0c58c5ed9360467d978df51494e27059a6b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page