Helpers

This module defines some helper code used internally by the browser_history package.

class browser_history.utils.Platform(value)

An enum used to indicate the system’s platform

A value of 0 is reserved for unknown platforms.

Usage: To be used without instantiating like so:

linux = Platform.LINUX
mac = Platform.MAC
windows = Platform.WINDOWS

See get_platform() to infer the platform from the system.

browser_history.utils.get_platform()

Returns the current platform

Return type

Platform