Samsung's RFCOMM protocol interpretation for battery info was used from https://github.com/ThePBone/GalaxyBuds-BatteryLevel.
With Conda
conda create -n gbuds python=3.7
conda activate gbuds
pip install -r requirements
# If it complains on missing PyGObject, use conda's binaries:
conda install -c conda-forge pygobject
# Run
python app