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.
Release files for subtask 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| subtask-1.1.2.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| subtask-1.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.3 kB
Release files / subtask-1.1.2.tar.gz
| Download URL | subtask-1.1.2.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2398a0f7becc36c5e29b0a6f149cf11e4c16cb1921d3b274e30cdf41ec6c6e71
|
|
BLAKE2b-256 checksum How to use checksums |
d421a66025d84df0422f45c83fa2e424016aa63823e1e175bcaba07230c83e4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.9.21 Linux/6.8.0-1021-azure
|
Release files / subtask-1.1.2-py3-none-any.whl
| Download URL | subtask-1.1.2-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
537c02a50b209dfa335c18aa79c469f07414a8bae90341091b14f2fb491d47b9
|
|
BLAKE2b-256 checksum How to use checksums |
ace0cac9607b6eb39a6551e7d97587a93e14bcfd79f7f4c4d20a1470dcaeda54
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.1 CPython/3.9.21 Linux/6.8.0-1021-azure
|