Sat, 26 Apr 2025 12:34:32 +0200
MicroPython
- Added a configuration option to disable the support for the no longer produced Pimoroni Pico Wireless Pack.
<!DOCTYPE html> <html><head> <title>eric7.WebBrowser.Passwords.PasswordReader</title> <meta charset="UTF-8"> <link rel="stylesheet" href="styles.css"> </head> <body> <a NAME="top" ID="top"></a> <h1>eric7.WebBrowser.Passwords.PasswordReader</h1> <p> Module implementing a class to read login data files. </p> <h3>Global Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Classes</h3> <table> <tr> <td><a href="#PasswordReader">PasswordReader</a></td> <td>Class implementing a reader object for login data files.</td> </tr> </table> <h3>Functions</h3> <table> <tr><td>None</td></tr> </table> <hr /> <hr /> <a NAME="PasswordReader" ID="PasswordReader"></a> <h2>PasswordReader</h2> <p> Class implementing a reader object for login data files. </p> <h3>Derived from</h3> QXmlStreamReader <h3>Class Attributes</h3> <table> <tr><td>None</td></tr> </table> <h3>Class Methods</h3> <table> <tr><td>None</td></tr> </table> <h3>Methods</h3> <table> <tr> <td><a href="#PasswordReader.__init__">PasswordReader</a></td> <td>Constructor</td> </tr> <tr> <td><a href="#PasswordReader.__readForms">__readForms</a></td> <td>Private method to read the forms information.</td> </tr> <tr> <td><a href="#PasswordReader.__readLogins">__readLogins</a></td> <td>Private method to read the login information.</td> </tr> <tr> <td><a href="#PasswordReader.__readNevers">__readNevers</a></td> <td>Private method to read the never URLs.</td> </tr> <tr> <td><a href="#PasswordReader.__readPasswords">__readPasswords</a></td> <td>Private method to read and parse the login data file.</td> </tr> <tr> <td><a href="#PasswordReader.__skipUnknownElement">__skipUnknownElement</a></td> <td>Private method to skip over all unknown elements.</td> </tr> <tr> <td><a href="#PasswordReader.read">read</a></td> <td>Public method to read a login data file.</td> </tr> </table> <h3>Static Methods</h3> <table> <tr><td>None</td></tr> </table> <a NAME="PasswordReader.__init__" ID="PasswordReader.__init__"></a> <h4>PasswordReader (Constructor)</h4> <b>PasswordReader</b>(<i></i>) <p> Constructor </p> <a NAME="PasswordReader.__readForms" ID="PasswordReader.__readForms"></a> <h4>PasswordReader.__readForms</h4> <b>__readForms</b>(<i></i>) <p> Private method to read the forms information. </p> <a NAME="PasswordReader.__readLogins" ID="PasswordReader.__readLogins"></a> <h4>PasswordReader.__readLogins</h4> <b>__readLogins</b>(<i></i>) <p> Private method to read the login information. </p> <a NAME="PasswordReader.__readNevers" ID="PasswordReader.__readNevers"></a> <h4>PasswordReader.__readNevers</h4> <b>__readNevers</b>(<i></i>) <p> Private method to read the never URLs. </p> <a NAME="PasswordReader.__readPasswords" ID="PasswordReader.__readPasswords"></a> <h4>PasswordReader.__readPasswords</h4> <b>__readPasswords</b>(<i></i>) <p> Private method to read and parse the login data file. </p> <a NAME="PasswordReader.__skipUnknownElement" ID="PasswordReader.__skipUnknownElement"></a> <h4>PasswordReader.__skipUnknownElement</h4> <b>__skipUnknownElement</b>(<i></i>) <p> Private method to skip over all unknown elements. </p> <a NAME="PasswordReader.read" ID="PasswordReader.read"></a> <h4>PasswordReader.read</h4> <b>read</b>(<i>fileNameOrDevice</i>) <p> Public method to read a login data file. </p> <dl> <dt><i>fileNameOrDevice</i> (str)</dt> <dd> name of the file to read or reference to the device to read (QIODevice) </dd> </dl> <dl> <dt>Return:</dt> <dd> tuple containing the logins, forms and never URLs </dd> </dl> <dl> <dt>Return Type:</dt> <dd> tuple of (dict, dict, list) </dd> </dl> <div align="right"><a href="#top">Up</a></div> <hr /> </body></html>