Lines Matching full:netrc
1 :mod:`!netrc` --- netrc file processing
4 .. module:: netrc
5 :synopsis: Loading of .netrc files.
10 **Source code:** :source:`Lib/netrc.py`
14 The :class:`~netrc.netrc` class parses and encapsulates the netrc file format used by
18 .. class:: netrc([file])
20 A :class:`~netrc.netrc` instance or subclass instance encapsulates data from a netrc
22 no argument is given, the file :file:`.netrc` in the user's home directory --
28 the :file:`.netrc` file will raise a :exc:`NetrcParseError` if the file
32 programs that use :file:`.netrc`.
38 :file:`.netrc` file when *file* is not passed as argument.
41 :class:`netrc` try UTF-8 encoding before using locale specific
43 The entry in the netrc file no longer needs to contain all tokens. The missing
51 Exception raised by the :class:`~netrc.netrc` class when syntactical errors are
70 netrc Objects
73 A :class:`~netrc.netrc` instance has the following methods:
76 .. method:: netrc.authenticators(host)
79 If the netrc file did not contain an entry for the given host, return the tuple
84 .. method:: netrc.__repr__()
86 Dump the class data as a string in the format of a netrc file. (This discards
89 Instances of :class:`~netrc.netrc` have public instance variables:
92 .. attribute:: netrc.hosts
98 .. attribute:: netrc.macros