A simple abstraction for computing and formatting time estimates.
Project description
ETA Utility
A simple abstraction for computing and formatting time estimates.
Basic Usage
from etautil import Eta
item_count = 10000
print(f"Processing {item_count} items...")
eta = Eta(item_count) # Starts keeping time now
for item in range(item_count):
print(eta.get_progress_string(item)) # Print the current progress stats
... # Do something
print(f"Done processing {item_count} items in {eta.get_time_taken_string()}!\n")
Full Documentation
TODO
function()
Description
Returns: A type
object
param
[required]- Description
- Type
- Valid values
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
etautil-1.0.2.tar.gz
(41.1 kB
view hashes)
Built Distribution
etautil-1.0.2-py3-none-any.whl
(28.9 kB
view hashes)