Skip to main content

Capture C-level output in context managers

Project description

Context managers for capturing C-level output:

from wurlitzer import capture

with capture() 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.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for wurlitzer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7eccf5571335fcdffc3a31c91c33ea01137ec81086149ab51ca517b609391a9b
MD5 371253f33ac9752df594bc15287af706
BLAKE2b-256 4d15c2e9e3b6afa4fd50337bac2a509ba964ea6237772e3ab66f11b6f24e6d6d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wurlitzer-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0a64c382291001bfd2669fd128f239bcdc45ce5174b0b0f7b39644035f01d475
MD5 a5d64bd9aeb99fc6df34bbb1d73d1900
BLAKE2b-256 2452a8fd441854f2e60f6486842c42666368477ca4c2ade75fccad5bf5a03027

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