<commit_before>"""
This module contains all information for pushing a NordicEvent object into the database.

Functions and Classes
---------------------
"""

import psycopg2
import os
import pwd
import re
import datetime

from nordb.core import usernameUtilities
from nordb.database import creationInfo

INSERT_COMMANDS = {
                    1:  (
                        "INSERT INTO "
                            "nordic_header_main "
                            "(origin_time, origin_date, location_model, "
                            "distance_indicator, event_desc_id, epicenter_latitude, "<commit_msg>Removed pwd import which didn't do anything and broke windows installs<commit_after>"""
This module contains all information for pushing a NordicEvent object into the database.

Functions and Classes
---------------------
"""

import psycopg2
import os
import re
import datetime

from nordb.core import usernameUtilities
from nordb.database import creationInfo

INSERT_COMMANDS = {
                    1:  (
                        "INSERT INTO "
                            "nordic_header_main "
                            "(origin_time, origin_date, location_model, "
                            "distance_indicator, event_desc_id, epicenter_latitude, "
{'fraction_non_alphanumeric': 0.08293838862559241, 'fraction_numerical': 0.00315955766192733, 'mean_word_length': 1.939675174013921, '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': '7363676', 'n_tokens_mistral': 309, 'n_tokens_neox': 307, 'n_words': 100}