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

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for wurlitzer-1.0.1.tar.gz
Algorithm Hash digest
SHA256 996e9d3f58e2fc03f1c13b2bb210ea678798ada07d7d721e6e078ccd8afc73f9
MD5 6f381680ee6bdda47fba786b5602f26b
BLAKE2b-256 0726e59eb07415c0601ec4f81f4c2cb6391362cdedcdbc2d3eb3509fc592f9f8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wurlitzer-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 edd95b13b28f3ce3b24f020f7cc93f64427f1b081137929e50d7d695e4ba62dd
MD5 6ee144c74f6aa90322a784a8ac4adccb
BLAKE2b-256 eb815171c7134d85965e85a2899aa092b5edec737356dc25d99719ac15396272

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