Skip to main content

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


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.4.tar.gz (41.2 kB view details)

Uploaded Source

Built Distribution

etautil-1.0.4-py3-none-any.whl (28.9 kB view details)

Uploaded Python 3

File details

Details for the file etautil-1.0.4.tar.gz.

File metadata

  • Download URL: etautil-1.0.4.tar.gz
  • Upload date:
  • Size: 41.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for etautil-1.0.4.tar.gz
Algorithm Hash digest
SHA256 fef1061a5e14ece72030c65608dbf22152ce3f9cbffac67d36e0c84a71bf8ccb
MD5 c0e60e88c293c3c486052e0cb5d8d7bb
BLAKE2b-256 2c31bd7a92891bc38a5ceb3da0aa20b0620357b29a0f1af478d9e2242da77477

See more details on using hashes here.

File details

Details for the file etautil-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: etautil-1.0.4-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

Hashes for etautil-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 45a026e1ee3d6e8753c47651b6ab71fc861663c637b6b7ea1e408df53095b93a
MD5 6c6e27d39db77e0e145ab7e0225e613a
BLAKE2b-256 c118acfc0f7a6bdb67f5ac5690e591ddea9a432cb72d2c4dd7d71d7eff280434

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page