dev-python/stdio-mgr (gentoo)

Search

Package Information

Description:
Have a CLI Python application? Want to automate testing of the actual console input & output of your user-facing components? stdio Manager can help. While some functionality here is more or less duplicative of redirect_stdout and redirect_stderr in contextlib within the standard library, it provides (i) a much more concise way to mock both stdout and stderr at the same time, and (ii) a mechanism for mocking stdin, which is not available in contextlib.
Homepage:
https://github.com/bskinn/stdio-mgr/ https://pypi.org/project/stdio-mgr/
License:
MIT

Versions

Version EAPI Keywords Slot
1.0.1.1 8 ~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 0
1.0.1-r1 8 ~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 0

Metadata

Description

Maintainers

Upstream

Raw Metadata XML
<pkgmetadata>
	<maintainer type="project">
		<email>python@gentoo.org</email>
		<name>Python</name>
	</maintainer>
	<longdescription lang="en">
Have a CLI Python application?

Want to automate testing of the actual console input &amp; output of your user-facing components?

stdio Manager can help.

While some functionality here is more or less duplicative of redirect_stdout and redirect_stderr in contextlib within the standard library, it provides (i) a much more concise way to mock both stdout and stderr at the same time, and (ii) a mechanism for mocking stdin, which is not available in contextlib.
  </longdescription>
	<stabilize-allarches></stabilize-allarches>
	<upstream>
		<remote-id type="github">bskinn/stdio-mgr</remote-id>
		<remote-id type="pypi">stdio-mgr</remote-id>
	</upstream>
</pkgmetadata>

Lint Warnings

Manifest

Type File Size Versions
Unmatched Entries
Type File Size
DIST stdio-mgr-1.0.1.gh.tar.gz 8447 bytes
DIST stdio_mgr-1.0.1.1.tar.gz 13263 bytes