libjapi is a universal JSON to C API library. It receives newline-delimited JSON (NDJSON) messages via TCP and calls registered C functions. A JSON response is returned for each request. Furthermore, it is also possible to create push services, which asynchronously push JSON messages to the clients subscribed to them.
In GitLab by @cstender on Dec 9, 2020, 18:01
To make use of libjapi in a python program bindings shall be added.
The following page gives a good overview about the possibilites: https://realpython.com/python-bindings-overview/