Librpitx is a library to allow abstraction of GPIO,Clock registers for RF generation with a Raspberry Pi. Code is written in C++ but it should be possible to write wrapper for other languages (C,Python...).
This library is written for a userland purpose and need superuser rights(need sudo).