<commit_before>from pyws.protocols import RestProtocol, JsonProtocol, SoapProtocol

DEBUG = True

LOCATION = 'http://localhost:8000/api/soap'

PROTOCOLS = {
    'rest': RestProtocol(),
    'json': JsonProtocol(),
    'soap': SoapProtocol('Test', 'http://example.com/'),
}

from pyws.functions.managers import FixedFunctionManager
from pyws.example import simple, simple_integer_adapter, simple_float_adapter,\
    add_integer_adapter, add_float_adapter

FUNCTION_MANAGERS = (
    FixedFunctionManager(
        simple,
        simple_integer_adapter,
        simple_float_adapter,
        add_integer_adapter,
        add_float_adapter
    ),
)<commit_msg>added functions to django example project<commit_after>from pyws.protocols import RestProtocol, JsonProtocol, SoapProtocol

DEBUG = True

LOCATION = 'http://localhost:8000/api/soap'

PROTOCOLS = {
    'rest': RestProtocol(),
    'json': JsonProtocol(),
    'soap': SoapProtocol('Test', 'http://example.com/'),
}

from pyws.functions.managers import FixedFunctionManager
from pyws.example import simple, simple_integer_adapter, simple_float_adapter,\
    add_integer_adapter, add_float_adapter, add_dict_adapter, add_list_adapter

FUNCTION_MANAGERS = (
    FixedFunctionManager(
        simple,
        simple_integer_adapter,
        simple_float_adapter,
        add_integer_adapter,
        add_float_adapter,
        add_dict_adapter,
        add_list_adapter,
    ),
)
{'fraction_non_alphanumeric': 0.09460406447091801, 'fraction_numerical': 0.005606166783461808, 'mean_word_length': 4.1, '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': '7302192', 'n_tokens_mistral': 429, 'n_tokens_neox': 423, 'n_words': 83}