Thanks.
Looks like the equivalent on Rock is pyRock:
https://wiki.radxa.com/News/2014/10/pyRock-python-gpio-library
Am I correct that the "Pi-specific nodes" mentioned by the script are just the 4 nodes rpi-gpio-in, rpi-gpio-out, rpi-mouse, and rpi-keyboard ?