-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
58 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Sebastian Raschka 01/25/2014 | ||
# Progress Bar Examples | ||
|
||
import pyprind | ||
|
||
|
||
def example_2(): | ||
n = 1000000 | ||
my_per = pyprind.ProgPercent(n, stream=1, track_time=True) | ||
for i in range(n): | ||
# do some computation | ||
my_per.update() | ||
print('Print elapsed time again ...') | ||
print(my_per) | ||
|
||
if __name__ == '__main__': | ||
example_2() | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Sebastian Raschka 01/25/2014 | ||
# Progress Bar Examples | ||
|
||
import pyprind | ||
|
||
|
||
def example_2(): | ||
n = 1000000 | ||
my_bar = pyprind.ProgBar(n, stream=1, track_time=True) | ||
for i in range(n): | ||
# do some computation | ||
my_bar.update() | ||
print('Print elapsed time again ...') | ||
print(my_bar) | ||
|
||
if __name__ == '__main__': | ||
example_2() | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,4 +35,4 @@ | |
from .progbar import ProgBar | ||
from .progpercent import ProgPercent | ||
|
||
__version__ = '2.2.0' | ||
__version__ = '2.3.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
from distutils.core import setup | ||
|
||
setup(name='PyPrind', | ||
version='2.2.0', | ||
version='2.3.0', | ||
description='Python Progress Indicator Utility', | ||
author='Sebastian Raschka', | ||
author_email='[email protected]', | ||
|