It is a very modular GPIO library, both C and Python.
I added versions for the Orange Pi one and the Olimex OLinuXino(not yet committed to the GitHub ) I didn't write the library though, but am using/contributing to it.
You can write one program and it is binary compatible with all boards. The Blink example works on all supported boards by giving the argument which board it should run on.
So, if I may say so, it has it's functions totally decoupled from the HW platform.
Adding a platform is about half an hour work, adding another SoC might take a little longer, but the H3 is already added, so adding more boards based on that SOC is pretty easy.