Remaining Time to Process Title
Project description
Remaining-Time-To-Process (RTPT)
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
.. code:: python
from rtpt import RTPT
import random
import time
# Create RTPT object
rtpt = RTPT(name_initials='QD', experiment_name='TestingRTPT', max_iterations=10)
# Start the RTPT tracking
rtpt.start()
# Loop over all iterations
for epoch in range(10):
time.sleep(4)
# Perform a single experiment iteration
loss = random.random()
# Update the RTPT (subtitle is optional)
rtpt.step(subtitle=f"loss={loss:2.2f}")
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
rtpt-0.0.2.tar.gz
(1.5 kB
view details)
Built Distribution
rtpt-0.0.2-py3-none-any.whl
(1.6 kB
view details)
File details
Details for the file rtpt-0.0.2.tar.gz
.
File metadata
- Download URL: rtpt-0.0.2.tar.gz
- Upload date:
- Size: 1.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f33ba4767ce72dbf57af143d243dd7036aaa4c3452ff60957b0f726f109cc35b |
|
MD5 | d449ee67de6a9855b995e159c4a73301 |
|
BLAKE2b-256 | 8269d82b866f6e4fbb61ba469eb9beb4d92f7a73ee3ed76191055a9f9cd027d8 |
File details
Details for the file rtpt-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: rtpt-0.0.2-py3-none-any.whl
- Upload date:
- Size: 1.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 261f60607a75fa052b16f8f57e3b8a0fea2316845f03fb3c1566033b80c2a2ae |
|
MD5 | ac687c19e8735d78249c34f337eb1b08 |
|
BLAKE2b-256 | b7604bca8e6ee62035d68e3a1208a0dae96390c0ce6cecd74ac929441e1e9e0b |