taskbridgeapp.helpers

This is a helper file for both note and reminder synchronisation.

Module attributes

DATA_LOCATION

Location where application data is

DRY_RUN

If set to true, the user will have to confirm any change made by TaskBridge.

Functions

confirm

If DRY_RUN is set to True, asks the user to confirm by displaying a prompt.

db_folder

Get the location of the SQLite database file.

get_uuid

Generates a UUID.

html_to_markdown

Converts HTML to Markdown using the Markdownify library.

markdown_to_html

Converts Markdown to HTML using the markdown2 library.

run_applescript

Runs an AppleScript script.

settings_folder

Get the location of the Application Data folder for TaskBridge

temp_folder

Get the location of the tmp folder within TaskBridge's Application Data folder.

Classes

DateUtil

Utility class for converting between several date and date/time formats.

FunctionHandler