You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yaroslav O. Halchenko and everyone else welcome to join
It is quite often desired to provide standard output from a script in a consistent (e.g. tabular) layout whenever not all entries are known ahead of time and some entries might either have values changing or affecting previous lines. E.g. it could be that underlying process either async providing values back for display later in time or just that values for already presented entries pulled again from time to time (e.g. status of a job). Or a simple use-case -- values for later output lines should adjust presentation of previous lines (e.g. a column should be expanded in the tabular view). The idea is to use basic ANSI lines navigation/editing commands to adjust previously presented output. It should be similar in vein to how e.g. "docker pull", multiple tqdm progress bar are managed on the screen (e.g. try doing datalad install -g -J4 ///labs/haxby/raiders/ to see example, or how "tig" updates author field in the tree view. This module could then be used as a helper for various Python projects demanding "reactive" standard output.
It might as well be that such module already exists, so if you know some -- please share pointers.
The text was updated successfully, but these errors were encountered:
Yaroslav O. Halchenko and everyone else welcome to join
It is quite often desired to provide standard output from a script in a consistent (e.g. tabular) layout whenever not all entries are known ahead of time and some entries might either have values changing or affecting previous lines. E.g. it could be that underlying process either async providing values back for display later in time or just that values for already presented entries pulled again from time to time (e.g. status of a job). Or a simple use-case -- values for later output lines should adjust presentation of previous lines (e.g. a column should be expanded in the tabular view). The idea is to use basic ANSI lines navigation/editing commands to adjust previously presented output. It should be similar in vein to how e.g. "docker pull", multiple tqdm progress bar are managed on the screen (e.g. try doing
datalad install -g -J4 ///labs/haxby/raiders/
to see example, or how "tig" updates author field in the tree view. This module could then be used as a helper for various Python projects demanding "reactive" standard output.It might as well be that such module already exists, so if you know some -- please share pointers.
The text was updated successfully, but these errors were encountered: