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.0.tar.gz
(41.1 kB
view details)
Built Distribution
etautil-1.0.0-py3-none-any.whl
(28.9 kB
view details)
File details
Details for the file etautil-1.0.0.tar.gz
.
File metadata
- Download URL: etautil-1.0.0.tar.gz
- Upload date:
- Size: 41.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e9fe8b7553aa70eb04aca5f4e9fe74a6f3aaf75337913cba049bc71cc69b608 |
|
MD5 | b390a1bb0b0608687768e3180b51f0cc |
|
BLAKE2b-256 | 3963dba6a5c761f371ade6948700b6e165b9ace2f65a27180f196d85fd3b416f |
File details
Details for the file etautil-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: etautil-1.0.0-py3-none-any.whl
- Upload date:
- Size: 28.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8366e583248952464e27346f1d648e8103288c819b076985131e0d00ba478050 |
|
MD5 | 9d54a572a4e46a8a53228111dfdfb551 |
|
BLAKE2b-256 | cb48b9012afed134d92194c5474d34bd3264301da29d76faf0627831c1ecd713 |