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.3.0.tar.gz (8.0 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.3.0-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bounded_subprocess-1.3.0.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.2

File hashes

Hashes for bounded_subprocess-1.3.0.tar.gz
Algorithm Hash digest
SHA256 50c1e7346b269fce11fcbd9a30ff8a813d6cbeb3515b5a60592952f23a25c047
MD5 896b90a60339de30f40501493c873af0
BLAKE2b-256 5946f3473f52e3616749cc42dba5a611bc2c739d59378ee3622296f49333c7cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for bounded_subprocess-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 adb770fe1dbc0a5422eb290478fe6899f5816dcaa8edab885d72ad2c090c0da0
MD5 67264b84ab5e5b3ce98be61794c05870
BLAKE2b-256 613c531293ae470810bfde8fede15eb1204a6e2911b32b8322bae77b6e6e3cb6

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