Skip to main content

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

steed-0.1.4.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

steed-0.1.4-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file steed-0.1.4.tar.gz.

File metadata

  • Download URL: steed-0.1.4.tar.gz
  • Upload date:
  • Size: 2.2 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

Hashes for steed-0.1.4.tar.gz
Algorithm Hash digest
SHA256 beac353d3d5e8dbf0a6fd2d08bd522560170b3cf769e8b70f90ef95ca3abb538
MD5 af5bf708be0fde66a71e91f0b6f0c022
BLAKE2b-256 aa4f39cf465526591018a59dd800b059d531baa21818a75fe71d22835ed849af

See more details on using hashes here.

File details

Details for the file steed-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: steed-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 2.9 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

Hashes for steed-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e9a598ef9c1fc9efde272c4f2bdba27ae5df61228f48dce5d52a2a26f9afa31b
MD5 7a11cc35a0fcd8745a9f20a510b1f2f9
BLAKE2b-256 832db8b9898a1633be2a824938eb5eb47172581127eb9cebb5fa6fbe76418c61

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