Skip to content

progressbar2 4.5.0

Download JSON

  • PyPI https://pypi.org/project/progressbar2/
    Repository https://github.com/wolph/python-progressbar

  • py.typed

  • Coverage


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "Typed" : 543
        "Any" : 21
        "Untyped" : 604
    • 48.3% coverage
    • 46.5% coverage (strict)
    • 1168 typable
      • 543 typed
      • 604 untyped
      • 21 Any
  • Typables


    %%{init: {"pie": {"textPosition": 0.85}, "theme": "neutral", "themeVariables": {"pieStrokeWidth": "1px"}}}%%
    pie title
        "functions" : 57
        "classes" : 690
        "other" : 254
    • 21 functions (+1 overloads)
      • 36 parameters
    • 74 classes
      • 248 methods (+0 overloads)
        • 425 parameters
      • 16 properties
    • 15 modules
      • 254 attrs

Modules

Module Coverage Coverage (strict) Typables Ignores
progressbar.__about__ 0.0% 0.0% 0 0
progressbar 0.0% 0.0% 0 0
progressbar.algorithms 65.0% 65.0% 20 0
progressbar.bar 63.0% 51.9% 181 0
progressbar.base 100.0% 75.0% 4 0
progressbar.env 84.6% 84.6% 13 0
progressbar.multi 52.5% 52.5% 80 0
progressbar.shortcuts 12.5% 12.5% 8 0
progressbar.terminal.base 82.2% 82.2% 135 0
progressbar.terminal.colors 1.9% 1.9% 206 0
progressbar.terminal.os_specific.posix 100.0% 100.0% 1 0
progressbar.terminal.os_specific.windows 60.0% 60.0% 10 1
progressbar.terminal.stream 96.1% 96.1% 51 0
progressbar.utils 96.7% 96.7% 91 0
progressbar.widgets 32.6% 32.6% 368 0

Incomplete Annotations

progressbar.algorithms (7 missing, 0 any)

Symbol Typable Typed Any
attr DoubleExponentialMovingAverage.alpha 1 0 0
attr DoubleExponentialMovingAverage.ema1 1 0 0
attr DoubleExponentialMovingAverage.ema2 1 0 0
attr ExponentialMovingAverage.alpha 1 0 0
attr ExponentialMovingAverage.value 1 0 0
meth SmoothingAlgorithm.init 2 0 0

progressbar.bar (67 missing, 20 any)

Symbol Typable Typed Any
meth NullBar.start 3 2 2
meth NullBar.update 3 2 2
meth NullBar.finish 3 2 2
meth DataTransferBar.default_widgets 1 0 0
meth ProgressBar.init 15 8 0
meth ProgressBar.init 1 0 0
meth ProgressBar.default_widgets 1 0 0
meth ProgressBar.call 3 0 0
meth ProgressBar.iter 1 0 0
meth ProgressBar.next 1 0 0
meth ProgressBar.exit 4 0 0
meth ProgressBar.enter 1 0 0
meth ProgressBar.next 1 0 0
meth ProgressBar.iadd 2 0 0
meth ProgressBar.increment 4 3 2
meth ProgressBar._needs_update 1 0 0
meth ProgressBar.update 4 3 1
meth ProgressBar._update_variables 2 0 0
meth ProgressBar._update_parents 2 1 0
meth ProgressBar.start 5 5 2
meth ProgressBar._init_suffix 1 0 0
meth ProgressBar._init_prefix 1 0 0
meth ProgressBar._verify_max_value 1 0 0
meth ProgressBar.finish 3 2 0
prop ProgressBar.dynamic_messages 2 0 0
prop ProgressBar.currval 1 0 0
attr ProgressBar.variables 1 0 0
meth ProgressBarMixinBase.set_last_update_time 2 1 0
meth ProgressBarMixinBase.init 2 1 1
meth ProgressBarMixinBase.start 2 1 1
meth ProgressBarMixinBase.update 2 1 0
meth ProgressBarMixinBase.finish 1 0 0
meth ProgressBarMixinBase.del 1 0 0
meth ProgressBarMixinBase.getstate 1 0 0
attr ProgressBarMixinBase.last_update_time 1 0 0
meth DefaultFdMixin.init 7 6 1
meth DefaultFdMixin.start 2 1 1
meth DefaultFdMixin._format_line 1 0 0
meth DefaultFdMixin._format_widgets 1 0 0
meth DefaultFdMixin._to_unicode 2 1 1
meth StdRedirectMixin.init 4 2 0
meth StdRedirectMixin.start 3 2 2
meth StdRedirectMixin.update 2 1 0
meth StdRedirectMixin.finish 2 0 0
meth ProgressBarBase.init 2 1 1
meth ProgressBarBase.repr 1 0 0
attr ProgressBarBase._index_counter 1 0 0
attr logger 1 0 0
meth ResizableMixin.init 3 2 1
meth ResizableMixin._handle_resize 3 2 0
meth ResizableMixin.finish 1 0 0
attr ResizableMixin.signal_set 1 0 0

