Skip to main content

Single line status updates with minimal update sequences.

Project description

Single line status updates with minimal update sequences.

This is available as an output mode in cs.logutils.

Example:

upd = Upd(sys.stdout)
...
upd.out('status line text: position = %d', position_value)
...
upd.nl('an informational line')
...
upd.out('new status text')

Function cleanupAtExit()

Cleanup function called at programme exit to clear the status line.

Class Upd

A class for maintaining a regularly updated status line.

Function upd_for(stream)

Factory for Upd singletons keyed by the id of their backend.

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

cs.upd-20181108.tar.gz (3.1 kB view hashes)

Uploaded Source

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