<commit_before>from __future__ import absolute_import
import logging
import os
import json

from six.moves.configparser import NoOptionError

from dxlbootstrap.app import Application
from dxlclient.service import ServiceRegistrationInfo
from dxlclient.callbacks import RequestCallback
from dxlclient.message import ErrorResponse, Response

from ._epo import _Epo

# Configure local logger
logger = logging.getLogger(__name__)


class EpoService(Application):
    """
    A DXL service that exposes the remote commands of one or more ePO servers to
    the DXL fabric. When a DXL request message is received, the remote command is invoked
    on the appropriate ePO server and its response is packaged and returned to the invoking
    client via a DXL response message.<commit_msg>Remove six configparser reference from app.py<commit_after>from __future__ import absolute_import
import logging
import os
import json

# pylint: disable=unused-import
try:
    from configparser import ConfigParser
    from configparser import NoOptionError
except ImportError:
    from ConfigParser import ConfigParser
    from ConfigParser import NoOptionError

from dxlbootstrap.app import Application
from dxlclient.service import ServiceRegistrationInfo
from dxlclient.callbacks import RequestCallback
from dxlclient.message import ErrorResponse, Response

from ._epo import _Epo

# Configure local logger
logger = logging.getLogger(__name__)


class EpoService(Application):
    """
    A DXL service that exposes the remote commands of one or more ePO servers to
    the DXL fabric. When a DXL request message is received, the remote command is invoked
    on the appropriate ePO server and its response is packaged and returned to the invoking
    client via a DXL response message.
{'fraction_non_alphanumeric': 0.031073446327683617, 'fraction_numerical': 0.0, 'mean_word_length': 4.864238410596027, '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': '5653212', 'n_tokens_mistral': 446, 'n_tokens_neox': 429, 'n_words': 207}