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

Uploaded Source

Built Distribution

wurlitzer-0.2.0-py2.py3-none-any.whl (4.6 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for wurlitzer-0.2.0.tar.gz
Algorithm Hash digest
SHA256 40328f55b4b77f8ba13ab1f708cd86692accf105813298d7a87b09809499fdea
MD5 85c9ce65c1a4e29beb8cc4d0927ec927
BLAKE2b-256 09023fa26a3f10ccb4a7ef4349404097ecf8b26139ffd2884ca58d6b4d86f357

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wurlitzer-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a884e6a813d21067b8dc78e4dbd8ed3eaed2c5e416c7107e796f1460557543f7
MD5 744a73036f55774835ce9a6e55b74186
BLAKE2b-256 3cbacba421b151246899b8955b23423ecef1a6e7515a8f20b0848956756798ff

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