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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: subtask-1.1.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.9.19 Linux/6.5.0-1021-azure

File hashes

Hashes for subtask-1.1.1.tar.gz
Algorithm Hash digest
SHA256 ee893a42234a7a101f8731b95fc2127f647e6a1fea6ef1c73bebf9ff77921403
MD5 28f7690136bb0ff4ba61ed36fdd1e8b4
BLAKE2b-256 679e9af25a8907e4e9dd8d954d0711c0304032035115aa0cba83eb6290dc634c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for subtask-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c5fafa043d58035567b638440d158c102ab8f50f629ee180877e1fdfc7d274e1
MD5 35c7c33b7fc7654cfc0f448c1c439023
BLAKE2b-256 4246a02b28234fc6020924a18d61325f0cfd7ecdffb1e1ca778155e59c336f3f

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