progressbar.base (0 missing, 1 any)

Symbol Typable Typed Any
meth FalseMeta.cmp 2 2 1

progressbar.env (2 missing, 0 any)

Symbol Typable Typed Any
attr COLOR_SUPPORT 1 0 0
attr JUPYTER 1 0 0

progressbar.multi (38 missing, 0 any)

Symbol Typable Typed Any
meth MultiBar.init 16 13 0
meth MultiBar.setitem 3 2 0
meth MultiBar.delitem 2 0 0
meth MultiBar.getitem 2 0 0
meth MultiBar._label_bar 2 1 0
meth MultiBar.render 3 2 0
meth MultiBar._render_bar 4 2 0
meth MultiBar._render_finished_bar 5 2 0
meth MultiBar.print 7 0 0
meth MultiBar.flush 1 0 0
meth MultiBar.run 2 0 0
meth MultiBar.start 1 0 0
meth MultiBar.join 2 0 0
meth MultiBar.stop 2 1 0
meth MultiBar.get_sorted_bars 1 0 0
meth MultiBar.enter 1 0 0
meth MultiBar.exit 4 0 0
attr MultiBar.show_initial 1 0 0
attr MultiBar.show_finished 1 0 0
attr MultiBar.sort_reverse 1 0 0

progressbar.shortcuts (7 missing, 0 any)

Symbol Typable Typed Any
func progressbar 8 1 0

progressbar.terminal.base (24 missing, 0 any)

Symbol Typable Typed Any
meth CSI.init 3 2 0
meth CSI.call 2 0 0
meth CSI.str 1 0 0
prop SGRColor._start_template 1 0 0
meth CSINoArg.call 1 0 0
meth SGR.call 3 0 0
prop SGR._start_template 1 0 0
prop SGR._end_template 1 0 0
meth RGB.str 1 0 0
prop RGB.to_windows 1 0 0
meth DummyColor.call 2 0 0
func clear_line 2 0 0
meth Color.str 1 0 0
meth ColorGradient.init 3 2 0
attr ColorGradient.colors 1 0 0
attr ColorGradient.interpolate 1 0 0
meth WindowsColor.call 2 0 0
attr WindowsColor.color 1 0 0

progressbar.terminal.colors (202 missing, 0 any)

