A drop-in replacement for tee with file buffering and output queue management.
Project description
Pipelines may wish to use tee to cache intermediate steps as a failsafe in case of a downstream failure. This strategy is limited by the fact that the speed at which tee writes to disk is bottlenecked by the speed at which the downstream pipeline reads from its stdout. Therefore tee cannot finish writing to disk before its input has been completely output by the downstream pipeline. An option is to store all input from stdin in an in-memory buffer, but this can lead to out-of-memory failures. The steed command overcomes this limitation by writing to the on-disk file continuously, while simultaneously reading from it to obtain a size-limited buffer queue that is output to stdout. This allows steed to complete writing to disk before it has finished outputting to downstream commands, improving its utility as a cacheing mechanism.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file steed-0.2.0.tar.gz.
File metadata
- Download URL: steed-0.2.0.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/7.0.1 keyring/24.3.0 pkginfo/1.9.6 readme-renderer/34.0 requests-toolbelt/1.0.0 requests/2.31.0 rfc3986/1.5.0 tqdm/4.66.1 urllib3/1.26.5 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ffc8089812471d1d29366e1f38a8df1f82de21eb787e0a1af3597af8f600031
|
|
| MD5 |
59d147538933d44d39d3b4b56d541f69
|
|
| BLAKE2b-256 |
bc0c6af8bbec7bad1ab178d71e016080a4533cba65e80286c2de2970defecba1
|
File details
Details for the file steed-0.2.0-py3-none-any.whl.
File metadata
- Download URL: steed-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/7.0.1 keyring/24.3.0 pkginfo/1.9.6 readme-renderer/34.0 requests-toolbelt/1.0.0 requests/2.31.0 rfc3986/1.5.0 tqdm/4.66.1 urllib3/1.26.5 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b4bd3c11bb71cb03b8f5e0d45c83b71a0d414e09a019b450ef1070a6e6115ef
|
|
| MD5 |
bd1710516b5094db89ce7c7bc16ea04f
|
|
| BLAKE2b-256 |
49780c36cce66f06568439f452411ee7f12a1d61effa8064b5eb7d9f5921f643
|