Hello community, here is the log from the commit of package python-tqdm for openSUSE:Factory checked in at 2019-01-03 18:06:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-tqdm (Old) and /work/SRC/openSUSE:Factory/.python-tqdm.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-tqdm" Thu Jan 3 18:06:59 2019 rev:16 rq:662206 version:4.28.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-tqdm/python-tqdm.changes 2018-10-31 13:12:27.347569085 +0100 +++ /work/SRC/openSUSE:Factory/.python-tqdm.new.28833/python-tqdm.changes 2019-01-03 18:07:00.396120178 +0100 @@ -1,0 +2,15 @@ +Mon Dec 31 14:21:07 UTC 2018 - Thomas Bechtold <[email protected]> + +- update to 4.28.1: + * tqdm.main(): expose argv + * cli: add working `--manpath` + * fix CLI:--manpath not found issue + * update .gitattributes + * CLI unit tests + * remove deprecated dist options + * add missing auto submodule + * PyPI fix + * remove man page from distribution + * cli:add `--man_path` option + +------------------------------------------------------------------- Old: ---- tqdm-4.27.0.tar.gz New: ---- tqdm-4.28.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-tqdm.spec ++++++ --- /var/tmp/diff_new_pack.BjOZkW/_old 2019-01-03 18:07:01.256119413 +0100 +++ /var/tmp/diff_new_pack.BjOZkW/_new 2019-01-03 18:07:01.264119406 +0100 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define oldpython python Name: python-tqdm -Version: 4.27.0 +Version: 4.28.1 Release: 0 Summary: An extensible progress meter License: MPL-2.0 AND MIT @@ -50,8 +50,6 @@ %prep %setup -q -n tqdm-%{version} -# fix installation directory for man pages -sed -i 's#man/man1#share/man/man1#' setup.py %build %python_build @@ -59,7 +57,6 @@ %install %python_install %python_clone -a %{buildroot}%{_bindir}/tqdm -%python_clone -a %{buildroot}%{_mandir}/man1/tqdm.1 %python_expand %fdupes %{buildroot}%{$python_sitelib} %post @@ -70,6 +67,7 @@ %check %{python_expand export PATH="$PATH:%{buildroot}%{_bindir}" +export PYTHONPATH=%{buildroot}%{$python_sitelib} nosetests-%%{$python_bin_suffix} --ignore-files="tests_perf\.py" --ignore-files="tests_synchronisation\.py" tqdm/ } @@ -82,6 +80,5 @@ %{python_sitelib}/tqdm/* %{python_sitelib}/tqdm-%{version}-py%{py_ver}.egg-info/* %python_alternative %{_bindir}/tqdm -%python_alternative %{_mandir}/man1/tqdm.1 %changelog ++++++ tqdm-4.27.0.tar.gz -> tqdm-4.28.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.27.0/MANIFEST.in new/tqdm-4.28.1/MANIFEST.in --- old/tqdm-4.27.0/MANIFEST.in 2018-09-27 01:10:21.000000000 +0200 +++ new/tqdm-4.28.1/MANIFEST.in 2018-10-21 20:47:09.000000000 +0200 @@ -9,9 +9,12 @@ # Test suite recursive-include tqdm/tests *.py + +# Sub-packages recursive-include tqdm/autonotebook *.py +recursive-include tqdm/auto *.py # Examples/Documentation recursive-include examples *.py include README.rst -include tqdm.1 +include tqdm/tqdm.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.27.0/Makefile new/tqdm-4.28.1/Makefile --- old/tqdm-4.27.0/Makefile 2018-10-15 18:02:08.000000000 +0200 +++ new/tqdm-4.28.1/Makefile 2018-10-21 20:47:09.000000000 +0200 @@ -30,7 +30,6 @@ installdev install build - pypimeta pypi none @@ -86,7 +85,7 @@ asv publish asv preview -tqdm.1: tqdm.1.md +tqdm/tqdm.1: .tqdm.1.md python -m tqdm --help | tail -n+5 | cat "$<" - |\ sed -r 's/^ (--.*)=<(.*)> : (.*)$$/\n\\\1=*\2*\n: \3./' |\ sed -r 's/ (-.*, --.*) /\n\1\n: /' |\ @@ -127,11 +126,8 @@ build: @make prebuildclean - python setup.py sdist --formats=gztar,zip bdist_wheel - python setup.py bdist_wininst - -pypimeta: - python setup.py register + python setup.py sdist bdist_wheel + # python setup.py bdist_wininst pypi: twine upload dist/* @@ -139,7 +135,6 @@ buildupload: @make testsetup @make build - @make pypimeta @make pypi none: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.27.0/PKG-INFO new/tqdm-4.28.1/PKG-INFO --- old/tqdm-4.27.0/PKG-INFO 2018-10-15 18:32:17.000000000 +0200 +++ new/tqdm-4.28.1/PKG-INFO 2018-10-21 21:37:30.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: tqdm -Version: 4.27.0 +Version: 4.28.1 Summary: Fast, Extensible Progress Meter Home-page: https://github.com/tqdm/tqdm Author: Noam Yorav-Raphael @@ -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 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.27.0/README.rst new/tqdm-4.28.1/README.rst --- old/tqdm-4.27.0/README.rst 2018-10-15 18:09:30.000000000 +0200 +++ new/tqdm-4.28.1/README.rst 2018-10-20 23:13:56.000000000 +0200 @@ -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 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.27.0/setup.py new/tqdm-4.28.1/setup.py --- old/tqdm-4.27.0/setup.py 2018-09-27 01:10:21.000000000 +0200 +++ new/tqdm-4.28.1/setup.py 2018-10-21 19:50:34.000000000 +0200 @@ -182,8 +182,8 @@ platforms=['any'], packages=['tqdm'] + ['tqdm.' + i for i in find_packages('tqdm')], entry_points={'console_scripts': ['tqdm=tqdm._main:main'], }, - data_files=[('man/man1', ['tqdm.1'])], - package_data={'': ['CONTRIBUTING.md', 'LICENCE', 'examples/*.py']}, + package_data={'tqdm': ['CONTRIBUTING.md', 'LICENCE', 'examples/*.py', + 'tqdm.1']}, long_description=README_rst, python_requires='>=2.6, !=3.0.*, !=3.1.*', classifiers=[ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.27.0/tqdm/_main.py new/tqdm-4.28.1/tqdm/_main.py --- old/tqdm-4.27.0/tqdm/_main.py 2018-05-14 01:34:20.000000000 +0200 +++ new/tqdm-4.28.1/tqdm/_main.py 2018-10-21 20:47:09.000000000 +0200 @@ -109,25 +109,30 @@ bytes : bool, optional If true, will count bytes, ignore `delim`, and default `unit_scale` to True, `unit_divisor` to 1024, and `unit` to 'B'. + manpath : str, optional + Directory in which to install tqdm man pages. log : str, optional CRITICAL|FATAL|ERROR|WARN(ING)|[default: 'INFO']|DEBUG|NOTSET. """ -def main(fp=sys.stderr): +def main(fp=sys.stderr, argv=None): """ Paramters (internal use only) --------- fp : file-like object for tqdm + argv : list (default: sys.argv[1:]) """ + if argv is None: + argv = sys.argv[1:] try: - log = sys.argv.index('--log') + log = argv.index('--log') except ValueError: logLevel = 'INFO' else: - # sys.argv.pop(log) - # logLevel = sys.argv.pop(log) - logLevel = sys.argv[log + 1] + # argv.pop(log) + # logLevel = argv.pop(log) + logLevel = argv[log + 1] logging.basicConfig( level=getattr(logging, logLevel), format="%(levelname)s:%(module)s:%(lineno)d:%(message)s") @@ -159,14 +164,14 @@ """ + d.strip('\n') + '\n' # opts = docopt(d, version=__version__) - if any(v in sys.argv for v in ('-v', '--version')): + if any(v in argv for v in ('-v', '--version')): sys.stdout.write(__version__ + '\n') sys.exit(0) - elif any(v in sys.argv for v in ('-h', '--help')): + elif any(v in argv for v in ('-h', '--help')): sys.stdout.write(d + '\n') sys.exit(0) - argv = RE_SHLEX.split(' '.join(["tqdm"] + sys.argv[1:])) + argv = RE_SHLEX.split(' '.join(["tqdm"] + argv)) opts = dict(zip(argv[1::2], argv[2::2])) log.debug(opts) @@ -189,6 +194,16 @@ buf_size = tqdm_args.pop('buf_size', 256) delim = tqdm_args.pop('delim', '\n') delim_per_char = tqdm_args.pop('bytes', False) + manpath = tqdm_args.pop('manpath', None) + if manpath is not None: + from os import path + from shutil import copyfile + from pkg_resources import resource_filename, Requirement + fi = resource_filename(Requirement.parse('tqdm'), 'tqdm/tqdm.1') + fo = path.join(manpath, 'tqdm.1') + copyfile(fi, fo) + log.info("written:" + fo) + sys.exit(0) if delim_per_char: tqdm_args.setdefault('unit', 'B') tqdm_args.setdefault('unit_scale', True) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.27.0/tqdm/_version.py new/tqdm-4.28.1/tqdm/_version.py --- old/tqdm-4.27.0/tqdm/_version.py 2018-10-15 18:23:51.000000000 +0200 +++ new/tqdm-4.28.1/tqdm/_version.py 2018-10-21 20:47:29.000000000 +0200 @@ -5,7 +5,7 @@ __all__ = ["__version__"] # major, minor, patch, -extra -version_info = 4, 27, 0 +version_info = 4, 28, 1 # Nice string for the version __version__ = '.'.join(map(str, version_info)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.27.0/tqdm/tests/tests_main.py new/tqdm-4.28.1/tqdm/tests/tests_main.py --- old/tqdm-4.27.0/tqdm/tests/tests_main.py 2018-05-22 21:28:41.000000000 +0200 +++ new/tqdm-4.28.1/tqdm/tests/tests_main.py 2018-10-21 20:47:09.000000000 +0200 @@ -1,5 +1,8 @@ import sys import subprocess +from os import path +from shutil import rmtree +from tempfile import mkdtemp from tqdm import main, TqdmKeyError, TqdmTypeError from tests_tqdm import with_setup, pretest, posttest, _range, closing, \ @@ -83,6 +86,7 @@ else: raise TqdmTypeError('invalid_int_value') + # test SystemExits for i in ('-h', '--help', '-v', '--version'): sys.argv = ['', i] try: @@ -90,5 +94,26 @@ except SystemExit: pass + # test --manpath + tmp = mkdtemp() + man = path.join(tmp, "tqdm.1") + assert not path.exists(man) + try: + main(argv=['--manpath', tmp]) + except SystemExit: + pass + else: + raise SystemExit("Expected system exit") + assert path.exists(man) + rmtree(tmp, True) + + # test --log + with closing(StringIO()) as sys.stdin: + sys.stdin.write('\0'.join(map(str, _range(int(1e3))))) + sys.stdin.seek(0) + # with closing(UnicodeIO()) as fp: + main(argv=['--log', 'DEBUG']) + # assert "DEBUG:" in sys.stdout.getvalue() + # clean up sys.stdin, sys.argv = _SYS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.27.0/tqdm/tqdm.1 new/tqdm-4.28.1/tqdm/tqdm.1 --- old/tqdm-4.27.0/tqdm/tqdm.1 1970-01-01 01:00:00.000000000 +0100 +++ new/tqdm-4.28.1/tqdm/tqdm.1 2018-10-21 20:47:09.000000000 +0200 @@ -0,0 +1,236 @@ +.\" Automatically generated by Pandoc 1.19.2.1 +.\" +.TH "TQDM" "1" "2015\-2018" "tqdm User Manuals" "" +.hy +.SH NAME +.PP +tqdm \- fast, extensible progress bar for Python and CLI +.SH SYNOPSIS +.PP +tqdm [\f[I]options\f[]] +.SH DESCRIPTION +.PP +See <https://github.com/tqdm/tqdm>. +Can be used as a pipe: +.IP +.nf +\f[C] +$\ #\ count\ lines\ of\ code +$\ cat\ *.py\ |\ tqdm\ |\ wc\ \-l +327it\ [00:00,\ 981773.38it/s] +327 + +$\ #\ find\ all\ files +$\ find\ .\ \-name\ "*.py"\ |\ tqdm\ |\ wc\ \-l +432it\ [00:00,\ 833842.30it/s] +432 + +#\ ...\ and\ more\ info +$\ find\ .\ \-name\ \[aq]*.py\[aq]\ \-exec\ wc\ \-l\ \\{}\ \\;\ \\ +\ \ |\ tqdm\ \-\-total\ 432\ \-\-unit\ files\ \-\-desc\ counting\ \\ +\ \ |\ awk\ \[aq]{\ sum\ +=\ $1\ };\ END\ {\ print\ sum\ }\[aq] +counting:\ 100%|█████████|\ 432/432\ [00:00<00:00,\ 794361.83files/s] +131998 +\f[] +.fi +.SH OPTIONS +.TP +.B \-h, \-\-help +Print this help and exit +.RS +.RE +.TP +.B \-v, \-\-version +Print version and exit +.RS +.RE +.TP +.B \-\-desc=\f[I]desc\f[] +str, optional. +Prefix for the progressbar. +.RS +.RE +.TP +.B \-\-total=\f[I]total\f[] +int, optional. +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 \f[C]gui\f[] is True and this parameter needs subsequent updating, +specify an initial arbitrary large positive integer, e.g. +int(9e9). +.RS +.RE +.TP +.B \-\-leave=\f[I]leave\f[] +bool, optional. +If [default: True], keeps all traces of the progressbar upon termination +of iteration. +.RS +.RE +.TP +.B \-\-ncols=\f[I]ncols\f[] +int, optional. +The width of the entire output message. +If specified, dynamically resizes the progressbar to stay within this +bound. +If unspecified, attempts to use environment width. +The fallback is a meter width of 10 and no limit for the counter and +statistics. +If 0, will not print any meter (only stats). +.RS +.RE +.TP +.B \-\-mininterval=\f[I]mininterval\f[] +float, optional. +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 [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. +.RS +.RE +.TP +.B \-\-miniters=\f[I]miniters\f[] +int, optional. +Minimum progress display update interval, in iterations. +If 0 and \f[C]dynamic_miniters\f[], will automatically adjust to equal +\f[C]mininterval\f[] (more CPU efficient, good for tight loops). +If > 0, will skip display of specified number of iterations. +Tweak this and \f[C]mininterval\f[] to get very efficient loops. +If your progress is erratic with both fast and slow iterations (network, +skipping items, etc) you should set miniters=1. +.RS +.RE +.TP +.B \-\-ascii=\f[I]ascii\f[] +bool, optional. +If unspecified or False, use unicode (smooth blocks) to fill the meter. +The fallback is to use ASCII characters \f[C]1\-9\ #\f[]. +.RS +.RE +.TP +.B \-\-disable=\f[I]disable\f[] +bool, optional. +Whether to disable the entire progressbar wrapper [default: False]. +If set to None, disable on non\-TTY. +.RS +.RE +.TP +.B \-\-unit=\f[I]unit\f[] +str, optional. +String that will be used to define the unit of each iteration [default: +it]. +.RS +.RE +.TP +.B \-\-unit_scale=\f[I]unit_scale\f[] +bool or int or float, optional. +If 1 or True, the number of iterations will be reduced/scaled +automatically and a metric prefix following the International System of +Units standard will be added (kilo, mega, etc.) [default: False]. +If any other non\-zero number, will scale \f[C]total\f[] and \f[C]n\f[]. +.RS +.RE +.TP +.B \-\-dynamic_ncols=\f[I]dynamic_ncols\f[] +bool, optional. +If set, constantly alters \f[C]ncols\f[] to the environment (allowing +for window resizes) [default: False]. +.RS +.RE +.TP +.B \-\-smoothing=\f[I]smoothing\f[] +float, optional. +Exponential moving average smoothing factor for speed estimates (ignored +in GUI mode). +Ranges from 0 (average speed) to 1 (current/instantaneous speed) +[default: 0.3]. +.RS +.RE +.TP +.B \-\-bar_format=\f[I]bar_format\f[] +str, optional. +Specify a custom bar string formatting. +May impact performance. +[default: \[aq]{l_bar}{bar}{r_bar}\[aq]], where l_bar=\[aq]{desc}: +{percentage:3.0f}%|\[aq] and r_bar=\[aq]| {n_fmt}/{total_fmt} +[{elapsed}<{remaining}, \[aq] \[aq]{rate_fmt}{postfix}]\[aq] 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. +Note that a trailing ": " is automatically removed after {desc} if the +latter is empty. +.RS +.RE +.TP +.B \-\-initial=\f[I]initial\f[] +int, optional. +The initial counter value. +Useful when restarting a progress bar [default: 0]. +.RS +.RE +.TP +.B \-\-position=\f[I]position\f[] +int, optional. +Specify the line offset to print this bar (starting from 0) Automatic if +unspecified. +Useful to manage multiple bars at once (eg, from threads). +.RS +.RE +.TP +.B \-\-postfix=\f[I]postfix\f[] +dict or *, optional. +Specify additional stats to display at the end of the bar. +Calls \f[C]set_postfix(**postfix)\f[] if possible (dict). +.RS +.RE +.TP +.B \-\-unit_divisor=\f[I]unit_divisor\f[] +float, optional. +[default: 1000], ignored unless \f[C]unit_scale\f[] is True. +.RS +.RE +.TP +.B \-\-delim=\f[I]delim\f[] +chr, optional. +Delimiting character [default: \[aq]\[aq]]. +Use \[aq]\[aq] for null. +N.B.: on Windows systems, Python converts \[aq]\[aq] to \[aq]\[aq]. +.RS +.RE +.TP +.B \-\-buf_size=\f[I]buf_size\f[] +int, optional. +String buffer size in bytes [default: 256] used when \f[C]delim\f[] is +specified. +.RS +.RE +.TP +.B \-\-bytes=\f[I]bytes\f[] +bool, optional. +If true, will count bytes, ignore \f[C]delim\f[], and default +\f[C]unit_scale\f[] to True, \f[C]unit_divisor\f[] to 1024, and +\f[C]unit\f[] to \[aq]B\[aq]. +.RS +.RE +.TP +.B \-\-manpath=\f[I]manpath\f[] +str, optional. +Directory in which to install tqdm man pages. +.RS +.RE +.TP +.B \-\-log=\f[I]log\f[] +str, optional. +CRITICAL|FATAL|ERROR|WARN(ING)|[default: \[aq]INFO\[aq]]|DEBUG|NOTSET. +.RS +.RE +.SH AUTHORS +tqdm developers <https://github.com/tqdm>. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.27.0/tqdm.1 new/tqdm-4.28.1/tqdm.1 --- old/tqdm-4.27.0/tqdm.1 2018-10-15 18:09:30.000000000 +0200 +++ new/tqdm-4.28.1/tqdm.1 1970-01-01 01:00:00.000000000 +0100 @@ -1,230 +0,0 @@ -.\" Automatically generated by Pandoc 1.19.2.1 -.\" -.TH "TQDM" "1" "2015\-2018" "tqdm User Manuals" "" -.hy -.SH NAME -.PP -tqdm \- fast, extensible progress bar for Python and CLI -.SH SYNOPSIS -.PP -tqdm [\f[I]options\f[]] -.SH DESCRIPTION -.PP -See <https://github.com/tqdm/tqdm>. -Can be used as a pipe: -.IP -.nf -\f[C] -$\ #\ count\ lines\ of\ code -$\ cat\ *.py\ |\ tqdm\ |\ wc\ \-l -327it\ [00:00,\ 981773.38it/s] -327 - -$\ #\ find\ all\ files -$\ find\ .\ \-name\ "*.py"\ |\ tqdm\ |\ wc\ \-l -432it\ [00:00,\ 833842.30it/s] -432 - -#\ ...\ and\ more\ info -$\ find\ .\ \-name\ \[aq]*.py\[aq]\ \-exec\ wc\ \-l\ \\{}\ \\;\ \\ -\ \ |\ tqdm\ \-\-total\ 432\ \-\-unit\ files\ \-\-desc\ counting\ \\ -\ \ |\ awk\ \[aq]{\ sum\ +=\ $1\ };\ END\ {\ print\ sum\ }\[aq] -counting:\ 100%|█████████|\ 432/432\ [00:00<00:00,\ 794361.83files/s] -131998 -\f[] -.fi -.SH OPTIONS -.TP -.B \-h, \-\-help -Print this help and exit -.RS -.RE -.TP -.B \-v, \-\-version -Print version and exit -.RS -.RE -.TP -.B \-\-desc=\f[I]desc\f[] -str, optional. -Prefix for the progressbar. -.RS -.RE -.TP -.B \-\-total=\f[I]total\f[] -int, optional. -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 \f[C]gui\f[] is True and this parameter needs subsequent updating, -specify an initial arbitrary large positive integer, e.g. -int(9e9). -.RS -.RE -.TP -.B \-\-leave=\f[I]leave\f[] -bool, optional. -If [default: True], keeps all traces of the progressbar upon termination -of iteration. -.RS -.RE -.TP -.B \-\-ncols=\f[I]ncols\f[] -int, optional. -The width of the entire output message. -If specified, dynamically resizes the progressbar to stay within this -bound. -If unspecified, attempts to use environment width. -The fallback is a meter width of 10 and no limit for the counter and -statistics. -If 0, will not print any meter (only stats). -.RS -.RE -.TP -.B \-\-mininterval=\f[I]mininterval\f[] -float, optional. -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 [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. -.RS -.RE -.TP -.B \-\-miniters=\f[I]miniters\f[] -int, optional. -Minimum progress display update interval, in iterations. -If 0 and \f[C]dynamic_miniters\f[], will automatically adjust to equal -\f[C]mininterval\f[] (more CPU efficient, good for tight loops). -If > 0, will skip display of specified number of iterations. -Tweak this and \f[C]mininterval\f[] to get very efficient loops. -If your progress is erratic with both fast and slow iterations (network, -skipping items, etc) you should set miniters=1. -.RS -.RE -.TP -.B \-\-ascii=\f[I]ascii\f[] -bool, optional. -If unspecified or False, use unicode (smooth blocks) to fill the meter. -The fallback is to use ASCII characters \f[C]1\-9\ #\f[]. -.RS -.RE -.TP -.B \-\-disable=\f[I]disable\f[] -bool, optional. -Whether to disable the entire progressbar wrapper [default: False]. -If set to None, disable on non\-TTY. -.RS -.RE -.TP -.B \-\-unit=\f[I]unit\f[] -str, optional. -String that will be used to define the unit of each iteration [default: -it]. -.RS -.RE -.TP -.B \-\-unit_scale=\f[I]unit_scale\f[] -bool or int or float, optional. -If 1 or True, the number of iterations will be reduced/scaled -automatically and a metric prefix following the International System of -Units standard will be added (kilo, mega, etc.) [default: False]. -If any other non\-zero number, will scale \f[C]total\f[] and \f[C]n\f[]. -.RS -.RE -.TP -.B \-\-dynamic_ncols=\f[I]dynamic_ncols\f[] -bool, optional. -If set, constantly alters \f[C]ncols\f[] to the environment (allowing -for window resizes) [default: False]. -.RS -.RE -.TP -.B \-\-smoothing=\f[I]smoothing\f[] -float, optional. -Exponential moving average smoothing factor for speed estimates (ignored -in GUI mode). -Ranges from 0 (average speed) to 1 (current/instantaneous speed) -[default: 0.3]. -.RS -.RE -.TP -.B \-\-bar_format=\f[I]bar_format\f[] -str, optional. -Specify a custom bar string formatting. -May impact performance. -[default: \[aq]{l_bar}{bar}{r_bar}\[aq]], where l_bar=\[aq]{desc}: -{percentage:3.0f}%|\[aq] and r_bar=\[aq]| {n_fmt}/{total_fmt} -[{elapsed}<{remaining}, \[aq] \[aq]{rate_fmt}{postfix}]\[aq] 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. -Note that a trailing ": " is automatically removed after {desc} if the -latter is empty. -.RS -.RE -.TP -.B \-\-initial=\f[I]initial\f[] -int, optional. -The initial counter value. -Useful when restarting a progress bar [default: 0]. -.RS -.RE -.TP -.B \-\-position=\f[I]position\f[] -int, optional. -Specify the line offset to print this bar (starting from 0) Automatic if -unspecified. -Useful to manage multiple bars at once (eg, from threads). -.RS -.RE -.TP -.B \-\-postfix=\f[I]postfix\f[] -dict or *, optional. -Specify additional stats to display at the end of the bar. -Calls \f[C]set_postfix(**postfix)\f[] if possible (dict). -.RS -.RE -.TP -.B \-\-unit_divisor=\f[I]unit_divisor\f[] -float, optional. -[default: 1000], ignored unless \f[C]unit_scale\f[] is True. -.RS -.RE -.TP -.B \-\-delim=\f[I]delim\f[] -chr, optional. -Delimiting character [default: \[aq]\[aq]]. -Use \[aq]\[aq] for null. -N.B.: on Windows systems, Python converts \[aq]\[aq] to \[aq]\[aq]. -.RS -.RE -.TP -.B \-\-buf_size=\f[I]buf_size\f[] -int, optional. -String buffer size in bytes [default: 256] used when \f[C]delim\f[] is -specified. -.RS -.RE -.TP -.B \-\-bytes=\f[I]bytes\f[] -bool, optional. -If true, will count bytes, ignore \f[C]delim\f[], and default -\f[C]unit_scale\f[] to True, \f[C]unit_divisor\f[] to 1024, and -\f[C]unit\f[] to \[aq]B\[aq]. -.RS -.RE -.TP -.B \-\-log=\f[I]log\f[] -str, optional. -CRITICAL|FATAL|ERROR|WARN(ING)|[default: \[aq]INFO\[aq]]|DEBUG|NOTSET. -.RS -.RE -.SH AUTHORS -tqdm developers <https://github.com/tqdm>. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.27.0/tqdm.egg-info/PKG-INFO new/tqdm-4.28.1/tqdm.egg-info/PKG-INFO --- old/tqdm-4.27.0/tqdm.egg-info/PKG-INFO 2018-10-15 18:32:17.000000000 +0200 +++ new/tqdm-4.28.1/tqdm.egg-info/PKG-INFO 2018-10-21 21:37:30.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: tqdm -Version: 4.27.0 +Version: 4.28.1 Summary: Fast, Extensible Progress Meter Home-page: https://github.com/tqdm/tqdm Author: Noam Yorav-Raphael @@ -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 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tqdm-4.27.0/tqdm.egg-info/SOURCES.txt new/tqdm-4.28.1/tqdm.egg-info/SOURCES.txt --- old/tqdm-4.27.0/tqdm.egg-info/SOURCES.txt 2018-10-15 18:32:17.000000000 +0200 +++ new/tqdm-4.28.1/tqdm.egg-info/SOURCES.txt 2018-10-21 21:37:30.000000000 +0200 @@ -8,7 +8,6 @@ setup.cfg setup.py tox.ini -tqdm.1 examples/7zx.py examples/include_no_requirements.py examples/pandas_progress_apply.py @@ -30,6 +29,7 @@ tqdm/_tqdm_pandas.py tqdm/_utils.py tqdm/_version.py +tqdm/tqdm.1 tqdm.egg-info/PKG-INFO tqdm.egg-info/SOURCES.txt tqdm.egg-info/dependency_links.txt
