<commit_before>#!/usr/bin/env python
# -*- coding:utf-8 -*-

import os

from . import staticjinja

if __name__ == "__main__":
    searchpath = os.path.join(os.getcwd(), 'templates')
    site = staticjinja.make_site(searchpath=searchpath)
    site.render(use_reloader=True)
<commit_msg>Fix __main__.py to use Site.make_site, not staticjinja.make_site<commit_after>#!/usr/bin/env python
# -*- coding:utf-8 -*-

import os

from .staticjinja import Site

if __name__ == "__main__":
    searchpath = os.path.join(os.getcwd(), 'templates')
    site = Site.make_site(searchpath=searchpath)
    site.render(use_reloader=True)

{'fraction_non_alphanumeric': 0.14563106796116504, 'fraction_numerical': 0.003236245954692557, 'mean_word_length': 4.336206896551724, 'pattern_counts': {'":': 2, '<': 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': '4085751', 'n_tokens_mistral': 226, 'n_tokens_neox': 221, 'n_words': 41}