rasbt / pyprind

PyPrind - Python Progress Indicator Utility
BSD 3-Clause "New" or "Revised" License
547 stars 65 forks source link

ETA feature #2

Closed taylan closed 10 years ago

taylan commented 10 years ago

Hi Sebastian,

I wanted ProgPercent to display ETA (Estimated Time of Arrival/Completion) next to the elapsed value. I took the opportunity to make the code slightly more PEP8 compliant and made a couple of slight refactorings as well.

ProgPercent looks like this with the ETA: [ 30 %] elapsed: 3.000 sec - eta: 7.000 sec

This pull request is not ready to merge yet. If you like this idea, then I'll update the documentation and push the changes to this pull request. I can also change the formatting of the ETA value if you like. If you don't like this idea, then you can act like this pull request ever happened :smiley:

rasbt commented 10 years ago

Hi, Taylan, thanks a lot! This looks just great, I like it! It looks about ready to be merged, don't worry I can take care of the documentation then - and will of course mention your contribution to this project!

taylan commented 10 years ago

Thanks! I'm planning to add this to the ProgBar as well. Do you think something like that would be useful? I think I can finish it and send a pull request tomorrow.

rasbt commented 10 years ago

Sounds great, thanks for doing this! No hurry, take your time! :)