Skip to main content

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

.. 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}")

Metadata

Release files for rtpt 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rtpt 0.0.4
File Size Uploaded Provenance Actions
rtpt-0.0.4.tar.gz 4.5 kB Without provenance Details for rtpt-0.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rtpt 0.0.4
File Interpreter ABI Platform Actions
rtpt-0.0.4-py3-none-any.whl Python 3 none any Details for rtpt-0.0.4-py3-none-any.whl

Total release size: 10.4 kB

Release files / rtpt-0.0.4.tar.gz

Download URL rtpt-0.0.4.tar.gz
Size 4.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5cff1da27781405ab5d22542f6b960bd45739c37378169df126c65fce4847302
BLAKE2b-256 checksum
How to use checksums
e578244c0e655b0773ddbd5cb46b52de82dfdf82c37fbfe92f41e6d3ba4e3caa
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / rtpt-0.0.4-py3-none-any.whl

Download URL rtpt-0.0.4-py3-none-any.whl
Size 5.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
26805b1725a75ff580e2f06a02e7049343aaf5ff8f4aaf4ef46a14b919ec9635
BLAKE2b-256 checksum
How to use checksums
8a81870f9a136704a889b11951d2d512178d804c035314c1e7911c01fcafb602
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for rtpt 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page