Hmm… AFAIK the “cycles integration” in blender is an addon/extension. So the handleing of the materials etc… but cycles itself, even if available as standalone renderer, is integrated into blender (and written in C not Python ).
But so are other “integrations” like for example for LuxCoreRender(which has “only” official support for 4.5 and experimental fot 5.0… because the addon/extension API for the GUI changed a bit…).
Edit/Added:
And of course (i remembered replying to something similar ): using the the awesome forum search function (top right –icon)… there is some “recreating of…”: