2011-04-27 10:37:15 +02:00
.. OfflineImap documentation master file
.. currentmodule :: offlineimap
Welcome to :mod: `offlineimaps` 's documentation
2011-05-02 17:11:40 +02:00
==============================================
2011-04-27 10:37:15 +02:00
2011-05-02 17:11:40 +02:00
The :mod: `offlineimap` module provides the user interface for synchronization between IMAP servers and MailDirs or between IMAP servers. The homepage containing the source code repository can be found at the `offlineimap homepage <http://offlineimap.org> `_ .
2011-04-27 10:37:15 +02:00
Within :mod: `offlineimap` , the classes :class: `OfflineImap` provides the high-level functionality. The rest of the classes should usually not needed to be touched by the user. A folder is represented by a :class: `offlineimap.folder.Base.BaseFolder` or any derivative :mod: `offlineimap.folder` .
2011-05-02 17:11:40 +02:00
.. moduleauthor :: John Goerzen, and many others. See AUTHORS and the git history for a full list.
2011-04-27 10:37:15 +02:00
:License: This module is covered under the GNU GPL v2 (or later).
This page contains the main API overview of OfflineImap |release|.
Notmuch can be imported as::
from offlineimap import OfflineImap
More information on specific topics can be found on the following pages:
.. toctree ::
:maxdepth: 1
2011-05-02 17:11:40 +02:00
repository
ui
offlineimap
2011-04-27 10:37:15 +02:00
:mod: `offlineimap` -- The OfflineImap module
2011-05-02 17:11:40 +02:00
=============================================
2011-04-27 10:37:15 +02:00
2011-05-02 17:11:40 +02:00
.. module :: offlineimap
2011-04-27 10:37:15 +02:00
.. autoclass :: offlineimap.OfflineImap(cmdline_opts = None)
.. automethod :: lock
2011-05-02 17:11:40 +02:00
.. automethod :: run
2011-04-27 10:37:15 +02:00
2011-05-02 17:11:40 +02:00
.. .. autoattribute:: ui
2011-04-27 10:37:15 +02:00
:todo: Document
2011-05-02 17:11:40 +02:00
:class: `offlineimap.account`
============================
2011-04-27 10:37:15 +02:00
2011-05-02 17:11:40 +02:00
An :class: `accounts.Account` connects two email repositories that are to be synced. It comes in two flavors, normal and syncable.
2011-04-27 10:37:15 +02:00
2011-05-02 17:11:40 +02:00
.. autoclass :: offlineimap.accounts.Account
2011-04-27 10:37:15 +02:00
2011-05-02 17:11:40 +02:00
.. autoclass :: offlineimap.accounts.SyncableAccount
:members:
:inherited-members:
2011-04-27 10:37:15 +02:00
2011-05-02 17:11:40 +02:00
.. autodata :: ui
2011-04-27 10:37:15 +02:00
2011-05-02 17:11:40 +02:00
Contains the current :mod: `offlineimap.ui` , and can be used for logging etc.
2011-04-27 10:37:15 +02:00
:exc: `OfflineImapException` -- A Notmuch execution error
2011-05-02 17:11:40 +02:00
--------------------------------------------------------
2011-04-27 10:37:15 +02:00
.. autoexception :: offlineimap.OfflineImapException
:members:
2011-05-02 17:11:40 +02:00
This execption inherits directly from :exc: `Exception` and is raised on errors during the offlineimap execution.