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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: steed-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 324399573d6f6d51d2e5d6acce95dd448f6e3ae804fb8a91dfaf75b70a100359
MD5 001ae32dd47e025526cb2d95d274807c
BLAKE2b-256 9d48beddad5ece22bfda250ca40f921ddd8045c64931b3169b883388c4f4d283

See more details on using hashes here.

File details

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

File metadata

  • Download URL: steed-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d7392dc35ada19beedef1f2c9d4d2b3b8f41c240317ccb310aada517a3ec68f4
MD5 f6d58c55559a2ae57eed3785a9805f23
BLAKE2b-256 50c82874caf1478442a48a5cfda8db0c834a897de67a7bafbe17d49801750b73

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