<jupyter_start><jupyter_text>--- Initializing the NotebookNotebooklets depend on msticpy so we import/initialize this package.<jupyter_code>import sys
import os
from IPython.display import display, HTML, Markdown

from msticpy.nbtools.nbinit import init_notebook
init_notebook(namespace=globals(), friendly_exceptions=False);<jupyter_output><empty_output><jupyter_text>--- Import the package- Discovers and imports notebooklet classes/modules<jupyter_code>import msticnb as nb
# nb.init(query_provider="LocalData", providers=["-tilookup", "+ipstacklookup", "-azuredata"], AzureSentinel_workspace="Centrica")
nb.init(
    "LocalData", providers=["-tilookup"],
    LocalData_data_paths=["/src/msticnb/tests/testdata"],
    LocalData_query_paths=["/src/msticnb/tests/testdata"],
)
time_span = nbwidgets.QueryTime(auto_display=True, units="day", before=1)
acc_summary = nb.nblts.azsent.account.AccountSummary()
acc_summary_rslt = acc_summary.run(value="user", timespan=time_span)
acc_summary.get_additional_data()
acc_summary.display_alert_timeline()
acc_summary.browse_alerts()
acc_summary.browse_bookmarks()
acc_summary.show_help()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.12251941328731665, 'fraction_numerical': 0.0008628127696289905, 'mean_word_length': 8.914529914529915, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '2', 'dir': 'jupyter-structured-clean-dedup', 'id': '541072', 'license': 'MIT', 'n_tokens_mistral': 403, 'n_tokens_neox': 391, 'n_words': 62, 'path': 'docs/notebooks/AccountSummary.ipynb', 'repo_name': 'microsoft/msticnb', 'size': '1159'}