Functions

data_sources_from_variant (sources_variant)

data_sources_to_variant (sources)

events_from_variant (vevents)

events_to_variant (events)

events_to_variant_with_limit (events, limit)

interpretation_for_mimetype (mimetype)

manifestation_for_uri (uri)

register_mimetype (mimetype, interpretation_uri)

register_mimetype_regex (mimetype_regex, interpretation_uri)

register_uri_scheme (uri_scheme, manifestation_type)

result_type_is_sort_order_asc (result_type)

symbol_get_all_children (symbol_uri)

symbol_get_all_parents (symbol_uri)

symbol_get_children (symbol_uri)

symbol_get_description (symbol_uri)

symbol_get_display_name (symbol_uri)

symbol_get_parents (symbol_uri)

symbol_is_a (symbol_uri, parent_uri)

timestamp_from_date (date)

timestamp_from_dmy (day, month, year)

timestamp_from_iso8601 (datetime)

timestamp_from_now ()

timestamp_from_timeval (timeval)

timestamp_next_midnight (timestamp)

timestamp_prev_midnight (timestamp)

timestamp_to_date (timestamp)

timestamp_to_iso8601 (timestamp)

timestamp_to_timeval (timestamp)

utils_backup_database ()

utils_get_data_path ()

utils_get_database_file_backup_path ()

utils_get_database_file_path ()

utils_get_database_file_retire_name ()

utils_get_default_data_path ()

utils_get_local_extensions_path ()

utils_is_empty_string (s)

utils_log_may_read_directly ()

utils_parse_negation (val)

utils_parse_noexpand (val)

utils_parse_wildcard (val)

utils_set_database_file_path (path)

utils_using_in_memory_database ()

Details

Zeitgeist.data_sources_from_variant(sources_variant)
Parameters:

sources_variant (GLib.Variant) –

Raises:

GLib.Error

Return type:

[Zeitgeist.DataSource]

Zeitgeist.data_sources_to_variant(sources)
Parameters:

sources ({str: Zeitgeist.DataSource}) –

Return type:

GLib.Variant

Zeitgeist.events_from_variant(vevents)
Parameters:

vevents (GLib.Variant) –

Raises:

GLib.Error

Return type:

[Zeitgeist.Event]

Zeitgeist.events_to_variant(events)
Parameters:

events ([Zeitgeist.Event]) –

Return type:

GLib.Variant

Zeitgeist.events_to_variant_with_limit(events, limit)
Parameters:
Raises:

GLib.Error

Return type:

GLib.Variant

Zeitgeist.interpretation_for_mimetype(mimetype)
Parameters:

mimetype (str or None) –

Return type:

str or None

Zeitgeist.manifestation_for_uri(uri)
Parameters:

uri (str) –

Return type:

str or None

Zeitgeist.register_mimetype(mimetype, interpretation_uri)
Parameters:
  • mimetype (str) –

  • interpretation_uri (str) –

Zeitgeist.register_mimetype_regex(mimetype_regex, interpretation_uri)
Parameters:
  • mimetype_regex (str) –

  • interpretation_uri (str) –

Zeitgeist.register_uri_scheme(uri_scheme, manifestation_type)
Parameters:
  • uri_scheme (str) –

  • manifestation_type (str) –

Zeitgeist.result_type_is_sort_order_asc(result_type)
Parameters:

result_type (Zeitgeist.ResultType) –

Return type:

bool

Zeitgeist.symbol_get_all_children(symbol_uri)
Parameters:

symbol_uri (str) –

Return type:

[str]

Zeitgeist.symbol_get_all_parents(symbol_uri)
Parameters:

symbol_uri (str) –

Return type:

[str]

Zeitgeist.symbol_get_children(symbol_uri)
Parameters:

symbol_uri (str) –

Return type:

[str]

Zeitgeist.symbol_get_description(symbol_uri)
Parameters:

symbol_uri (str) –

Return type:

str

Zeitgeist.symbol_get_display_name(symbol_uri)
Parameters:

symbol_uri (str) –

Return type:

str

Zeitgeist.symbol_get_parents(symbol_uri)
Parameters:

symbol_uri (str) –

Return type:

[str]

Zeitgeist.symbol_is_a(symbol_uri, parent_uri)
Parameters:
Return type:

bool

Zeitgeist.timestamp_from_date(date)
Parameters:

date (GLib.Date) –

Return type:

int

Zeitgeist.timestamp_from_dmy(day, month, year)
Parameters:
Return type:

int

Zeitgeist.timestamp_from_iso8601(datetime)
Parameters:

datetime (str) –

Return type:

int

Zeitgeist.timestamp_from_now()
Return type:

int

Zeitgeist.timestamp_from_timeval(timeval)
Parameters:

timeval (GLib.TimeVal) –

Return type:

int

Zeitgeist.timestamp_next_midnight(timestamp)
Parameters:

timestamp (int) –

Return type:

int

Zeitgeist.timestamp_prev_midnight(timestamp)
Parameters:

timestamp (int) –

Return type:

int

Zeitgeist.timestamp_to_date(timestamp)
Parameters:

timestamp (int) –

Return type:

result: GLib.Date

Zeitgeist.timestamp_to_iso8601(timestamp)
Parameters:

timestamp (int) –

Return type:

str

Zeitgeist.timestamp_to_timeval(timestamp)
Parameters:

timestamp (int) –

Return type:

result: GLib.TimeVal

Zeitgeist.utils_backup_database()
Raises:

GLib.Error

Zeitgeist.utils_get_data_path()
Return type:

str

Zeitgeist.utils_get_database_file_backup_path()
Return type:

str

Zeitgeist.utils_get_database_file_path()
Return type:

str

Zeitgeist.utils_get_database_file_retire_name()
Return type:

str

Zeitgeist.utils_get_default_data_path()
Return type:

str

Zeitgeist.utils_get_local_extensions_path()
Return type:

str

Zeitgeist.utils_is_empty_string(s)
Parameters:

s (str or None) –

Return type:

bool

Zeitgeist.utils_log_may_read_directly()
Return type:

bool

Zeitgeist.utils_parse_negation(val)
Parameters:

val (str) –

Return type:

(bool, val: str)

Zeitgeist.utils_parse_noexpand(val)
Parameters:

val (str) –

Return type:

(bool, val: str)

Zeitgeist.utils_parse_wildcard(val)
Parameters:

val (str) –

Return type:

(bool, val: str)

Zeitgeist.utils_set_database_file_path(path)
Parameters:

path (str) –

Zeitgeist.utils_using_in_memory_database()
Return type:

bool