Symbol Typable Typed Any
attr yellow2 1 0 0
attr spring_green4 1 0 0
attr chartreuse4 1 0 0
attr sky_blue1 1 0 0
attr pink1 1 0 0
attr sandy_brown 1 0 0
attr grey15 1 0 0
attr sea_green3 1 0 0
attr light_pink4 1 0 0
attr light_steel_blue3 1 0 0
attr aquamarine3 1 0 0
attr dark_sea_green3 1 0 0
attr blue1 1 0 0
attr indian_red 1 0 0
attr chartreuse3 1 0 0
attr deep_sky_blue4 1 0 0
attr light_sky_blue1 1 0 0
attr purple 1 0 0
attr dark_slate_gray3 1 0 0
attr medium_purple3 1 0 0
attr purple4 1 0 0
attr grey84 1 0 0
attr orchid2 1 0 0
attr grey30 1 0 0
attr light_green 1 0 0
attr grey58 1 0 0
attr dark_sea_green4 1 0 0
attr grey70 1 0 0
attr orange3 1 0 0
attr green3 1 0 0
attr dark_violet 1 0 0
attr dark_orange3 1 0 0
attr orange4 1 0 0
attr orchid1 1 0 0
attr yellow3 1 0 0
attr steel_blue 1 0 0
attr dark_olive_green1 1 0 0
attr pale_violet_red1 1 0 0
attr grey23 1 0 0
attr sea_green2 1 0 0
attr tan 1 0 0
attr grey62 1 0 0
attr grey69 1 0 0
attr light_pink3 1 0 0
attr light_cyan1 1 0 0
attr grey78 1 0 0
attr light_sky_blue3 1 0 0
attr dark_sea_green 1 0 0
attr medium_purple4 1 0 0
attr light_cyan3 1 0 0
attr grey3 1 0 0
attr grey46 1 0 0
attr misty_rose3 1 0 0
attr grey7 1 0 0
attr grey 1 0 0
attr grey39 1 0 0
attr pale_green3 1 0 0
attr pale_green1 1 0 0
attr magenta2 1 0 0
attr wheat4 1 0 0
attr sea_green1 1 0 0
attr dark_red 1 0 0
attr spring_green2 1 0 0
attr dark_green 1 0 0
attr grey27 1 0 0
attr light_goldenrod1 1 0 0
attr wheat1 1 0 0
attr thistle3 1 0 0
attr deep_sky_blue3 1 0 0
attr deep_pink1 1 0 0
attr dark_sea_green1 1 0 0
attr dark_olive_green2 1 0 0
attr dodger_blue1 1 0 0
attr olive 1 0 0
attr hot_pink 1 0 0
attr thistle1 1 0 0
attr spring_green1 1 0 0
attr cyan2 1 0 0
attr light_salmon3 1 0 0
attr violet 1 0 0
attr green 1 0 0
attr grey74 1 0 0
attr deep_pink2 1 0 0
attr misty_rose1 1 0 0
attr slate_blue1 1 0 0
attr dark_slate_gray2 1 0 0
attr hot_pink3 1 0 0
attr plum2 1 0 0
attr sky_blue3 1 0 0
attr light_steel_blue 1 0 0
attr lime 1 0 0
attr blue_violet 1 0 0
attr cornsilk1 1 0 0
attr medium_purple 1 0 0
attr red 1 0 0
attr navy 1 0 0
attr pale_turquoise4 1 0 0
attr royal_blue1 1 0 0
attr grey85 1 0 0
attr steel_blue3 1 0 0
attr dark_sea_green2 1 0 0
attr dark_goldenrod 1 0 0
attr turquoise4 1 0 0
attr light_sea_green 1 0 0
attr green4 1 0 0
attr blue 1 0 0
attr orchid 1 0 0
attr light_pink1 1 0 0
attr yellow4 1 0 0
attr light_steel_blue1 1 0 0
attr cyan1 1 0 0
attr grey35 1 0 0
attr silver 1 0 0
attr grey53 1 0 0
attr dark_turquoise 1 0 0
attr navajo_white3 1 0 0
attr plum3 1 0 0
attr magenta1 1 0 0
attr aquamarine1 1 0 0
attr white 1 0 0
attr medium_orchid1 1 0 0
attr grey37 1 0 0
attr dodger_blue2 1 0 0
attr spring_green3 1 0 0
attr dark_slate_gray1 1 0 0
attr deep_pink3 1 0 0
attr grey100 1 0 0
attr medium_turquoise 1 0 0
attr dark_blue 1 0 0
attr light_goldenrod2 1 0 0
attr purple3 1 0 0
attr dark_olive_green3 1 0 0
attr dark_khaki 1 0 0
attr pink3 1 0 0
attr grey89 1 0 0
attr medium_spring_green 1 0 0
attr grey66 1 0 0
attr grey93 1 0 0
attr salmon1 1 0 0
attr hot_pink2 1 0 0
attr cadet_blue 1 0 0
attr grey63 1 0 0
attr turquoise2 1 0 0
attr dark_cyan 1 0 0
attr teal 1 0 0
attr green1 1 0 0
attr gold3 1 0 0
attr red3 1 0 0
attr navajo_white1 1 0 0
attr medium_orchid 1 0 0
attr plum4 1 0 0
attr gold1 1 0 0
attr grey82 1 0 0
attr navy_blue 1 0 0
attr green_yellow 1 0 0
attr grey42 1 0 0
attr medium_orchid3 1 0 0
attr grey0 1 0 0
attr chartreuse2 1 0 0
attr light_slate_grey 1 0 0
attr indian_red1 1 0 0
attr slate_blue3 1 0 0
attr steel_blue1 1 0 0
attr magenta3 1 0 0
attr light_goldenrod3 1 0 0
attr grey19 1 0 0
attr light_yellow3 1 0 0
attr medium_violet_red 1 0 0
attr grey11 1 0 0
attr sky_blue2 1 0 0
attr maroon 1 0 0
attr dark_magenta 1 0 0
attr chartreuse1 1 0 0
attr yellow1 1 0 0
attr dark_orange 1 0 0
attr medium_purple2 1 0 0
attr orange_red1 1 0 0
attr deep_pink4 1 0 0
attr aqua 1 0 0
attr light_coral 1 0 0
attr cornflower_blue 1 0 0
attr rosy_brown 1 0 0
attr deep_sky_blue1 1 0 0
attr black 1 0 0
attr light_salmon1 1 0 0
attr khaki3 1 0 0
attr grey50 1 0 0
attr pale_turquoise1 1 0 0
attr honeydew2 1 0 0
attr blue3 1 0 0
attr cyan3 1 0 0
attr plum1 1 0 0
attr fuchsia 1 0 0
attr dodger_blue3 1 0 0
attr yellow 1 0 0
attr khaki1 1 0 0
attr deep_sky_blue2 1 0 0
attr medium_purple1 1 0 0
attr orange1 1 0 0
attr light_slate_blue 1 0 0
attr grey54 1 0 0
attr red1 1 0 0

