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.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.4.tar.gz
(4.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
rtpt-0.0.4-py3-none-any.whl
(5.9 kB
view details)
File details
Details for the file rtpt-0.0.4.tar.gz.
File metadata
- Download URL: rtpt-0.0.4.tar.gz
- Upload date:
- Size: 4.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 |
5cff1da27781405ab5d22542f6b960bd45739c37378169df126c65fce4847302
|
|
| MD5 |
dacce8a96a8fb6876dc1d2a5c2a86f1f
|
|
| BLAKE2b-256 |
e578244c0e655b0773ddbd5cb46b52de82dfdf82c37fbfe92f41e6d3ba4e3caa
|
File details
Details for the file rtpt-0.0.4-py3-none-any.whl.
File metadata
- Download URL: rtpt-0.0.4-py3-none-any.whl
- Upload date:
- Size: 5.9 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 |
26805b1725a75ff580e2f06a02e7049343aaf5ff8f4aaf4ef46a14b919ec9635
|
|
| MD5 |
5be7cbf0b2da2a36276b631ef766b2b4
|
|
| BLAKE2b-256 |
8a81870f9a136704a889b11951d2d512178d804c035314c1e7911c01fcafb602
|