File: control

package info (click to toggle)
stdio-mgr 1.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 136 kB
  • sloc: python: 224; makefile: 7; sh: 5
file content (37 lines) | stat: -rw-r--r-- 1,503 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Source: stdio-mgr
Maintainer: Home Assistant Team <team+homeassistant@tracker.debian.org>
Uploaders:
 Edward Betts <edward@4angle.com>,
Section: python
Priority: optional
Build-Depends:
 debhelper-compat (= 13),
 dh-sequence-python3,
 pybuild-plugin-pyproject,
 python3-all,
 python3-setuptools,
Build-Depends-Indep:
 python3-pytest <!nocheck>,
 python3-attr <!nocheck>,
Rules-Requires-Root: no
Standards-Version: 4.7.0
Homepage: https://github.com/bskinn/stdio-mgr
Vcs-Browser: https://salsa.debian.org/homeassistant-team/deps/stdio-mgr
Vcs-Git: https://salsa.debian.org/homeassistant-team/deps/stdio-mgr.git

Package: python3-stdio-mgr
Architecture: all
Depends:
 ${misc:Depends},
 ${python3:Depends},
Description: Context manager for mocking/wrapping stdin/stdout/stderr
 This library offers a context manager for mocking and wrapping standard input,
 output, and error streams. It simplifies capturing and testing console inputs
 and outputs within Python applications. Unlike the standard library's
 contextlib, this tool provides a more concise way to handle stdin, stdout, and
 stderr simultaneously, making it particularly useful for managing user inputs
 and outputs in a controlled environment. Standard input can be pre-loaded or
 appended during the managed context, which allows for flexible and precise
 simulation of user interactions. Additionally, the library supports wrapping
 functions that generate output, enabling the modification of internal print
 calls within those functions.