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

Uploaded Source

Built Distribution

wurlitzer-1.0.2-py2.py3-none-any.whl (5.2 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for wurlitzer-1.0.2.tar.gz
Algorithm Hash digest
SHA256 23e85af0850b98add77bef0a1eb47b243baab29160131d349234c9dfc9e57add
MD5 6b2b627d0da96623ca76da3cf20eb234
BLAKE2b-256 3f77dc47f721a4b4a52f67b822d946ba7b1652677a45b689ea7a7815361da297

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wurlitzer-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 15a7cb8be359e8ee42093468a60bf462af332088ea62e767af64d83fcc332ac0
MD5 6f3c7249b6c6ed95f88f4773c99ff33c
BLAKE2b-256 6017de2820542c755f4630a58d295daad86bfa981fbf48b48e5f9e1f2ed806cc

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