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.
Release files for cs-upd 20181108
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cs.upd-20181108.tar.gz | 3.1 kB | Details |
Release files / cs.upd-20181108.tar.gz
| Download URL | cs.upd-20181108.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df8df48c283334c95f6c56e9d319aa77c72bb8ab9601d704f60e5206a0796d7e
|
|
BLAKE2b-256 checksum How to use checksums |
aaaf63c893024d95ee1dd13782805fabb8b8665c96906d1003f9aca2ab8c8458
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|