blackmamba

Black Mamba initialization module.

The only requirement is to call blackmamba.main. Example:

import blackmamba
blackmamba.main()

Warning

Do not add top level imports which depends on Pythonista modules. Module must be importable on any other platform. Add these imports to specific functions decorated with blackmamba.system.Pythonista and / or blackmamba.system.iOS.

blackmamba.main(config=None)[source]

Black Mamba initialization.

Call this function from pythonista_startup.py (site-packages-3) file.

Parameters:config (optional) – Dictionary with configuration

Example:

import blackmamba

config = {
    'general': {
        'jedi': True
    }
}

blackmamba.main(config)

See pythonista_startup.py for more examples.