Capture C-level output in context managers
Project description
Context managers for capturing C-level output:
from wurlitzer import capture with capture() as (stdout, stderr): call_c_function() out = stdout.read() err = stderr.read()
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
wurlitzer-0.1.0.tar.gz
(5.9 kB
view hashes)
Built Distribution
Close
Hashes for wurlitzer-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a64c382291001bfd2669fd128f239bcdc45ce5174b0b0f7b39644035f01d475 |
|
MD5 | a5d64bd9aeb99fc6df34bbb1d73d1900 |
|
BLAKE2b-256 | 2452a8fd441854f2e60f6486842c42666368477ca4c2ade75fccad5bf5a03027 |