<commit_before># Data retrieval
from .commands import (find_events, find_event_descriptors,
                       find_beamline_configs, find_run_starts, find_last,
                       find_run_stops)
# Data insertion
from .commands import (insert_event, insert_event_descriptor, insert_run_start,
                       insert_beamline_config, insert_run_stop,
                       EventDescriptorIsNoneError, format_events,
                       format_data_keys, db_connect, db_disconnect)

# safe metadatastore objects
from .document import Document

# object model
from .odm_templates import (RunStop, RunStart, Event, EventDescriptor,
                            BeamlineConfig, DataKey)<commit_msg>MNT: remove removed function from API<commit_after># Data retrieval
from .commands import (find_events, find_event_descriptors,
                       find_beamline_configs, find_run_starts, find_last,
                       find_run_stops)
# Data insertion
from .commands import (insert_event, insert_event_descriptor, insert_run_start,
                       insert_beamline_config, insert_run_stop,
                       EventDescriptorIsNoneError,
                       format_data_keys, db_connect, db_disconnect)

# safe metadatastore objects
from .document import Document

# object model
from .odm_templates import (RunStop, RunStart, Event, EventDescriptor,
                            BeamlineConfig, DataKey)
{'fraction_non_alphanumeric': 0.05024424284717376, 'fraction_numerical': 0.0, 'mean_word_length': 2.6120906801007555, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4852124', 'n_tokens_mistral': 382, 'n_tokens_neox': 364, 'n_words': 93}