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-0.1.2.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

wurlitzer-0.1.2-py2.py3-none-any.whl (4.5 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for wurlitzer-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b67e57b328fd63aaf4fbc0c7e03c73dba87bcf9fd4db2c8713a6ac8a200ce973
MD5 6eef95c59b65b09ce07b9c6451ebe07b
BLAKE2b-256 b927f94d121e539de107b33cf2627269bc330c5e000a36ebc6865250b58d6579

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wurlitzer-0.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9b97f76802027b474cd7c136380e9164c5252efdb47c2735c1c5465badc9f6f5
MD5 fb974b5a49b92e7b481d1ad203b8c4ba
BLAKE2b-256 00317684dac4a87e203e9cfecb5885d91e23270acc4cfb14843b2aa239334b55

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