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.2.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bounded_subprocess-1.2.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bounded_subprocess-1.2.0.tar.gz
  • Upload date:
  • Size: 6.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.2.0.tar.gz
Algorithm Hash digest
SHA256 92aa67706bc36ee647cff05ff4e66a9774a1f6340172a0ff23ef8248992a41a9
MD5 0295e6783c7e3a8a0059eb1b7cff83ac
BLAKE2b-256 f682880d226abeb1e10bda2926abe5af9ed5cce317de940b6774104bb31040e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bounded_subprocess-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a23c21efde508713d194240a5e740f82a97630e8b4335c1518ce008d4c8c800
MD5 ed661f5f26bfac5c2b25383c3ee25ffa
BLAKE2b-256 64b63df371b32f871a32198570acdf2daebc66a6bb9d84577ce63f817ee25afc

See more details on using hashes here.

Supported by

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