<jupyter_start><jupyter_text>Import iris native api<jupyter_code>import irisnative<jupyter_output><empty_output><jupyter_text>Create database connection and IRIS instance<jupyter_code>connection = irisnative.createConnection("localhost", 1972, "USER", "superuser", "SYS", sharedmemory = True)
myIris = irisnative.createIris(connection)<jupyter_output><empty_output><jupyter_text>Fetch Object example<jupyter_code>passenger = myIris.classMethodObject("Titanic.Table.Passenger","%OpenId",1)
print(passenger.get("name"))<jupyter_output>ttoto1<jupyter_text>Play with globals<jupyter_code>myIris.set("hello","myGlobal")
print(myIris.get("myGlobal"))<jupyter_output>hello
{'fraction_non_alphanumeric': 0.13082706766917293, 'fraction_numerical': 0.009022556390977444, 'mean_word_length': 16.526315789473685, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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}}
{'chain_length': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '20293', 'license': 'MIT', 'n_tokens_mistral': 243, 'n_tokens_neox': 237, 'n_words': 26, 'path': 'src/Notebooks/.ipynb_checkpoints/IrisNative-checkpoint.ipynb', 'repo_name': 'gjsjohnmurray/iris-python-template', 'size': '665'}