Libcamera python github. Picamera2 also presents an easy to use Python API.

Libcamera python github. create_request() self.