MCPcopy
hub / github.com/pallets/click / progressbar

Function progressbar

src/click/termui.py:356–372  ·  view source on GitHub ↗
(
    *,
    length: int,
    label: str | None = None,
    hidden: bool = False,
    show_eta: bool = True,
    show_percent: bool | None = None,
    show_pos: bool = False,
    fill_char: str = "#",
    empty_char: str = "-",
    bar_template: str = "%(label)s  [%(bar)s]  %(info)s",
    info_sep: str = "  ",
    width: int = 36,
    file: t.TextIO | None = None,
    color: bool | None = None,
    update_min_steps: int = 1,
)

Source from the content-addressed store, hash-verified

354
355@t.overload
356def progressbar(
357 *,
358 length: int,
359 label: str | None = None,
360 hidden: bool = False,
361 show_eta: bool = True,
362 show_percent: bool | None = None,
363 show_pos: bool = False,
364 fill_char: str = "#",
365 empty_char: str = "-",
366 bar_template: str = "%(label)s [%(bar)s] %(info)s",
367 info_sep: str = " ",
368 width: int = 36,
369 file: t.TextIO | None = None,
370 color: bool | None = None,
371 update_min_steps: int = 1,
372) -> ProgressBar[int]: ...
373
374
375@t.overload

Callers 2

test_length_is_intFunction · 0.90
test_generic_on_iterableFunction · 0.90

Calls 2

resolve_color_defaultFunction · 0.85
ProgressBarClass · 0.85

Tested by 2

test_length_is_intFunction · 0.72
test_generic_on_iterableFunction · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…