Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.

Files for cs.upd, version 20181108
Filename, size File type Python version Upload date Hashes
Filename, size cs.upd-20181108.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page