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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

Hashes for etautil-1.0.3.tar.gz
Algorithm Hash digest
SHA256 bcb27ba03e25c59c54e149ac0eac508a817342aaf937e42259d7e654a8e800c5
MD5 932ac821214ff3fb6ce34b48b77306d5
BLAKE2b-256 d143ff15c8cb286d6e6420ea06a74bd7cceeb08d917de91b7c04ceec0900569a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: etautil-1.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7c9e6d4b63adf9b098272aa466dc21b36cd270b3d60e9184d1762e1e04867f1b
MD5 e9c51ff4b672a91988234bbc58b24bb9
BLAKE2b-256 9633fe4b8479b60e3d326e0b9238354433175a0127050529b1da45d456da4911

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