maestral.constants

This module provides constants used throughout the maestral, the GUI and CLI. It should be kept free of memory heavy imports.

Module Contents

maestral.constants.resource_path(package, resource)[source]
Parameters:
  • package (str)

  • resource (str)

Return type:

ContextManager[pathlib.Path]

maestral.constants.FROZEN[source]
maestral.constants.FROZEN[source]
maestral.constants.APP_NAME = 'Maestral'[source]
maestral.constants.BUNDLE_ID = 'com.samschott.maestral'[source]
maestral.constants.APP_ICON_PATH[source]
maestral.constants.ENV[source]
maestral.constants.DEFAULT_CONFIG_NAME = 'maestral'[source]
maestral.constants.OLD_REV_FILE = '.maestral'[source]
maestral.constants.MIGNORE_FILE = '.mignore'[source]
maestral.constants.FILE_CACHE = '.maestral.cache'[source]
maestral.constants.EXCLUDED_FILE_NAMES[source]
maestral.constants.EXCLUDED_DIR_NAMES[source]
maestral.constants.IDLE = 'Up to date'[source]
maestral.constants.SYNCING = 'Syncing...'[source]
maestral.constants.PAUSED = 'Paused'[source]
maestral.constants.CONNECTED = 'Connected'[source]
maestral.constants.DISCONNECTED = 'Connection lost'[source]
maestral.constants.CONNECTING = 'Connecting...'[source]
maestral.constants.SYNC_ERROR = 'Sync error'[source]
maestral.constants.ERROR = 'Fatal error'[source]
class maestral.constants.FileStatus[source]

Bases: enum.Enum

Enumeration of sync status

Unwatched = 'unwatched'[source]
Uploading = 'uploading'[source]
Downloading = 'downloading'[source]
Error = 'error'[source]
Synced = 'up to date'[source]
maestral.constants.IS_MACOS[source]
maestral.constants.IS_LINUX[source]
maestral.constants.DROPBOX_APP_KEY = '2jmbq42w7vof78h'[source]
maestral.constants.GITHUB_RELEASES_API = 'https://api.github.com/repos/samschott/maestral/releases'[source]