mirror of
https://github.com/verigak/progress.git
synced 2025-12-09 19:55:34 +00:00
Compare commits
6 Commits
1.6
...
1f658bc627
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1f658bc627 | ||
|
|
eebaa99c82 | ||
|
|
52de04b95d | ||
|
|
bdce3afb5e | ||
|
|
0a5fc077b2 | ||
|
|
3beeeb7716 |
@@ -86,7 +86,7 @@ eta avg * remaining
|
||||
eta_td eta as a timedelta (useful for printing as a string)
|
||||
========== ================================
|
||||
|
||||
Instead of passing all configuration options on instatiation, you can create
|
||||
Instead of passing all configuration options on instantiation, you can create
|
||||
your custom subclass:
|
||||
|
||||
.. code-block:: python
|
||||
|
||||
2
setup.py
2
setup.py
@@ -25,5 +25,7 @@ setup(
|
||||
'Programming Language :: Python :: 3.4',
|
||||
'Programming Language :: Python :: 3.5',
|
||||
'Programming Language :: Python :: 3.6',
|
||||
'Programming Language :: Python :: 3.7',
|
||||
'Programming Language :: Python :: 3.8',
|
||||
]
|
||||
)
|
||||
|
||||
@@ -33,7 +33,7 @@ for bar_cls in (IncrementalBar, PixelBar, ShadyBar):
|
||||
bar.next()
|
||||
sleep()
|
||||
|
||||
bar = IncrementalBar(bold('Corolored'), color='green')
|
||||
bar = IncrementalBar(bold('Colored'), color='green')
|
||||
for i in bar.iter(range(200)):
|
||||
sleep()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user