<commit_before>#####
Tuple
#####

.. autofunction:: parsenvy.parsenvy.tuple


Usage
-----

.. code-block:: shell

    export ALLOWED_CATEGORIES=python,vim,git

.. code-block:: python

    >>> import parsenvy
    >>> parsenvy.tuple('ALLOWED_CATEGORIES')
    ('Hello', 'world!')<commit_msg>Fix mismatch between env value and resulting tuple (#63)<commit_after>#####
Tuple
#####

.. autofunction:: parsenvy.parsenvy.tuple


Usage
-----

.. code-block:: shell

    export SAMPLE_GREETING=Hello,world!

.. code-block:: python

    >>> import parsenvy
    >>> parsenvy.tuple('SAMPLE_GREETING')
    ('Hello', 'world!')
{'fraction_non_alphanumeric': 0.18821603927986907, 'fraction_numerical': 0.0032733224222585926, 'mean_word_length': 3.6717557251908395, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, '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': '1837290', 'n_tokens_mistral': 233, 'n_tokens_neox': 208, 'n_words': 39}