Ah, yes, so in UPBGE one can actually access python scripts through “Game Components”. This will completely circumvent logic bricks.
The way to use the First Person Camera template is to add the python component to the “Game Components” list in “Game Object Properties” in the “Properties” window. Seen here:
When adding a python component, the naming convention is python_module.ComponentClass. In the case of the First Person Camera template, it would be:
character_controller_first_person_camera.FirstPersonCamera