API Reference (buskill-app)

This section documents the main BusKill app

Source Code

This section documents the source code files and their classes/function using autodoc.

You can find the sourcecode that this document refers to in the src/ directory on our github-app repo on github.com

main.py

File:    main.py
Authors: Michael Altfield <michael@buskill.in>
Created: 2020-06-23
Updated: 2020-06-23
Version: 0.1

This is the main wrapper script for launching the BusKill app.

It has no functions and simply sets-up some essential requirements based on the platform, sets-up logging, and then either launches the CLI (buskill_cli.py) or the GUI (buskill_gui.py).

For more info, see: https://buskill.in/

buskill.py

File:    buskill.py
Authors: Michael Altfield <michael@buskill.in>
Created: 2020-06-23
Updated: 2020-06-28
Version: 0.1

This is the heart of the buskill app, shared by both the cli and gui

For more info, see: https://buskill.in/

buskill_cli.py

File:    buskill_cli.py
Authors: Michael Altfield <michael@buskill.in>
Created: 2020-06-23
Updated: 2020-06-23
Version: 0.1

This is the code to handle the BusKill app via CLI

For more info, see: https://buskill.in/

buskill_cli.BusKillCLI()[source]

buskill_gui.py

File:    buskill_gui.py
Authors: Michael Altfield <michael@buskill.in>
Created: 2020-06-23
Updated: 2020-06-23
Version: 0.1

This is the code to launch the BusKill GUI app

For more info, see: https://buskill.in/

class buskill_gui.MainWindow(*args: Any, **kwargs: Any)[source]
toggle_btn = None
status = None
toggleBusKill()[source]
class buskill_gui.CriticalError(*args: Any, **kwargs: Any)[source]
msg = None
showError(msg)[source]
fileBugReport()[source]
class buskill_gui.BusKill(*args: Any, **kwargs: Any)[source]
close(*args)[source]
build()[source]

buskill.kv

This is our main kivy-specific design language file that describes how to render the GUI, separating code from design.