Sat, 11 Nov 2023 12:44:51 +0100
Changed code to use the 'argparse' module to parse the command line parameters instead of using own code.
10084 | 1 | <!DOCTYPE html> |
2 | <html><head> | |
3 | <title>eric7.eric7_pip</title> | |
4 | <meta charset="UTF-8"> | |
5 | <link rel="stylesheet" href="styles.css"> | |
6 | </head> | |
7 | <body> | |
8 | <a NAME="top" ID="top"></a> | |
9 | <h1>eric7.eric7_pip</h1> | |
10 | ||
11 | <p> | |
12 | eric pip Packages Manager. | |
13 | </p> | |
14 | <p> | |
15 | This is the main Python script to manage Python packages with 'pip' from | |
16 | outside of the IDE. | |
17 | </p> | |
18 | <h3>Global Attributes</h3> | |
19 | ||
20 | <table> | |
10303
ee1aadab1215
Changed code to use the 'argparse' module to parse the command line parameters instead of using own code.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
21 | <tr><td>args</td></tr> |
10084 | 22 | </table> |
23 | <h3>Classes</h3> | |
24 | ||
25 | <table> | |
26 | <tr><td>None</td></tr> | |
27 | </table> | |
28 | <h3>Functions</h3> | |
29 | ||
30 | <table> | |
31 | ||
32 | <tr> | |
10303
ee1aadab1215
Changed code to use the 'argparse' module to parse the command line parameters instead of using own code.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
33 | <td><a href="#createArgparseNamespace">createArgparseNamespace</a></td> |
ee1aadab1215
Changed code to use the 'argparse' module to parse the command line parameters instead of using own code.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
34 | <td>Function to create an argument parser.</td> |
ee1aadab1215
Changed code to use the 'argparse' module to parse the command line parameters instead of using own code.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
35 | </tr> |
ee1aadab1215
Changed code to use the 'argparse' module to parse the command line parameters instead of using own code.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
36 | <tr> |
10084 | 37 | <td><a href="#createMainWidget">createMainWidget</a></td> |
10259
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10084
diff
changeset
|
38 | <td>Function to create the main widget.</td> |
10084 | 39 | </tr> |
40 | <tr> | |
41 | <td><a href="#main">main</a></td> | |
42 | <td>Main entry point into the application.</td> | |
43 | </tr> | |
44 | </table> | |
45 | <hr /> | |
46 | <hr /> | |
10303
ee1aadab1215
Changed code to use the 'argparse' module to parse the command line parameters instead of using own code.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
47 | <a NAME="createArgparseNamespace" ID="createArgparseNamespace"></a> |
ee1aadab1215
Changed code to use the 'argparse' module to parse the command line parameters instead of using own code.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
48 | <h2>createArgparseNamespace</h2> |
ee1aadab1215
Changed code to use the 'argparse' module to parse the command line parameters instead of using own code.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
49 | <b>createArgparseNamespace</b>(<i></i>) |
ee1aadab1215
Changed code to use the 'argparse' module to parse the command line parameters instead of using own code.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
50 | |
ee1aadab1215
Changed code to use the 'argparse' module to parse the command line parameters instead of using own code.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
51 | <p> |
ee1aadab1215
Changed code to use the 'argparse' module to parse the command line parameters instead of using own code.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
52 | Function to create an argument parser. |
ee1aadab1215
Changed code to use the 'argparse' module to parse the command line parameters instead of using own code.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
53 | </p> |
ee1aadab1215
Changed code to use the 'argparse' module to parse the command line parameters instead of using own code.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
54 | <dl> |
ee1aadab1215
Changed code to use the 'argparse' module to parse the command line parameters instead of using own code.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
55 | <dt>Return:</dt> |
ee1aadab1215
Changed code to use the 'argparse' module to parse the command line parameters instead of using own code.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
56 | <dd> |
ee1aadab1215
Changed code to use the 'argparse' module to parse the command line parameters instead of using own code.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
57 | created argument parser object |
ee1aadab1215
Changed code to use the 'argparse' module to parse the command line parameters instead of using own code.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
58 | </dd> |
ee1aadab1215
Changed code to use the 'argparse' module to parse the command line parameters instead of using own code.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
59 | </dl> |
ee1aadab1215
Changed code to use the 'argparse' module to parse the command line parameters instead of using own code.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
60 | <dl> |
ee1aadab1215
Changed code to use the 'argparse' module to parse the command line parameters instead of using own code.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
61 | <dt>Return Type:</dt> |
ee1aadab1215
Changed code to use the 'argparse' module to parse the command line parameters instead of using own code.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
62 | <dd> |
ee1aadab1215
Changed code to use the 'argparse' module to parse the command line parameters instead of using own code.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
63 | argparse.ArgumentParser |
ee1aadab1215
Changed code to use the 'argparse' module to parse the command line parameters instead of using own code.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
64 | </dd> |
ee1aadab1215
Changed code to use the 'argparse' module to parse the command line parameters instead of using own code.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
65 | </dl> |
ee1aadab1215
Changed code to use the 'argparse' module to parse the command line parameters instead of using own code.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
66 | <div align="right"><a href="#top">Up</a></div> |
ee1aadab1215
Changed code to use the 'argparse' module to parse the command line parameters instead of using own code.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
67 | <hr /> |
ee1aadab1215
Changed code to use the 'argparse' module to parse the command line parameters instead of using own code.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
68 | <hr /> |
10084 | 69 | <a NAME="createMainWidget" ID="createMainWidget"></a> |
70 | <h2>createMainWidget</h2> | |
10303
ee1aadab1215
Changed code to use the 'argparse' module to parse the command line parameters instead of using own code.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
71 | <b>createMainWidget</b>(<i>args</i>) |
10084 | 72 | |
10259
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10084
diff
changeset
|
73 | <p> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10084
diff
changeset
|
74 | Function to create the main widget. |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10084
diff
changeset
|
75 | </p> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10084
diff
changeset
|
76 | <dl> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10084
diff
changeset
|
77 | |
10303
ee1aadab1215
Changed code to use the 'argparse' module to parse the command line parameters instead of using own code.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
78 | <dt><i>args</i> (argparse.Namespace)</dt> |
10259
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10084
diff
changeset
|
79 | <dd> |
10303
ee1aadab1215
Changed code to use the 'argparse' module to parse the command line parameters instead of using own code.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10259
diff
changeset
|
80 | namespace object containing the parsed command line parameters |
10259
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10084
diff
changeset
|
81 | </dd> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10084
diff
changeset
|
82 | </dl> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10084
diff
changeset
|
83 | <dl> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10084
diff
changeset
|
84 | <dt>Return:</dt> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10084
diff
changeset
|
85 | <dd> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10084
diff
changeset
|
86 | reference to the main widget |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10084
diff
changeset
|
87 | </dd> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10084
diff
changeset
|
88 | </dl> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10084
diff
changeset
|
89 | <dl> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10084
diff
changeset
|
90 | <dt>Return Type:</dt> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10084
diff
changeset
|
91 | <dd> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10084
diff
changeset
|
92 | QWidget |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10084
diff
changeset
|
93 | </dd> |
b51dfacef37f
Regenerated the source documentation with the corrected module parser.
Detlev Offenbach <detlev@die-offenbachs.de>
parents:
10084
diff
changeset
|
94 | </dl> |
10084 | 95 | <div align="right"><a href="#top">Up</a></div> |
96 | <hr /> | |
97 | <hr /> | |
98 | <a NAME="main" ID="main"></a> | |
99 | <h2>main</h2> | |
100 | <b>main</b>(<i></i>) | |
101 | ||
102 | <p> | |
103 | Main entry point into the application. | |
104 | </p> | |
105 | <div align="right"><a href="#top">Up</a></div> | |
106 | <hr /> | |
107 | </body></html> |