Skip to main content

A simple wrapper around `subprocess.Popen` to reduce the painfulness of running multiple processes concurrently.

Project description

Subtask

A simple wrapper around subprocess.Popen to reduce the painfulness of running multiple processes concurrently.

task = Subtask(['python', 'hello.py'])
task.wait()
assert task.read_stdout().strip() == "Hello, world!"

What is Subtask for?

Subtask makes it easy to keep track of many concurrent subprocesses. It makes it much easier to capture outputs and give inputs to these processes.

What is Subtask not for?

Subtask is designed for simplicity. It should not be used if you want high performance, or to chain outputs for many files together.

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

subtask-1.1.2.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

subtask-1.1.2-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file subtask-1.1.2.tar.gz.

File metadata

  • Download URL: subtask-1.1.2.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.9.21 Linux/6.8.0-1021-azure

File hashes

Hashes for subtask-1.1.2.tar.gz
Algorithm Hash digest
SHA256 2398a0f7becc36c5e29b0a6f149cf11e4c16cb1921d3b274e30cdf41ec6c6e71
MD5 d3272a66c85d30805966aafaf99d6906
BLAKE2b-256 d421a66025d84df0422f45c83fa2e424016aa63823e1e175bcaba07230c83e4e

See more details on using hashes here.

File details

Details for the file subtask-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: subtask-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.9.21 Linux/6.8.0-1021-azure

File hashes

Hashes for subtask-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 537c02a50b209dfa335c18aa79c469f07414a8bae90341091b14f2fb491d47b9
MD5 6723136e2bd17d4918bb65f2eef1ba56
BLAKE2b-256 ace0cac9607b6eb39a6551e7d97587a93e14bcfd79f7f4c4d20a1470dcaeda54

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