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
Release history Release notifications | RSS feed
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 details)
File details
Details for the file cs.upd-20181108.tar.gz.
File metadata
- Download URL: cs.upd-20181108.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df8df48c283334c95f6c56e9d319aa77c72bb8ab9601d704f60e5206a0796d7e
|
|
| MD5 |
fb4c9bf4c2d2a4febdc748016fdc4136
|
|
| BLAKE2b-256 |
aaaf63c893024d95ee1dd13782805fabb8b8665c96906d1003f9aca2ab8c8458
|