Description
Captures output written to stdout or stderr by native C extensions while Python code is running. It helps notebooks, tests, and scientific tools collect messages that normal Python redirection would miss.
Developers use it as an integration library. Captured output may include file paths, diagnostics, or sensitive data from native code, so review logs before sharing them.