<commit_before>import datetime
import json
import math
import time
from contextlib import suppress

import steem as stm
from funcy import walk_keys
from steem.amount import Amount
from steem.converter import Converter
from steem.utils import parse_time


class Account(dict):
    def __init__(self, account_name, steem_instance=None):
        if not steem_instance:
            steem_instance = stm.Steem()
        self.steem = steem_instance
        self.name = account_name

        # caches<commit_msg>[account] fix imports<commit_after>import datetime
import json
import math
import time
from contextlib import suppress

import steem as stm
from funcy import walk_keys
from .amount import Amount
from .converter import Converter
from .utils import parse_time
from .blog import Blog


class Account(dict):
    def __init__(self, account_name, steem_instance=None):
        if not steem_instance:
            steem_instance = stm.Steem()
        self.steem = steem_instance
        self.name = account_name

        # caches
{'fraction_non_alphanumeric': 0.05165692007797271, 'fraction_numerical': 0.0, 'mean_word_length': 3.5442477876106193, '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': '4464928', 'n_tokens_mistral': 295, 'n_tokens_neox': 289, 'n_words': 101}