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 details)
Built Distribution
File details
Details for the file wurlitzer-0.1.0.tar.gz
.
File metadata
- Download URL: wurlitzer-0.1.0.tar.gz
- Upload date:
- Size: 5.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7eccf5571335fcdffc3a31c91c33ea01137ec81086149ab51ca517b609391a9b |
|
MD5 | 371253f33ac9752df594bc15287af706 |
|
BLAKE2b-256 | 4d15c2e9e3b6afa4fd50337bac2a509ba964ea6237772e3ab66f11b6f24e6d6d |
File details
Details for the file wurlitzer-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: wurlitzer-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a64c382291001bfd2669fd128f239bcdc45ce5174b0b0f7b39644035f01d475 |
|
MD5 | a5d64bd9aeb99fc6df34bbb1d73d1900 |
|
BLAKE2b-256 | 2452a8fd441854f2e60f6486842c42666368477ca4c2ade75fccad5bf5a03027 |