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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for wurlitzer-0.1.1.tar.gz
Algorithm Hash digest
SHA256 95f49fea5812af4927000a88b44d25ab165a0403cbf475ce14e1e0bc98f21c86
MD5 a503dbe9fe18571728412111888f4bae
BLAKE2b-256 6f2da71a7526e9d5b4ad1d0b136567dd7a8b5e66c1fad15ecf21de86c0ee7b39

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for wurlitzer-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f999127e61ea53f52239745e7c430bfdb39b5b07ec741fef3d184408bb6200e0
MD5 5cf82f6b4181511c7b8cc987e7ca39c6
BLAKE2b-256 96cb81a0b819212aec8e66ab444e7ec156ddd45d4d82010addcfa3a829a0299c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page