<commit_before><commit_msg>Add Python hello client<commit_after>#!/usr/bin/env python

import dbus

bus = dbus.SessionBus()
remote_object = bus.get_object("org.za.hem.DBus", "/Root")

dbus_interface = "org.designfu.SampleInterface"
iface = dbus.Interface(remote_object, dbus_interface)

hello_reply_list = remote_object.HelloWorld(17, "Hello from example-client.py!", dbus_interface=dbus_interface)
print (hello_reply_list)

remote_object.HelloWorld(1, {"php":"<NAME>",\
                             "perl":"<NAME>",\
                             "python":"<NAME>"})

hello_reply_tuple = iface.GetTuple()
print str(hello_reply_tuple)

hello_reply_dict = iface.GetDict()
print str(hello_reply_dict)
{'fraction_non_alphanumeric': 0.13629842180774748, 'fraction_numerical': 0.00430416068866571, 'mean_word_length': 4.410852713178294, 'pattern_counts': {'":': 3, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3343930', 'n_tokens_mistral': 234, 'n_tokens_neox': 230, 'n_words': 37}