Store API

class autokey.model.store.Store[source]

Allows persistent storage of values between invocations of the script.

get_global_value(key)[source]

Get a global value

Usage: store.get_global_value(key)

get_value(key)[source]

Get a value

Usage: store.get_value(key)

has_key(key)[source]

python 2 compatibility

remove_global_value(key)[source]

Remove a global value

Usage: store.remove_global_value(key)

remove_value(key)[source]

Remove a value

Usage: store.remove_value(key)

set_global_value(key, value)[source]

Store a global value

Usage: store.set_global_value(key, value)

The value stored with this method will be available to all scripts.

set_value(key, value)[source]

Store a value

Usage: store.set_value(key, value)