<commit_before># -*- coding: utf-8 -*-


class Encodings:

    # http://www.iana.org/assignments/http-parameters/http-parameters.xhtml

    chunked = 'chunked'
    gzip = 'gzip'
    deflate = 'deflate'
    compress = 'compress'
    identity = 'identity'  # Accept-Encoding only


ENCODING_VALUES = {
    getattr(Encodings, attr)
    for attr in vars(Encodings)
    if not attr.startswith('_')}<commit_msg>shared.values transfer and content encodings<commit_after># -*- coding: utf-8 -*-


class CEncodings:

    br = 'br'
    compress = 'compress'
    deflate = 'deflate'
    exi = 'exi'
    gzip = 'gzip'
    identity = 'identity'
    pack200_gzip = 'pack200-gzip'
    x_compress = 'x-compress'
    x_gzip = 'x-gzip'


class TEncodings:

    chunked = 'chunked'
    compress = 'compress'
    deflate = 'deflate'
    gzip = 'gzip'
    identity = 'identity'
    x_compress = 'x-compress'
    x_gzip = 'x-gzip'


class Encodings(CEncodings, TEncodings):
    """
    All encodings, including content and transfer

    `Ref. <http://www.iana.org/assignments/http-parameters/http-parameters.xhtml>`_
    """


ENCODING_VALUES = {
    getattr(Encodings, attr)
    for attr in vars(Encodings)
    if not attr.startswith('_')}
{'fraction_non_alphanumeric': 0.13382594417077176, 'fraction_numerical': 0.006568144499178982, 'mean_word_length': 2.932258064516129, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4616792', 'n_tokens_mistral': 461, 'n_tokens_neox': 441, 'n_words': 91}