<commit_before>''' Execution Provider Factory

Centralize creation of execution providers and executors.

'''

import logging

logger = logging.getLogger(__name__)

# Executors
from parsl.executors.ipp import IPyParallelExecutor
from parsl.executors.swift_t import TurbineExecutor
from parsl.executors.threads import ThreadPoolExecutor

# Execution Providers
from parsl.execution_provider.slurm.slurm import Slurm
from parsl.execution_provider.aws.aws import EC2Provider
from parsl.execution_provider.local.local import Local

# Channels
from parsl.pipes.ssh_cl import SshClClient

class ExecProviderFactory (object):

    def __init__ (self):
        ''' Constructor

        Args:
             name (string) : Name of the execution resource

        Returns:
             object (ExecutionProvider)

        '''

        self.executors = { 'ipp' : IPyParallelExecutor,
                           'swift_t' : TurbineExecutor,<commit_msg>Updating for moving ssh-cl from pipes to channels dir<commit_after>''' Execution Provider Factory

Centralize creation of execution providers and executors.

'''

import logging

logger = logging.getLogger(__name__)

# Executors
from parsl.executors.ipp import IPyParallelExecutor
from parsl.executors.swift_t import TurbineExecutor
from parsl.executors.threads import ThreadPoolExecutor

# Execution Providers
from parsl.execution_provider.slurm.slurm import Slurm
from parsl.execution_provider.aws.aws import EC2Provider
from parsl.execution_provider.local.local import Local

# Channels
from parsl.channels.ssh_cl import SshClClient

class ExecProviderFactory (object):

    def __init__ (self):
        ''' Constructor

        Args:
             name (string) : Name of the execution resource

        Returns:
             object (ExecutionProvider)

        '''

        self.executors = { 'ipp' : IPyParallelExecutor,
                           'swift_t' : TurbineExecutor,
{'fraction_non_alphanumeric': 0.0672225117248567, 'fraction_numerical': 0.0010422094841063053, 'mean_word_length': 3.4444444444444446, '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': '2130417', 'n_tokens_mistral': 541, 'n_tokens_neox': 522, 'n_words': 147}