Muxify: Multiplex Stdout
pip install muxify
import time
from muxify import Muxify
mux = Muxify(2, flush_interval=0.01)
i = 0
while True:
if i % 5 == 0:
print(f"Update {i} to tile0", file=mux[0])
print(f"Update {i} to tile1", file=mux[1])
time.sleep(0.01)
i += 1
If muxify causes high CPU load in the VS code terminal you should try to disable GPU acceleration: Go to Preferences => Settings => Search for terminal GPU acceleration => off
Metadata
Release files for muxify 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| muxify-0.0.5.tar.gz | 2.0 kB | Without provenance | Details |
Release files / muxify-0.0.5.tar.gz
| Download URL | muxify-0.0.5.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
40dd088007f7c56b38af63863620718721ea65ff9b6b997f0bb35801f633de0c
|
|
BLAKE2b-256 checksum How to use checksums |
0d389dd776436337bc6410a7f2e36b5ebced582506d99c89fabb1d63f82ca940
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.3
|
Security for muxify 0.0.5
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.