PyBBIO
https://github.com/alexanderhiam/PyBBIO/
A Python library for Arduino-style hardware IO support on the Beaglebone.
https://github.com/alexanderhiam/PyBBIO/wiki
Arduino風にピンのプルアップ・ダウンを制御。
BeagleBone Black対応は、3.8のブランチで。
https://github.com/alexanderhiam/PyBBIO/tree/3.8-support