<commit_before>#!/usr/bin/python3

import numpy as np
import os
from glob import glob
import requests

WIDTH, HEIGHT = 14, 28
CLACK_URL = 'http://ddrucker-pi:8080/clack/'


def blank_screen(height=HEIGHT, width=WIDTH):
    """ a blank matrix """
    d = np.zeros((height, width), dtype='|S1')
    d[:] = '.'
    return d


def read_font(fontname):
    """ a dict of symbol bitmaps """

    font = {}
    fontdir = os.path.dirname(os.path.realpath(__file__)) + '/font/'
    symbol_files = glob(fontdir + fontname + '/*')
    for symbol_file in symbol_files:
        symbol = os.path.basename(symbol_file)<commit_msg>your host<commit_after>#!/usr/bin/python3

import numpy as np
import os
from glob import glob
import requests

WIDTH, HEIGHT = 14, 28
CLACK_URL = 'http://your-clack-host:8080/clack/'


def blank_screen(height=HEIGHT, width=WIDTH):
    """ a blank matrix """
    d = np.zeros((height, width), dtype='|S1')
    d[:] = '.'
    return d


def read_font(fontname):
    """ a dict of symbol bitmaps """

    font = {}
    fontdir = os.path.dirname(os.path.realpath(__file__)) + '/font/'
    symbol_files = glob(fontdir + fontname + '/*')
    for symbol_file in symbol_files:
        symbol = os.path.basename(symbol_file)
{'fraction_non_alphanumeric': 0.15203252032520326, 'fraction_numerical': 0.016260162601626018, 'mean_word_length': 3.380782918149466, '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': '6447851', 'n_tokens_mistral': 445, 'n_tokens_neox': 421, 'n_words': 104}