https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/781
These examples show how to call libnm from Python using GObject introspection.