Complained by lgtm.com.
These examples show how to call libnm from Python using GObject introspection.