This project provides a pyb.py file for use with IDEs in developing a project for the Pyboard.
There is no implementation in the file, it is there for code completion only.
It's probably a bit rough, feel free to open an issue, tweaks should be easy.