"Fossies" - the Fresh Open Source Software Archive 
Member "getmail-5.16/getmailcore/__init__.py" (31 Oct 2021, 922 Bytes) of package /linux/misc/getmail-5.16.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Python source code syntax highlighting (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
For more information about "__init__.py" see the
Fossies "Dox" file reference documentation and the latest
Fossies "Diffs" side-by-side code changes report:
5.15_vs_5.16.
1 #!/usr/bin/env python2
2 '''A reliable mail-retriever toolkit.
3
4 getmail is a reliable, modular, extensible mail retriever with support for
5 simple and multidrop POP3 mailboxes, multidrop SDPS mailboxes, simple and
6 multidrop IMAP mailboxes. Also supports POP3- and IMAP-over-SSL, message
7 filtering, and other features.
8
9 getmail is Copyright (C) 1998-2019 Charles Cazabon. All rights reserved.
10 Distributed under the terms of the GNU General Public License version 2 (only).
11 You should have received a copy of the license in the file COPYING.
12 '''
13
14 import sys
15 if sys.hexversion < 0x2030300:
16 raise ImportError('getmail version 5 requires Python version 2.3.3'
17 ' or later')
18
19 __version__ = '5.16'
20
21 __all__ = [
22 'baseclasses',
23 'compatibility',
24 'constants',
25 'destinations',
26 'exceptions',
27 'filters',
28 'imap_utf7',
29 'logging',
30 'message',
31 'retrievers',
32 'utilities',
33 ]