def progressbar(<EOL>iterable=None, length=None, label=None,<EOL>show_eta=True, show_percent=None, show_pos=False, item_show_func=None,<EOL>fill_char='<STR_LIT:#>', empty_char='<STR_LIT:->', bar_template='<STR_LIT>', info_sep='<STR_LIT:U+0020>',<EOL>width=<NUM_LIT>, file=None, color=None):
try:<EOL><INDENT>return IPyBackend(iterable, length, label=label,<EOL>show_eta=show_eta, show_percent=show_percent, show_pos=show_pos,<EOL>item_show_func=item_show_func, info_sep=info_sep)<EOL><DEDENT>except (ImportError, RuntimeError): <EOL><INDENT>return click.progressbar(<EOL>iterable, length, label,<EOL>show_eta, show_percent, show_pos, item_show_func,<EOL>fill_char, empty_char, bar_template, info_sep,<EOL>width, file, color)<EOL><DEDENT>
Create a progressbar that works in Jupyter/IPython notebooks and the terminal