@@ -0,0 +1,934 @@
+#!/usr/bin/env python3%0A%0Aimport argparse%0Aimport librpc%0A%0Adef instance(i):%0A    print('Instance %7B0%7D'.format(i.path))%0A    print('Interfaces:')%0A%0A    for name, iface in i.interfaces.items():%0A        interface(name, iface)%0A%0Adef interface(name, iface):%0A    print('    Interface %7B0%7D'.format(name))%0A    print('    Methods:')%0A    if iface.methods:%0A        for i in iface.methods:%0A            print('        - %7B0%7D'.format(i))%0A    else:%0A        print('        %3Cnone%3E')%0A%0A    print('    Properties:')%0A    if iface.properties:%0A        for i in iface.properties:%0A            print('        - %7B0%7D'.format(i))%0A    else:%0A        print('        %3Cnone%3E')%0A%0A%0Adef main():%0A    parser = argparse.ArgumentParser()%0A    parser.add_argument('--uri')%0A    args = parser.parse_args()%0A%0A    client = librpc.Client()%0A    client.connect(args.uri)%0A    client.unpack = True%0A%0A    for i in client.instances.values():%0A        instance(i)%0A%0A%0Aif __name__ == '__main__':%0A    main()%0A

Add simple server inspection script.