update module

binaryninja.update.UpdateChannel(name, desc, ver)

binaryninja.update.UpdateProgressCallback(func)

binaryninja.update.UpdateVersion(channel, …)

binaryninja.update.are_auto_updates_enabled()

are_auto_updates_enabled queries if auto updates are enabled.

binaryninja.update.get_time_since_last_update_check()

get_time_since_last_update_check returns the time stamp for the last time updates were checked.

binaryninja.update.install_pending_update()

install_pending_update installs any pending updates

binaryninja.update.is_update_installation_pending()

is_update_installation_pending whether an update has been downloaded and is waiting installation

binaryninja.update.log(level, text)

log writes messages to the log console for the given log level.

binaryninja.update.range(*args)

A Python2 and Python3 Compatible Range Generator

binaryninja.update.set_auto_updates_enabled(enabled)

set_auto_updates_enabled sets auto update enabled status.

binaryninja.update.updates_checked()

binaryninja.update.with_metaclass(meta, *bases)

Create a base class with a metaclass.

class UpdateChannel(name, desc, ver)[source]

Bases: object

update_to_latest(progress=None)[source]
latest_version

Latest version (read-only)

updates_available

Whether updates are available (read-only)

versions

List of versions (read-only)

class UpdateProgressCallback(func)[source]

Bases: object

callback(ctxt, progress, total)[source]
class UpdateVersion(channel, ver, notes, t)[source]

Bases: object

update(progress=None)[source]
are_auto_updates_enabled()[source]

are_auto_updates_enabled queries if auto updates are enabled.

Returns

boolean True if auto updates are enabled. False if they are disabled.

Return type

bool

get_time_since_last_update_check()[source]

get_time_since_last_update_check returns the time stamp for the last time updates were checked.

Returns

time stacmp for last update check

Return type

int

install_pending_update()[source]

install_pending_update installs any pending updates

Return type

None

is_update_installation_pending()[source]

is_update_installation_pending whether an update has been downloaded and is waiting installation

Returns

boolean True if an update is pending, false if no update is pending

Return type

bool

set_auto_updates_enabled(enabled)[source]

set_auto_updates_enabled sets auto update enabled status.

Parameters

enabled (bool) – True to enable update, False to disable updates.

Return type

None

updates_checked()[source]