progressbar.terminal.os_specific.windows (4 missing, 0 any)

Symbol Typable Typed Any
func print_color 3 1 0
func set_text_color 2 1 0
func getch 1 0 0

progressbar.terminal.stream (2 missing, 0 any)

Symbol Typable Typed Any
attr LineOffsetStreamWrapper.lines 1 0 0
attr TextIOOutputWrapper.stream 1 0 0

progressbar.utils (3 missing, 0 any)

Symbol Typable Typed Any
attr streams 1 0 0
attr StreamWrapper.original_stdout 1 0 0
attr StreamWrapper.original_stderr 1 0 0

progressbar.widgets (248 missing, 0 any)

Symbol Typable Typed Any
meth FormatLabelBar.init 3 0 0
meth FormatLabelBar.call 5 4 0
meth MultiRangeBar.init 4 0 0
meth MultiRangeBar.get_values 3 2 0
meth MultiRangeBar.call 5 3 0
attr MultiRangeBar.markers 1 0 0
meth FileTransferSpeed.init 6 0 0
meth FileTransferSpeed._speed 3 0 0
meth FileTransferSpeed.call 5 1 0
attr FileTransferSpeed.unit 1 0 0
attr FileTransferSpeed.prefixes 1 0 0
attr FileTransferSpeed.inverse_format 1 0 0
meth Counter.init 3 0 0
meth Counter.call 4 2 0
meth SmoothingETA.init 4 2 0
meth SmoothingETA.call 5 2 0
meth FormatCustomText.init 4 2 0
meth FormatCustomText.update_mapping 2 1 0
meth FormatCustomText.call 4 3 0
attr FormatCustomText.format 1 0 0
meth CurrentTime.init 4 0 0
meth CurrentTime.call 4 3 0
meth CurrentTime.current_datetime 1 0 0
meth CurrentTime.current_time 1 0 0
attr CurrentTime.INTERVAL 1 0 0
attr CurrentTime.microseconds 1 0 0
meth AdaptiveETA.init 4 0 0
meth AdaptiveETA.call 5 2 0
meth Percentage.init 4 0 0
meth Percentage.get_format 4 2 0
attr Percentage.na 1 0 0
meth Bar.init 8 0 0
meth Bar.call 5 3 0
attr Bar.marker 1 0 0
attr Bar.left 1 0 0
attr Bar.right 1 0 0
attr Bar.fill 1 0 0
attr Bar.fill_left 1 0 0
meth ReverseBar.init 7 0 0
meth AdaptiveTransferSpeed.init 2 0 0
meth AdaptiveTransferSpeed.call 5 1 0
meth FormatLabel.init 3 1 0
meth FormatLabel.call 4 3 0
meth SimpleProgress.init 3 0 0
meth SimpleProgress.call 4 2 0
meth VariableMixin.init 3 0 0
attr VariableMixin.name 1 0 0
meth DataSize.init 6 0 0
meth DataSize.call 4 3 0
attr DataSize.variable 1 0 0
attr DataSize.unit 1 0 0
attr DataSize.prefixes 1 0 0
meth BouncingBar.call 5 3 0
attr BouncingBar.INTERVAL 1 0 0
meth AbsoluteETA._calculate_eta 5 2 0
meth AbsoluteETA.init 5 0 0
meth PercentageLabelBar.init 4 0 0
meth PercentageLabelBar.call 5 4 0
meth JobStatusBar.init 13 1 0
meth JobStatusBar.call 5 3 0
attr JobStatusBar.name 1 0 0
attr JobStatusBar.left 1 0 0
attr JobStatusBar.right 1 0 0
attr JobStatusBar.fill 1 0 0
meth MultiProgressBar.init 4 0 0
meth MultiProgressBar.get_values 3 2 0
meth Variable.init 6 0 0
meth Variable.call 4 3 0
attr Variable.format 1 0 0
attr Variable.width 1 0 0
attr Variable.precision 1 0 0
meth Timer.init 3 0 0
attr Timer.format_time 1 0 0
meth GranularBar.init 5 0 0
meth GranularBar.call 4 3 0
attr GranularBar.markers 1 0 0
attr GranularBar.left 1 0 0
attr GranularBar.right 1 0 0
meth ETA.init 7 0 0
meth ETA._calculate_eta 5 2 0
meth ETA.call 5 2 0
attr ETA.format_not_started 1 0 0
attr ETA.format_finished 1 0 0
attr ETA.format 1 0 0
attr ETA.format_zero 1 0 0
attr ETA.format_NA 1 0 0
meth AnimatedMarker.init 7 0 0
meth AnimatedMarker.call 4 2 0
attr AnimatedMarker.markers 1 0 0
attr AnimatedMarker.marker_wrap 1 0 0
attr AnimatedMarker.default 1 0 0
attr AnimatedMarker.fill_wrap 1 0 0
attr AnimatedMarker.fill 1 0 0
func wrapper 3 0 0
func create_wrapper 2 0 0
func string_or_lambda 2 0 0
meth WidthWidgetMixin.init 4 0 0
meth WidthWidgetMixin.check_size 2 1 0
attr WidthWidgetMixin.min_width 1 0 0
attr WidthWidgetMixin.max_width 1 0 0
attr TimeSensitiveWidgetBase.INTERVAL 1 0 0
meth SamplesMixin.init 4 0 0
meth SamplesMixin.get_sample_times 3 2 0
meth SamplesMixin.get_sample_values 3 2 0
meth SamplesMixin.call 4 3 0
attr SamplesMixin.samples 1 0 0
attr SamplesMixin.key_prefix 1 0 0
func create_marker 3 0 0
meth FormatWidgetMixin.init 4 2 0
attr FormatWidgetMixin.new_style 1 0 0
attr FormatWidgetMixin.format 1 0 0
meth WidgetBase.init 5 0 0
prop WidgetBase.uses_colors 1 0 0
attr logger 1 0 0

Type-Ignore Comments

Flavor Count
type: ignore 1