Reference
Python standard https://docs.python.org/3/library/
Socket https://docs.python.org/3/library/socket.html#module-socket
Python AsyncIO https://docs.python.org/3/library/asyncio.html
PyGobject Gio https://api.pygobject.gnome.org/Gio-2.0/classes.html
Dbus service https://github.com/tuhiproject/tuhi/blob/master/tuhi/dbusserver.py
Airpods
steam3d for reverse battery reporting , ANC control https://github.com/steam3d/MagicPodsCore
kavishdevar for Conversation awarness and in ear detection https://github.com/kavishdevar/librepods
GATT BAS
GATT Battery Service Script and information was provided by Genteure
https://github.com/maniacx/Bluetooth-Battery-Meter/issues/21#issuecomment-2267584302
New Device development.
In future I will create a template python script so that it is easier to port other devices so that testing and development using standalone python script can be done.
Here are some sources I have found for other devices.
Sony
https://github.com/Toxblh/sony-headphones-control-linux/tree/master
https://github.com/Plutoberth/SonyHeadphonesClient
https://github.com/steam3d/MagicPodsCore/tree/sony
Redmi Xiomi
Samsung Galaxy Buds
https://github.com/timschneeb/GalaxyBudsClient
https://github.com/timschneeb/GalaxyBuds-BatteryLevel