Skip to main content

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.

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

Uploaded Source

Built Distribution

rtpt-0.0.1-py3-none-any.whl (1.5 kB view details)

Uploaded Python 3

File details

Details for the file rtpt-0.0.1.tar.gz.

File metadata

  • Download URL: rtpt-0.0.1.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

Hashes for rtpt-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f5f641b1657024ec9259150a9bca49500effceedaad6652f65e850ef7f15e993
MD5 336d7de92f0237f8266045c0bed50e91
BLAKE2b-256 8ae7b356357a0d40ac3a83618fa2977a8516a5a60c1344f4f66dd4d8954b71fa

See more details on using hashes here.

File details

Details for the file rtpt-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: rtpt-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 1.5 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

Hashes for rtpt-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 af49306b8225e8b994b2e7680b9a0a8eeb8b5841189acc17694087f96cb1af89
MD5 a22530040bbea6b35c9c3f4f5a4b07c0
BLAKE2b-256 31dc0146c1b4962131a4742b5b004f93d8ed2dabab7faac2cdf12aac9b8982c7

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