Skip to content

Latest commit

History

29 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Remaining-Time-To-Process (RTPT)

PyPI version

RTPT class to rename your processes giving information on who is launching the process, and the remaining time for it.

Installation

Using pip

pip install rtpt

From source

git clone
python setup.py install

Example

fromrtptimportRTPTimportrandomimporttime# Create RTPT objectrtpt=RTPT(name_initials='QD', experiment_name='TestingRTPT', max_iterations=10)
# Start the RTPT trackingrtpt.start()
# Loop over all iterationsforepochinrange(10):
time.sleep(4)
# Perform a single experiment iterationloss=random.random()
# Update the RTPT (subtitle is optional)rtpt.step(subtitle=f"loss={loss:2.2f}")

About

Remaining Time to Process Title

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages