Skip to main content

Capture C-level output in context managers

Project description

Context managers for capturing C-level output:

from wurlitzer import pipes

with pipes() as (stdout, stderr):
    call_c_function()
out = stdout.read()
err = stderr.read()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wurlitzer-1.0.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

wurlitzer-1.0.0-py2.py3-none-any.whl (5.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file wurlitzer-1.0.0.tar.gz.

File metadata

  • Download URL: wurlitzer-1.0.0.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for wurlitzer-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a9a343445bf012da6a4ed4705ed25576cf652eb959727b313e466fc0408fa04c
MD5 48bb9f37cd5731cd735a613002e1a614
BLAKE2b-256 6bfc29ce533544f7b2b2ddb7b3d3d7001577c61526902ae5a4d1dc14d9559359

See more details on using hashes here.

File details

Details for the file wurlitzer-1.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for wurlitzer-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1b36b53d14f71ac85c40540c0c634b86a9bf6c3c71bbe95405a2d5c523ddb93c
MD5 50e754acc574dcf1d1fde5b8a45003ea
BLAKE2b-256 9044c14e700021c3ad7597078d9582f6ae32e94d663dab615e4f15edcd317b38

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page