Kuang-che Wu
2c49b51e5e
Fix over-estimated rate
...
The formula of average rate should be something similar to
1/average(t for t in samples). But current implementation is similar to
average(1/t for t in samples), which is incorrect.
Following code can demo this problem
```
import random
import time
from tqdm import trange
for i in trange(10000, smoothing=0.01, leave=True, miniters=1, mininterval=0, ncols=0):
time.sleep(random.random() / 100)
```
Output before this fix:
```
100% 10000/10000 [00:53<00:00, 413.96it/s]
```
After:
```
100% 10000/10000 [00:54<00:00, 187.06it/s]
```
2016-01-09 18:03:34 +00:00
Casper da Costa-Luis
dbfee1fe2d
Merge pull request #98 from Berserker66/patch-2
...
Fix for IronPython 2.7
2016-01-03 18:02:51 +00:00
Fabian Dill
374865fab6
compatibility for Python 2.6
2016-01-03 17:41:17 +01:00
Fabian Dill
0f54b99804
Fix for IronPython 2.7
...
fix for:
File "tqdm\_tqdm.py", line 337, in __init__
TypeError: NoneType is not callable
in IronPython
2016-01-03 17:13:19 +01:00
Stephen L
a8a0353188
Merge pull request #95 from tqdm/py35
...
Add Python 3.5 test in Tox and Travis
2016-01-01 09:39:33 +01:00
Stephen L
f5674576f2
Add Python 3.5 test in Tox and Travis
...
Signed-off-by: Stephen L. <lrq3000@gmail.com>
2016-01-01 09:29:10 +01:00
Stephen L
638eefec35
Merge pull request #93 from tqdm/os-support
...
Update OS support in documentation and troves
2015-12-29 17:10:42 +01:00
Stephen L
36fd3a2492
Update OS support in documentation and troves
...
Signed-off-by: Stephen L. <lrq3000@gmail.com>
2015-12-29 16:37:02 +01:00
Casper da Costa-Luis
5c2ad1f36a
bump version, Merge pull request #86 from tqdm/unpause
...
Add tqdm.unpause()
2015-12-27 18:18:58 +00:00
Casper da Costa-Luis
338724d361
flake8 fixes
2015-12-27 17:59:13 +00:00
Casper da Costa-Luis
d9512978e6
Add tqdm.unpause()
...
Conflicts:
tqdm/tests/tests_tqdm.py
2015-12-27 17:57:32 +00:00
Casper da Costa-Luis
2d143f20bc
updated documentation, propagated changes to tqdm_gui
2015-12-27 17:43:46 +00:00
Jesus Cea
ef4c8f5a73
#73 : Restarting a progress meter without getting crazy
2015-12-27 17:24:29 +00:00
Casper da Costa-Luis
16d2cc371a
bump version
2015-12-27 17:23:16 +00:00
Casper da Costa-Luis
5af1135108
docstring tidying
2015-12-27 17:08:17 +00:00
Stephen L
f285b731a4
Add custom bar formatting
2015-12-27 17:08:07 +00:00
Casper da Costa-Luis
a25b4d25d9
Fix typos
2015-12-27 17:07:40 +00:00
Casper da Costa-Luis
1ea20bcb76
minor optimisations and examples
2015-12-27 16:32:02 +00:00
Casper da Costa-Luis
dc8eeedeb1
it/s versus s/it: addresses #72
2015-12-27 16:32:02 +00:00
Casper da Costa-Luis
6969610f12
Solaris, FreeBSD ncols compatibility
2015-12-27 16:31:54 +00:00
ReadmeCritic
6ecaa1ea88
Update README URLs based on HTTP redirects
2015-12-23 08:12:50 -08:00
Casper da Costa-Luis
8e56299f78
bump version, Merge branch 'nested-progressbars'
...
Conflicts:
README.rst
2015-12-17 20:59:11 +00:00
Casper da Costa-Luis
3dc5e2236a
minor docfixes, flake8 fixes, optimisations
2015-12-17 20:53:39 +00:00
Casper da Costa-Luis
89ca5ba164
minor touchups
2015-12-17 20:00:20 +00:00
Casper da Costa-Luis
fa86945c3b
minor typos, rewording
2015-12-05 15:44:27 +00:00
Stephen L
8b22b96343
update README.rst
...
Signed-off-by: Stephen L. <lrq3000@gmail.com>
2015-12-03 22:53:37 +01:00
Stephen L
bcdd7c7858
update README.rst
...
Signed-off-by: Stephen L. <lrq3000@gmail.com>
2015-12-03 22:50:59 +01:00
Stephen L
0255e78a5a
fix README.rst example
...
Signed-off-by: Stephen L. <lrq3000@gmail.com>
2015-12-03 20:06:45 +01:00
Stephen L
091c8f4344
update README.rst fix TOC
...
Signed-off-by: Stephen L. <lrq3000@gmail.com>
2015-12-03 03:15:46 +01:00
Stephen L
04910d4c67
update README.rst
...
Signed-off-by: Stephen L. <lrq3000@gmail.com>
2015-12-03 03:11:31 +01:00
Stephen L
75eccb1f9e
update README.rst
...
Signed-off-by: Stephen L. <lrq3000@gmail.com>
2015-12-03 02:30:06 +01:00
Stephen L
d20c4cfd95
update README.rst
...
Signed-off-by: Stephen L. <lrq3000@gmail.com>
2015-12-03 02:27:32 +01:00
Stephen L
c02ccb28c1
update README.rst with examples and usage
...
Signed-off-by: Stephen L. <lrq3000@gmail.com>
2015-12-03 02:22:18 +01:00
Casper da Costa-Luis
3ae7a9f80b
docfixes
2015-12-02 23:00:43 +00:00
Stephen L
5b59b0fa77
add set_description() method in tqdm()
...
Signed-off-by: Stephen L. <lrq3000@gmail.com>
2015-12-02 20:38:06 +01:00
Stephen L
19d4704ea0
update README.rst about nested display
...
Signed-off-by: Stephen L. <lrq3000@gmail.com>
2015-12-02 19:28:35 +01:00
Stephen L
6a9e080792
better unit test for nested + fix coverage
...
Signed-off-by: Stephen L. <lrq3000@gmail.com>
2015-12-02 19:16:08 +01:00
Stephen L
a18d7297f0
Better nested progress bars display + support for both nested and leave
...
Signed-off-by: Stephen L. <lrq3000@gmail.com>
2015-12-02 13:29:14 +01:00
Stephen L
7197da11b3
update README.rst
...
Signed-off-by: Stephen L. <lrq3000@gmail.com>
2015-12-01 21:11:07 +01:00
Stephen L
e1f3eb9c36
add support for nested progress bars in console
...
Signed-off-by: Stephen L. <lrq3000@gmail.com>
2015-12-01 21:03:48 +01:00
Casper da Costa-Luis
b2c759dd88
bump version, Merge pull request #9 from tqdm/pandas-progress
...
Add progress bar to pandas apply function
2015-11-30 23:48:14 +00:00
Casper da Costa-Luis
8b77070f12
pandas examples
2015-11-30 23:27:38 +00:00
Casper da Costa-Luis
cd6238ff88
pandas documentation, removed unnecessary imports
2015-11-30 23:14:29 +00:00
Casper da Costa-Luis
3c9f93de4a
remove pandas, numpy from tox (too slow), revert manual creation of tqdm
2015-11-29 18:01:01 +00:00
Casper da Costa-Luis
03239da292
pandas dependancy for tox
2015-11-29 16:58:18 +00:00
Casper da Costa-Luis
ec5f157df8
automated constucting and destructing of tqdm_pandas, neater tests and documentation
2015-11-29 16:49:39 +00:00
Casper da Costa-Luis
5c12158dd8
untested pandas support
2015-11-29 16:07:43 +00:00
Casper da Costa-Luis
53a275679e
Merge branch 'master' into pandas-progress
...
Conflicts:
tqdm/__init__.py
2015-11-29 15:12:12 +00:00
Casper da Costa-Luis
d2263d9832
update reporthook example with `with` syntax
2015-11-29 09:22:07 +00:00
Casper da Costa-Luis
4d9ec57cd9
help(tqdm) fits into 80-char terminal
2015-11-28 20:27:43 +00:00