Hello community, here is the log from the commit of package python-tqdm for openSUSE:Factory checked in at 2018-10-31 13:12:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-tqdm (Old) and /work/SRC/openSUSE:Factory/.python-tqdm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tqdm" Wed Oct 31 13:12:21 2018 rev:15 rq:643577 version:4.27.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-tqdm/python-tqdm.changes 2018-09-18 11:44:15.495859113 +0200 +++ /work/SRC/openSUSE:Factory/.python-tqdm.new/python-tqdm.changes 2018-10-31 13:12:27.347569085 +0100 @@ -1,0 +2,15 @@ +Wed Oct 17 15:33:30 UTC 2018 - Arun Persaud <a...@gmx.de> + +- update to version 4.27.0: + * fix str.isnumeric #605 + * fix WeakSet KeyError #548, #553, #596 -> #607 + * stop tqdm_notebook description truncation #582 -> #599 + * include unit_scale for rate #608 + * add auto -> nowarning autonotebook + * add better postfix numeric formatting #621 + * minor refactoring #609 -> #616 + * update documentation + * add unit tests + * fix py26 CI + +------------------------------------------------------------------- Old: ---- tqdm-4.26.0.tar.gz New: ---- tqdm-4.27.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-tqdm.spec ++++++ --- /var/tmp/diff_new_pack.6gyFg0/_old 2018-10-31 13:12:31.095565451 +0100 +++ /var/tmp/diff_new_pack.6gyFg0/_new 2018-10-31 13:12:31.103565443 +0100 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-tqdm -Version: 4.26.0 +Version: 4.27.0 Release: 0 Summary: An extensible progress meter License: MPL-2.0 AND MIT ++++++ tqdm-4.26.0.tar.gz -> tqdm-4.27.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.26.0/PKG-INFO new/tqdm-4.27.0/PKG-INFO --- old/tqdm-4.26.0/PKG-INFO 2018-09-11 21:28:07.000000000 +0200 +++ new/tqdm-4.27.0/PKG-INFO 2018-10-15 18:32:17.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: tqdm -Version: 4.26.0 +Version: 4.27.0 Summary: Fast, Extensible Progress Meter Home-page: https://github.com/tqdm/tqdm Author: Noam Yorav-Raphael @@ -276,7 +276,7 @@ maxinterval=10.0, miniters=None, ascii=None, disable=False, unit='it', unit_scale=False, dynamic_ncols=False, smoothing=0.3, bar_format=None, initial=0, position=None, - postfix=None): + postfix=None, unit_divisor=1000): Parameters ~~~~~~~~~~ @@ -287,7 +287,7 @@ * desc : str, optional Prefix for the progressbar. * total : int, optional - The number of expected iterations. If (default: None), + The number of expected iterations. If unspecified, len(iterable) is used if possible. As a last resort, only basic progress statistics are displayed (no ETA, no progressbar). If ``gui`` is True and this parameter needs subsequent updating, @@ -307,9 +307,9 @@ fallback is a meter width of 10 and no limit for the counter and statistics. If 0, will not print any meter (only stats). * mininterval : float, optional - Minimum progress display update interval, in seconds [default: 0.1]. + Minimum progress display update interval [default: 0.1] seconds. * maxinterval : float, optional - Maximum progress display update interval, in seconds [default: 10]. + Maximum progress display update interval [default: 10] seconds. Automatically adjusts ``miniters`` to correspond to ``mininterval`` after long display update lag. Only works if ``dynamic_miniters`` or monitor thread is enabled. @@ -326,7 +326,7 @@ the meter. The fallback is to use ASCII characters ``1-9 #``. * disable : bool, optional Whether to disable the entire progressbar wrapper - [default: False]. + [default: False]. If set to None, disable on non-TTY. * unit : str, optional String that will be used to define the unit of each iteration [default: it]. @@ -348,10 +348,10 @@ [default: '{l_bar}{bar}{r_bar}'], where l_bar='{desc}: {percentage:3.0f}%|' and r_bar='| {n_fmt}/{total_fmt} [{elapsed}<{remaining}, ' - '{rate_fmt}{postfix}]' + '{rate_fmt}{postfix}]' Possible vars: l_bar, bar, r_bar, n, n_fmt, total, total_fmt, - percentage, rate, rate_fmt, rate_noinv, rate_noinv_fmt, - rate_inv, rate_inv_fmt, elapsed, remaining, desc, postfix. + percentage, rate, rate_fmt, rate_noinv, rate_noinv_fmt, + rate_inv, rate_inv_fmt, elapsed, remaining, desc, postfix. Note that a trailing ": " is automatically removed after {desc} if the latter is empty. * initial : int, optional @@ -685,7 +685,8 @@ Note that this will issue a ``TqdmExperimentalWarning`` if run in a notebook since it is not meant to be possible to distinguish between ``jupyter notebook`` - and ``jupyter console``. + and ``jupyter console``. Use ``auto`` instead of ``autonotebook`` to suppress + this warning. Writing messages ~~~~~~~~~~~~~~~~ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.26.0/README.rst new/tqdm-4.27.0/README.rst --- old/tqdm-4.26.0/README.rst 2018-09-11 21:25:42.000000000 +0200 +++ new/tqdm-4.27.0/README.rst 2018-10-15 18:09:30.000000000 +0200 @@ -266,7 +266,7 @@ maxinterval=10.0, miniters=None, ascii=None, disable=False, unit='it', unit_scale=False, dynamic_ncols=False, smoothing=0.3, bar_format=None, initial=0, position=None, - postfix=None): + postfix=None, unit_divisor=1000): Parameters ~~~~~~~~~~ @@ -277,7 +277,7 @@ * desc : str, optional Prefix for the progressbar. * total : int, optional - The number of expected iterations. If (default: None), + The number of expected iterations. If unspecified, len(iterable) is used if possible. As a last resort, only basic progress statistics are displayed (no ETA, no progressbar). If ``gui`` is True and this parameter needs subsequent updating, @@ -297,9 +297,9 @@ fallback is a meter width of 10 and no limit for the counter and statistics. If 0, will not print any meter (only stats). * mininterval : float, optional - Minimum progress display update interval, in seconds [default: 0.1]. + Minimum progress display update interval [default: 0.1] seconds. * maxinterval : float, optional - Maximum progress display update interval, in seconds [default: 10]. + Maximum progress display update interval [default: 10] seconds. Automatically adjusts ``miniters`` to correspond to ``mininterval`` after long display update lag. Only works if ``dynamic_miniters`` or monitor thread is enabled. @@ -316,7 +316,7 @@ the meter. The fallback is to use ASCII characters ``1-9 #``. * disable : bool, optional Whether to disable the entire progressbar wrapper - [default: False]. + [default: False]. If set to None, disable on non-TTY. * unit : str, optional String that will be used to define the unit of each iteration [default: it]. @@ -338,10 +338,10 @@ [default: '{l_bar}{bar}{r_bar}'], where l_bar='{desc}: {percentage:3.0f}%|' and r_bar='| {n_fmt}/{total_fmt} [{elapsed}<{remaining}, ' - '{rate_fmt}{postfix}]' + '{rate_fmt}{postfix}]' Possible vars: l_bar, bar, r_bar, n, n_fmt, total, total_fmt, - percentage, rate, rate_fmt, rate_noinv, rate_noinv_fmt, - rate_inv, rate_inv_fmt, elapsed, remaining, desc, postfix. + percentage, rate, rate_fmt, rate_noinv, rate_noinv_fmt, + rate_inv, rate_inv_fmt, elapsed, remaining, desc, postfix. Note that a trailing ": " is automatically removed after {desc} if the latter is empty. * initial : int, optional @@ -675,7 +675,8 @@ Note that this will issue a ``TqdmExperimentalWarning`` if run in a notebook since it is not meant to be possible to distinguish between ``jupyter notebook`` -and ``jupyter console``. +and ``jupyter console``. Use ``auto`` instead of ``autonotebook`` to suppress +this warning. Writing messages ~~~~~~~~~~~~~~~~ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.26.0/tox.ini new/tqdm-4.27.0/tox.ini --- old/tqdm-4.26.0/tox.ini 2018-09-11 21:25:42.000000000 +0200 +++ new/tqdm-4.27.0/tox.ini 2018-10-15 18:09:30.000000000 +0200 @@ -43,7 +43,11 @@ [testenv:py26] # no codecov and timer for py26 -deps = {[coverage]deps} +deps = + nose + coverage + coveralls==1.2.0 + pycparser==2.18 commands = {[coverage]commands} [testenv:pypy] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.26.0/tqdm/_tqdm.py new/tqdm-4.27.0/tqdm/_tqdm.py --- old/tqdm-4.26.0/tqdm/_tqdm.py 2018-09-11 21:26:06.000000000 +0200 +++ new/tqdm-4.27.0/tqdm/_tqdm.py 2018-10-15 18:09:30.000000000 +0200 @@ -173,6 +173,44 @@ return '{0:02d}:{1:02d}'.format(m, s) @staticmethod + def format_num(n): + """ + Intelligent scientific notation (.3g). + + Parameters + ---------- + n : int or float or Numeric + A Number. + + Returns + ------- + out : str + Formatted number. + """ + f = '{0:.3g}'.format(n).replace('+0', '+').replace('-0', '-') + n = str(n) + return f if len(f) < len(n) else n + + @staticmethod + def ema(x, mu=None, alpha=0.3): + """ + Exponential moving average: smoothing to give progressively lower + weights to older values. + + Parameters + ---------- + x : float + New value to include in EMA. + mu : float, optional + Previous EMA value. + alpha : float, optional + Smoothing factor in range [0, 1], [default: 0.3]. + Increase to give more weight to recent values. + Ranges from 0 (yields mu) to 1 (yields x). + """ + return x if mu is None else (alpha * x) + (1 - alpha) * mu + + @staticmethod def status_printer(file): """ Manage the printing and in-place updating of a line of characters. @@ -267,6 +305,8 @@ if unit_scale and unit_scale not in (True, 1): total *= unit_scale n *= unit_scale + if rate: + rate *= unit_scale # by default rate = 1 / self.avg_time unit_scale = False format_interval = tqdm.format_interval @@ -440,9 +480,11 @@ try: cls._instances.remove(instance) except KeyError: - if not instance.gui: # pragma: no cover - raise - else: + # if not instance.gui: # pragma: no cover + # raise + pass # py2: maybe magically removed already + # else: + if not instance.gui: for inst in cls._instances: # negative `pos` means fixed if inst.pos > abs(instance.pos): @@ -679,9 +721,9 @@ fallback is a meter width of 10 and no limit for the counter and statistics. If 0, will not print any meter (only stats). mininterval : float, optional - Minimum progress display update interval, in seconds [default: 0.1]. + Minimum progress display update interval [default: 0.1] seconds. maxinterval : float, optional - Maximum progress display update interval, in seconds [default: 10]. + Maximum progress display update interval [default: 10] seconds. Automatically adjusts `miniters` to correspond to `mininterval` after long display update lag. Only works if `dynamic_miniters` or monitor thread is enabled. @@ -948,10 +990,8 @@ delta_it = n - last_print_n # EMA (not just overall average) if smoothing and delta_t and delta_it: - avg_time = delta_t / delta_it \ - if avg_time is None \ - else smoothing * delta_t / delta_it + \ - (1 - smoothing) * avg_time + rate = delta_t / delta_it + avg_time = self.ema(rate, avg_time, smoothing) self.avg_time = avg_time self.n = n @@ -977,10 +1017,10 @@ elif smoothing: # EMA-weight miniters to converge # towards the timeframe of mininterval - miniters = smoothing * delta_it * \ - (mininterval / delta_t - if mininterval and delta_t else 1) + \ - (1 - smoothing) * miniters + rate = delta_it + if mininterval and delta_t: + rate *= mininterval / delta_t + miniters = self.ema(rate, miniters, smoothing) else: # Maximum nb of iterations between 2 prints miniters = max(miniters, delta_it) @@ -1034,10 +1074,8 @@ # elapsed = cur_t - self.start_t # EMA (not just overall average) if self.smoothing and delta_t and delta_it: - self.avg_time = delta_t / delta_it \ - if self.avg_time is None \ - else self.smoothing * delta_t / delta_it + \ - (1 - self.smoothing) * self.avg_time + rate = delta_t / delta_it + self.avg_time = self.ema(rate, self.avg_time, self.smoothing) if not hasattr(self, "sp"): raise TqdmDeprecationWarning("""\ @@ -1181,7 +1219,7 @@ for key in postfix.keys(): # Number: limit the length of the string if isinstance(postfix[key], Number): - postfix[key] = '{0:2.3g}'.format(postfix[key]) + postfix[key] = self.format_num(postfix[key]) # Else for any other type, try to get the string conversion elif not isinstance(postfix[key], _basestring): postfix[key] = str(postfix[key]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.26.0/tqdm/_tqdm_gui.py new/tqdm-4.27.0/tqdm/_tqdm_gui.py --- old/tqdm-4.26.0/tqdm/_tqdm_gui.py 2018-05-14 01:34:20.000000000 +0200 +++ new/tqdm-4.27.0/tqdm/_tqdm_gui.py 2018-10-15 18:09:30.000000000 +0200 @@ -140,11 +140,9 @@ if delta_t >= mininterval: elapsed = cur_t - start_t # EMA (not just overall average) - if smoothing and delta_t: - avg_time = delta_t / delta_it \ - if avg_time is None \ - else smoothing * delta_t / delta_it + \ - (1 - smoothing) * avg_time + if smoothing and delta_t and delta_it: + rate = delta_t / delta_it + avg_time = self.ema(rate, avg_time, smoothing) # Inline due to multiple calls total = self.total @@ -208,11 +206,12 @@ elif mininterval and delta_t: # EMA-weight miniters to converge # towards the timeframe of mininterval - miniters = smoothing * delta_it * mininterval \ - / delta_t + (1 - smoothing) * miniters + rate = delta_it + if mininterval and delta_t: + rate *= mininterval / delta_t + miniters = self.ema(rate, miniters, smoothing) else: - miniters = smoothing * delta_it + \ - (1 - smoothing) * miniters + miniters = self.ema(delta_it, miniters, smoothing) # Store old values for next call last_print_n = n @@ -242,11 +241,9 @@ if delta_t >= self.mininterval: elapsed = cur_t - self.start_t # EMA (not just overall average) - if self.smoothing and delta_t: - self.avg_time = delta_t / delta_it \ - if self.avg_time is None \ - else self.smoothing * delta_t / delta_it + \ - (1 - self.smoothing) * self.avg_time + if self.smoothing and delta_t and delta_it: + rate = delta_t / delta_it + self.avg_time = self.ema(rate, self.avg_time, self.smoothing) # Inline due to multiple calls total = self.total diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.26.0/tqdm/_tqdm_notebook.py new/tqdm-4.27.0/tqdm/_tqdm_notebook.py --- old/tqdm-4.26.0/tqdm/_tqdm_notebook.py 2018-09-11 21:25:42.000000000 +0200 +++ new/tqdm-4.27.0/tqdm/_tqdm_notebook.py 2018-10-15 18:09:30.000000000 +0200 @@ -19,9 +19,15 @@ if True: # pragma: no cover # import IPython/Jupyter base widget and display utilities + IPY = 0 + IPYW = 0 try: # IPython 4.x import ipywidgets IPY = 4 + try: + IPYW = int(ipywidgets.__version__.split('.')[0]) + except AttributeError: # __version__ may not exist in old versions + pass except ImportError: # IPython 3.x / 2.x IPY = 32 import warnings @@ -108,6 +114,8 @@ if desc: pbar.description = desc + if IPYW >= 7: + pbar.style.description_width = 'initial' # Prepare status text ptext = HTML() # Only way to place text to the right of the bar is to use a container @@ -116,9 +124,11 @@ if ncols is not None: # use default style of ipywidgets # ncols could be 100, "100px", "100%" ncols = str(ncols) # ipywidgets only accepts string - if ncols[-1].isnumeric(): - # if last value is digit, assume the value is digit - ncols += 'px' + try: + if int(ncols) > 0: # isnumeric and positive + ncols += 'px' + except ValueError: + pass pbar.layout.flex = '2' container.layout.width = ncols container.layout.display = 'inline-flex' @@ -170,6 +180,8 @@ # Update description if desc: pbar.description = desc + if IPYW >= 7: + pbar.style.description_width = 'initial' return print_status diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.26.0/tqdm/_version.py new/tqdm-4.27.0/tqdm/_version.py --- old/tqdm-4.26.0/tqdm/_version.py 2018-09-11 21:25:42.000000000 +0200 +++ new/tqdm-4.27.0/tqdm/_version.py 2018-10-15 18:23:51.000000000 +0200 @@ -5,7 +5,7 @@ __all__ = ["__version__"] # major, minor, patch, -extra -version_info = 4, 26, 0 +version_info = 4, 27, 0 # Nice string for the version __version__ = '.'.join(map(str, version_info)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.26.0/tqdm/auto/__init__.py new/tqdm-4.27.0/tqdm/auto/__init__.py --- old/tqdm-4.26.0/tqdm/auto/__init__.py 1970-01-01 01:00:00.000000000 +0100 +++ new/tqdm-4.27.0/tqdm/auto/__init__.py 2018-10-15 18:09:30.000000000 +0200 @@ -0,0 +1,6 @@ +import warnings +from .._tqdm import TqdmExperimentalWarning +with warnings.catch_warnings(): + warnings.simplefilter("ignore", category=TqdmExperimentalWarning) + from ..autonotebook import tqdm, trange +__all__ = ["tqdm", "trange"] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.26.0/tqdm/tests/tests_tqdm.py new/tqdm-4.27.0/tqdm/tests/tests_tqdm.py --- old/tqdm-4.26.0/tqdm/tests/tests_tqdm.py 2018-09-11 21:25:42.000000000 +0200 +++ new/tqdm-4.27.0/tqdm/tests/tests_tqdm.py 2018-10-15 18:09:30.000000000 +0200 @@ -209,6 +209,15 @@ assert format_interval(238113) == '66:08:33' +def test_format_num(): + """Test number format""" + format_num = tqdm.format_num + + assert float(format_num(1337)) == 1337 + assert format_num(int(1e6)) == '1e+6' + assert format_num(1239876) == '1''239''876' + + def test_format_meter(): """Test statistics and progress bar formatting""" try: @@ -1604,14 +1613,21 @@ internal(our_file, True) -@with_setup(pretest, posttest) -def test_autonotebook(): - """Test autonotebook fallback""" - from tqdm.autonotebook import tqdm as tn - from tqdm.autonotebook import trange as tr +def backendCheck(module): + """Test tqdm-like module fallback""" + tn = module.tqdm + tr = module.trange with closing(StringIO()) as our_file: with tn(total=10, file=our_file) as t: assert len(t) == 10 with tr(1337) as t: assert len(t) == 1337 + + +@with_setup(pretest, posttest) +def test_auto(): + """Test auto fallback""" + from tqdm import autonotebook, auto + backendCheck(autonotebook) + backendCheck(auto) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.26.0/tqdm.1 new/tqdm-4.27.0/tqdm.1 --- old/tqdm-4.26.0/tqdm.1 2018-05-22 21:07:35.000000000 +0200 +++ new/tqdm-4.27.0/tqdm.1 2018-10-15 18:09:30.000000000 +0200 @@ -84,13 +84,13 @@ .TP .B \-\-mininterval=\f[I]mininterval\f[] float, optional. -Minimum progress display update interval, in seconds [default: 0.1]. +Minimum progress display update interval [default: 0.1] seconds. .RS .RE .TP .B \-\-maxinterval=\f[I]maxinterval\f[] float, optional. -Maximum progress display update interval, in seconds [default: 10]. +Maximum progress display update interval [default: 10] seconds. Automatically adjusts \f[C]miniters\f[] to correspond to \f[C]mininterval\f[] after long display update lag. Only works if \f[C]dynamic_miniters\f[] or monitor thread is enabled. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.26.0/tqdm.egg-info/PKG-INFO new/tqdm-4.27.0/tqdm.egg-info/PKG-INFO --- old/tqdm-4.26.0/tqdm.egg-info/PKG-INFO 2018-09-11 21:28:07.000000000 +0200 +++ new/tqdm-4.27.0/tqdm.egg-info/PKG-INFO 2018-10-15 18:32:17.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: tqdm -Version: 4.26.0 +Version: 4.27.0 Summary: Fast, Extensible Progress Meter Home-page: https://github.com/tqdm/tqdm Author: Noam Yorav-Raphael @@ -276,7 +276,7 @@ maxinterval=10.0, miniters=None, ascii=None, disable=False, unit='it', unit_scale=False, dynamic_ncols=False, smoothing=0.3, bar_format=None, initial=0, position=None, - postfix=None): + postfix=None, unit_divisor=1000): Parameters ~~~~~~~~~~ @@ -287,7 +287,7 @@ * desc : str, optional Prefix for the progressbar. * total : int, optional - The number of expected iterations. If (default: None), + The number of expected iterations. If unspecified, len(iterable) is used if possible. As a last resort, only basic progress statistics are displayed (no ETA, no progressbar). If ``gui`` is True and this parameter needs subsequent updating, @@ -307,9 +307,9 @@ fallback is a meter width of 10 and no limit for the counter and statistics. If 0, will not print any meter (only stats). * mininterval : float, optional - Minimum progress display update interval, in seconds [default: 0.1]. + Minimum progress display update interval [default: 0.1] seconds. * maxinterval : float, optional - Maximum progress display update interval, in seconds [default: 10]. + Maximum progress display update interval [default: 10] seconds. Automatically adjusts ``miniters`` to correspond to ``mininterval`` after long display update lag. Only works if ``dynamic_miniters`` or monitor thread is enabled. @@ -326,7 +326,7 @@ the meter. The fallback is to use ASCII characters ``1-9 #``. * disable : bool, optional Whether to disable the entire progressbar wrapper - [default: False]. + [default: False]. If set to None, disable on non-TTY. * unit : str, optional String that will be used to define the unit of each iteration [default: it]. @@ -348,10 +348,10 @@ [default: '{l_bar}{bar}{r_bar}'], where l_bar='{desc}: {percentage:3.0f}%|' and r_bar='| {n_fmt}/{total_fmt} [{elapsed}<{remaining}, ' - '{rate_fmt}{postfix}]' + '{rate_fmt}{postfix}]' Possible vars: l_bar, bar, r_bar, n, n_fmt, total, total_fmt, - percentage, rate, rate_fmt, rate_noinv, rate_noinv_fmt, - rate_inv, rate_inv_fmt, elapsed, remaining, desc, postfix. + percentage, rate, rate_fmt, rate_noinv, rate_noinv_fmt, + rate_inv, rate_inv_fmt, elapsed, remaining, desc, postfix. Note that a trailing ": " is automatically removed after {desc} if the latter is empty. * initial : int, optional @@ -685,7 +685,8 @@ Note that this will issue a ``TqdmExperimentalWarning`` if run in a notebook since it is not meant to be possible to distinguish between ``jupyter notebook`` - and ``jupyter console``. + and ``jupyter console``. Use ``auto`` instead of ``autonotebook`` to suppress + this warning. Writing messages ~~~~~~~~~~~~~~~~ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.26.0/tqdm.egg-info/SOURCES.txt new/tqdm-4.27.0/tqdm.egg-info/SOURCES.txt --- old/tqdm-4.26.0/tqdm.egg-info/SOURCES.txt 2018-09-11 21:28:07.000000000 +0200 +++ new/tqdm-4.27.0/tqdm.egg-info/SOURCES.txt 2018-10-15 18:32:17.000000000 +0200 @@ -35,6 +35,7 @@ tqdm.egg-info/dependency_links.txt tqdm.egg-info/entry_points.txt tqdm.egg-info/top_level.txt +tqdm/auto/__init__.py tqdm/autonotebook/__init__.py tqdm/tests/tests_main.py tqdm/tests/tests_pandas.py