<commit_before>.. _usage:

Usage
=====

Integrating `metron` quite simple::

    {% load  metron_tags %}

and then toward the bottom of the body where you put your scripts::

    {% analytics %}


If you want to add certain specific activities you can use the activity
API in `metron` like so::

    from metron import activity<commit_msg>removed extra whitespace<commit_after>.. _usage:

Usage
=====

Integrating `metron` quite simple::

    {% load metron_tags %}

and then toward the bottom of the body where you put your scripts::

    {% analytics %}


If you want to add certain specific activities you can use the activity
API in `metron` like so::

    from metron import activity
{'fraction_non_alphanumeric': 0.08430232558139535, 'fraction_numerical': 0.0, 'mean_word_length': 3.719178082191781, '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': '4842374', 'n_tokens_mistral': 203, 'n_tokens_neox': 185, 'n_words': 91}