Debian Codegraph @

debian/helpdev.1

raw
1 .TH HELPDEV 1 "2026-08-10" "helpdev 0.7.1" "User Commands"
2 .SH NAME
3 helpdev \- report information about the Python environment
4 .SH SYNOPSIS
5 .B helpdev
6 .RI [ OPTION ]...
7 .SH DESCRIPTION
8 .B helpdev
9 collects information about the machine, the operating system and the Python
10 environment, and prints it in a form suitable for pasting into a bug report.
11 It can report hardware, operating system, threading, Python and Conda
12 distributions, installed packages, Qt bindings and abstractions, numeric
13 representation, and network reachability.
14 .PP
15 Run with no options,
16 .B helpdev
17 reports hardware, operating system, threads, the Python and Conda
18 distributions, and Qt bindings and abstractions.
19 .PP
20 Because some information depends on which Python environment
21 .B helpdev
22 runs in, upstream marks each option with how far its results generalise:
23 .TP
24 .B PEI
25 Python environment independent \(em the result does not depend on which Python
26 is running.
27 .TP
28 .B PED
29 Python environment dependent \(em the result describes the Python environment
30 .B helpdev
31 was invoked from.
32 .TP
33 .B PEAD
34 Python environment and application dependent \(em the result also depends on
35 the application currently running.
36 .PP
37 To describe the environment of a running application, import
38 .B helpdev
39 into that application rather than invoking this command, so that it observes
40 the same interpreter and process.
41 .SH OPTIONS
42 .SS System
43 .TP
44 .B \-\-hardware
45 CPU, memory and architecture. (PEI)
46 .TP
47 .B \-\-os
48 Operating system. (PEI)
49 .TP
50 .B \-\-thread
51 Thread specification of the system. (PEI)
52 .SS Distributions
53 .TP
54 .B \-\-distributions
55 All distribution options below. (PED)
56 .TP
57 .B \-\-python
58 Python distribution. (PED)
59 .TP
60 .B \-\-conda
61 Conda/Anaconda Python distribution. (PED)
62 .SS Packages
63 .TP
64 .BI \-\-packages "\fR[\fPPACKAGES\fR]\fP"
65 All package options below except locally installed ones.
66 .I PACKAGES
67 optionally filters which packages are shown; it accepts regular expressions
68 separated by commas. (PED)
69 .TP
70 .B \-\-packages\-pip
71 Packages installed by pip, plus the result of
72 .BR "pip check" .
73 (PED)
74 .TP
75 .B \-\-packages\-pip\-e
76 Packages installed by pip in editable mode, plus
77 .BR "pip check" .
78 (PED)
79 .TP
80 .B \-\-packages\-conda
81 Packages installed by Conda. (PED)
82 .TP
83 .B \-\-packages\-conda\-e
84 Packages installed by Conda in editable mode. (PED)
85 .SS Qt
86 .TP
87 .B \-\-qt
88 All Qt options below. (PEAD)
89 .TP
90 .B \-\-qt\-bindings
91 Available Qt bindings, such as PyQt and PySide. (PEAD)
92 .TP
93 .B \-\-qt\-abstractions
94 Available Qt abstraction layers, such as QtPy, Qt.py and PyQtGraph. (PEAD)
95 .SS Numbers
96 .TP
97 .B \-\-numbers
98 All numeric options below. (PEI)
99 .TP
100 .B \-\-float
101 Floating point representation of the system. (PEI)
102 .TP
103 .B \-\-int
104 Integer representation of the system. (PEI)
105 .SS Network
106 .TP
107 .BI \-\-network "\fR[\fPTIMEOUT\fR]\fP"
108 Network information, DNS resolution and load times for a number of well known
109 sites.
110 .I TIMEOUT
111 is in seconds and defaults to 5; a value of 0 disables the check. (PEI)
112 .SS Personal
113 .PP
114 These options can reveal local paths and other identifying details. See
115 .B PRIVACY
116 below.
117 .TP
118 .B \-\-personal
119 All personal options below. (PEAD)
120 .TP
121 .B \-\-path
122 Current Python search path, that is
123 .IR sys.path .
124 (PEAD)
125 .TP
126 .B \-\-scope
127 Current Python scope, that is
128 .IR dir() .
129 (PEAD)
130 .SS Aggregate
131 .TP
132 .B \-\-all
133 All options above
134 .B except
135 the personal ones. (PEAD)
136 .TP
137 .B \-\-all\-for\-sure
138 All options above,
139 .B including
140 the personal ones. (PEAD)
141 .TP
142 .BI \-\-report " REPORT"
143 Apply a custom filter provided by the package
144 .IR REPORT ,
145 via its
146 .IR REPORT.custom_helpdev(version) .
147 .SS Generic
148 .TP
149 .BR \-\-help ", " \-h
150 Show a help message and exit.
151 .TP
152 .BR \-\-version ", " \-v
153 Show the program version and exit.
154 .SH PRIVACY
155 .B \-\-all
156 deliberately omits the personal options, but upstream still advises reading the
157 output before sharing it.
158 .PP
159 .B \-\-all\-for\-sure
160 adds
161 .B \-\-path
162 and
163 .BR \-\-scope ,
164 which can expose home directory paths, usernames and details of the software
165 you are running. Review the output before pasting it into a public bug report.
166 .SH EXIT STATUS
167 .B helpdev
168 exits 0 on success.
169 .SH EXAMPLES
170 Report the default set of information:
171 .PP
172 .RS
173 .B helpdev
174 .RE
175 .PP
176 Everything except personal information, which is what a bug report normally
177 wants:
178 .PP
179 .RS
180 .B helpdev \-\-all
181 .RE
182 .PP
183 Only the Python distribution and the installed packages matching a pattern:
184 .PP
185 .RS
186 .B helpdev \-\-python \-\-packages 'qt.*,numpy'
187 .RE
188 .PP
189 Check network reachability with a two second timeout:
190 .PP
191 .RS
192 .B helpdev \-\-network 2
193 .RE
194 .SH SEE ALSO
195 .BR pip (1),
196 .BR reportbug (1)
197 .PP
198 Full documentation at
199 .UR https://helpdev.readthedocs.io/
200 .UE .
201 .SH AUTHOR
202 .B helpdev
203 was written by Daniel Cosmo Pizetta.
204 .PP
205 This manual page was written for the Debian project, and may be used by others.