<commit_before>"""
    Settings for eLife
    ~~~~~~~~~~~
    To specify multiple environments, each environment gets its own class,
    and calling get_settings will return the specified class that contains
    the settings.

    You must modify:
        aws_access_key_id
        aws_secret_access_key

"""


class exp():
    # AWS settings
    # aws_access_key_id = ''
    aws_secret_access_key = ''

    workflow_context_path = 'workflow-context/'

    # SQS settings
    # sqs_region = 'eu-west-1'
    S3_monitor_queue = 'xxawsxx-incoming-queue'
    event_monitor_queue = 'event-property-incoming-queue'
    workflow_starter_queue = 'workflow-starter-queue'
    workflow_starter_queue_pool_size = 5
    workflow_starter_queue_message_count = 5

    # S3 settings
    publishing_buckets_prefix = 'jr-'
    # shouldn't need this but uploads seem to fail without. Should correspond with the s3 region
    # hostname list here http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region

    s3_hostname = 's3-eu-west-1.amazonaws.com'
    production_bucket = 'elife-production-final'
    eif_bucket = 'elife-publishing-eif'
    expanded_bucket = 'elife-publishing-expanded'
    ppp_cdn_bucket = 'elife-publishing-cdn'
    archive_bucket = 'elife-publishing-archive'
    xml_bucket = 'elife-publishing-xml'

    # REST endpoint for drupal node builder
    # drupal_naf_endpoint = 'http://localhost:5000/nodes'
    drupal_EIF_endpoint = 'http://172.16.58.3/api/article.json'
    drupal_approve_endpoint = 'http://172.16.58.3/api/publish/'

    # lax endpoint to retrieve information about published versions of articles
    lax_article_versions = 'http://2015-09-03.lax.elifesciences.org/api/v1/article/10.7554/eLife.{article_id}/version/'
    lax_update = 'http://2015-09-03.lax.elifesciences.org/api/v1/import/article/'
    lax_update_user = ''
    lax_update_pass = ''

    # end JR settings

    # S3 settings
    bucket = 'elife-articles'
    prefix = ''
    delimiter = '/'

    # SWF queue settings
    domain = "Publish.dev"
    default_task_list = "DefaultTaskList"

    # SimpleDB settings
    simpledb_region = "eu-west-1"
    simpledb_domain_postfix = "_dev"

    # Converter settings
    converter_url = ""
    converter_token = "abcd"

    # SES settings
    # email needs to be verified by AWS
    ses_region = "eu-west-1"
    ses_sender_email = "<EMAIL>"
    ses_admin_email = "<EMAIL>"

    # CDN bucket settings
    cdn_bucket = 'elife-cdn-dev'
    cdn_distribution_id = u'E1HPZ2QWOYE9NX'
    cdn_domain_name = 'dhkzd83nokruv.cloudfront.net'

    # Lens bucket settings
    lens_bucket = 'elife-lens-dev'
    lens_distribution_id = u'E30WWCB2DNEOKI'
    lens_domain_name = 'd32g8kubfuccxs.cloudfront.net'

    # Bot S3 settings
    bot_bucket = 'elife-bot-dev'

    # POA delivery bucket
    poa_bucket = 'elife-ejp-poa-delivery-dev'

    # POA packaging bucket
    poa_packaging_bucket = 'elife-poa-packaging-dev'

    # POA FTP settings
    POA_FTP_URI = ""
    POA_FTP_USERNAME = ""
    POA_FTP_PASSWORD = ""
    POA_FTP_CWD = ""

    # POA email settings
    ses_poa_sender_email = "<EMAIL>"
    ses_poa_recipient_email = "<EMAIL>"

    # EJP S3 settings
    ejp_bucket = 'elife-ejp-ftp-dev'

    # Templates S3 settings
    templates_bucket = 'elife-bot-dev'

    # Crossref
    crossref_url = 'http://test.crossref.org/servlet/deposit'
    crossref_login_id = ''
    crossref_login_passwd = ''

    # PubMed FTP settings
    PUBMED_FTP_URI = ""
    PUBMED_FTP_USERNAME = ""
    PUBMED_FTP_PASSWORD = ""
    PUBMED_FTP_CWD = ""

    # HEFCE Archive FTP settings
    HEFCE_FTP_URI = ""
    HEFCE_FTP_USERNAME = ""
    HEFCE_FTP_PASSWORD = ""
    HEFCE_FTP_CWD = ""
    
    # GoOA FTP settings
    GOOA_FTP_URI = ""
    GOOA_FTP_USERNAME = ""
    GOOA_FTP_PASSWORD = ""
    GOOA_FTP_CWD = ""

    # Logging
    setLevel = "INFO"


class dev():

    # AWS settings
    aws_access_key_id = '<your access key>'
    aws_secret_access_key = '<your secret key>'

    # S3 settings
    bucket = 'elife-articles'
    prefix = ''
    delimiter = '/'

    # SWF queue settings
    domain = "Publish.dev"
    default_task_list = "DefaultTaskList"

    # SimpleDB settings
    simpledb_region = "us-east-1"
    simpledb_domain_postfix = "_dev"

    # Converter settings
    converter_url = ""
    converter_token = "abcd"

    # SES settings
    # email needs to be verified by AWS
    ses_region = "us-east-1"
    ses_sender_email = "<EMAIL>"
    ses_admin_email = "<EMAIL>"

    # CDN bucket settings
    cdn_bucket = 'elife-cdn-dev'
    cdn_distribution_id = u'E1HPZ2QWOYE9NX'
    cdn_domain_name = 'dhkzd83nokruv.cloudfront.net'

    # Lens bucket settings
    lens_bucket = 'elife-lens-dev'
    lens_distribution_id = u'E30WWCB2DNEOKI'
    lens_domain_name = 'd32g8kubfuccxs.cloudfront.net'

    # Bot S3 settings
    bot_bucket = 'elife-bot-dev'

    # POA delivery bucket
    poa_bucket = 'elife-ejp-poa-delivery-dev'

    # POA packaging bucket
    poa_packaging_bucket = 'elife-poa-packaging-dev'

    # POA FTP settings
    POA_FTP_URI = ""
    POA_FTP_USERNAME = ""
    POA_FTP_PASSWORD = ""
    POA_FTP_CWD = ""

    # POA email settings
    ses_poa_sender_email = "<EMAIL>"
    ses_poa_recipient_email = "<EMAIL>"

    # EJP S3 settings
    ejp_bucket = 'elife-ejp-ftp-dev'

    # Templates S3 settings
    templates_bucket = 'elife-bot-dev'

    # Crossref
    crossref_url = 'http://test.crossref.org/servlet/deposit'
    crossref_login_id = ''
    crossref_login_passwd = ''

    # PubMed FTP settings
    PUBMED_FTP_URI = ""
    PUBMED_FTP_USERNAME = ""
    PUBMED_FTP_PASSWORD = ""
    PUBMED_FTP_CWD = ""

    # HEFCE Archive FTP settings
    HEFCE_FTP_URI = ""
    HEFCE_FTP_USERNAME = ""
    HEFCE_FTP_PASSWORD = ""
    HEFCE_FTP_CWD = ""

    # Cengage Archive FTP settings
    CENGAGE_FTP_URI = ""
    CENGAGE_FTP_USERNAME = ""
    CENGAGE_FTP_PASSWORD = ""
    CENGAGE_FTP_CWD = ""
    
    # GoOA FTP settings
    GOOA_FTP_URI = ""
    GOOA_FTP_USERNAME = ""
    GOOA_FTP_PASSWORD = ""
    GOOA_FTP_CWD = ""
    
    # Logging
    setLevel = "INFO"


class live():
    # AWS settings
    aws_access_key_id = '<your access key>'
    aws_secret_access_key = '<your secret key>'

    # S3 settings
    bucket = 'elife-articles'
    prefix = ''
    delimiter = '/'

    # SWF queue settings
    domain = "Publish"
    default_task_list = "DefaultTaskList"

    # Converter settings
    converter_url = ""
    converter_token = "abcd"

    # SimpleDB settings
    simpledb_region = "us-east-1"
    simpledb_domain_postfix = ""

    # SES settings
    # email needs to be verified by AWS
    ses_region = "us-east-1"
    ses_sender_email = "<EMAIL>"
    ses_admin_email = "<EMAIL>"

    # CDN bucket settings
    cdn_bucket = 'elife-cdn'
    cdn_distribution_id = u'E3EXVOTTI6XCOZ'
    cdn_domain_name = 'cdn.elifesciences.org'

    # Lens bucket settings
    lens_bucket = 'elife-lens'
    lens_distribution_id = u'EK4HKRQWIF6B3'
    cdn_domain_name = 'lens.elifesciences.org'

    # Bot S3 settings
    bot_bucket = 'elife-bot'

    # POA delivery bucket
    poa_bucket = 'elife-ejp-poa-delivery'

    # POA packaging bucket
    poa_packaging_bucket = 'elife-poa-packaging'

    # POA FTP settings
    POA_FTP_URI = ""
    POA_FTP_USERNAME = ""
    POA_FTP_PASSWORD = ""
    POA_FTP_CWD = ""

    # POA email settings
    ses_poa_sender_email = "<EMAIL>"
    ses_poa_recipient_email = "<EMAIL>"

    # EJP S3 settings
    ejp_bucket = 'elife-ejp-ftp'

    # Templates S3 settings
    templates_bucket = 'elife-bot'

    # Crossref
    crossref_url = 'http://doi.crossref.org/servlet/deposit'
    crossref_login_id = ''
    crossref_login_passwd = ''

    # PubMed FTP settings
    PUBMED_FTP_URI = ""
    PUBMED_FTP_USERNAME = ""
    PUBMED_FTP_PASSWORD = ""
    PUBMED_FTP_CWD = ""

    # HEFCE Archive FTP settings
    HEFCE_FTP_URI = ""
    HEFCE_FTP_USERNAME = ""
    HEFCE_FTP_PASSWORD = ""
    HEFCE_FTP_CWD = ""

    # Cengage Archive FTP settings
    CENGAGE_FTP_URI = ""
    CENGAGE_FTP_USERNAME = ""
    CENGAGE_FTP_PASSWORD = ""
    CENGAGE_FTP_CWD = ""
    
    # GoOA FTP settings
    GOOA_FTP_URI = ""<commit_msg>Add PMC FTP setting to example settings.<commit_after>"""
    Settings for eLife
    ~~~~~~~~~~~
    To specify multiple environments, each environment gets its own class,
    and calling get_settings will return the specified class that contains
    the settings.

    You must modify:
        aws_access_key_id
        aws_secret_access_key

"""


class exp():
    # AWS settings
    # aws_access_key_id = ''
    aws_secret_access_key = ''

    workflow_context_path = 'workflow-context/'

    # SQS settings
    # sqs_region = 'eu-west-1'
    S3_monitor_queue = 'xxawsxx-incoming-queue'
    event_monitor_queue = 'event-property-incoming-queue'
    workflow_starter_queue = 'workflow-starter-queue'
    workflow_starter_queue_pool_size = 5
    workflow_starter_queue_message_count = 5

    # S3 settings
    publishing_buckets_prefix = 'jr-'
    # shouldn't need this but uploads seem to fail without. Should correspond with the s3 region
    # hostname list here http://docs.aws.amazon.com/general/latest/gr/rande.html#s3_region

    s3_hostname = 's3-eu-west-1.amazonaws.com'
    production_bucket = 'elife-production-final'
    eif_bucket = 'elife-publishing-eif'
    expanded_bucket = 'elife-publishing-expanded'
    ppp_cdn_bucket = 'elife-publishing-cdn'
    archive_bucket = 'elife-publishing-archive'
    xml_bucket = 'elife-publishing-xml'

    # REST endpoint for drupal node builder
    # drupal_naf_endpoint = 'http://localhost:5000/nodes'
    drupal_EIF_endpoint = 'http://5172.16.17.32/api/article.json'
    drupal_approve_endpoint = 'http://172.16.58.3/api/publish/'

    # lax endpoint to retrieve information about published versions of articles
    lax_article_versions = 'http://2015-09-03.lax.elifesciences.org/api/v1/article/10.7554/eLife.{article_id}/version/'
    lax_update = 'http://2015-09-03.lax.elifesciences.org/api/v1/import/article/'
    lax_update_user = ''
    lax_update_pass = ''

    # end JR settings

    # S3 settings
    bucket = 'elife-articles'
    prefix = ''
    delimiter = '/'

    # SWF queue settings
    domain = "Publish.dev"
    default_task_list = "DefaultTaskList"

    # SimpleDB settings
    simpledb_region = "eu-west-1"
    simpledb_domain_postfix = "_dev"

    # Converter settings
    converter_url = ""
    converter_token = "abcd"

    # SES settings
    # email needs to be verified by AWS
    ses_region = "eu-west-1"
    ses_sender_email = "<EMAIL>"
    ses_admin_email = "<EMAIL>"

    # CDN bucket settings
    cdn_bucket = 'elife-cdn-dev'
    cdn_distribution_id = u'E1HPZ2QWOYE9NX'
    cdn_domain_name = 'dhkzd83nokruv.cloudfront.net'

    # Lens bucket settings
    lens_bucket = 'elife-lens-dev'
    lens_distribution_id = u'E30WWCB2DNEOKI'
    lens_domain_name = 'd32g8kubfuccxs.cloudfront.net'

    # Bot S3 settings
    bot_bucket = 'elife-bot-dev'

    # POA delivery bucket
    poa_bucket = 'elife-ejp-poa-delivery-dev'

    # POA packaging bucket
    poa_packaging_bucket = 'elife-poa-packaging-dev'

    # POA FTP settings
    POA_FTP_URI = ""
    POA_FTP_USERNAME = ""
    POA_FTP_PASSWORD = ""
    POA_FTP_CWD = ""

    # POA email settings
    ses_poa_sender_email = "<EMAIL>"
    ses_poa_recipient_email = "<EMAIL>"

    # EJP S3 settings
    ejp_bucket = 'elife-ejp-ftp-dev'

    # Templates S3 settings
    templates_bucket = 'elife-bot-dev'

    # Crossref
    crossref_url = 'http://test.crossref.org/servlet/deposit'
    crossref_login_id = ''
    crossref_login_passwd = ''

    # PubMed FTP settings
    PUBMED_FTP_URI = ""
    PUBMED_FTP_USERNAME = ""
    PUBMED_FTP_PASSWORD = ""
    PUBMED_FTP_CWD = ""

    # PMC FTP settings
    PMC_FTP_URI = ""
    PMC_FTP_USERNAME = ""
    PMC_FTP_PASSWORD = ""
    PMC_FTP_CWD = ""

    # HEFCE Archive FTP settings
    HEFCE_FTP_URI = ""
    HEFCE_FTP_USERNAME = ""
    HEFCE_FTP_PASSWORD = ""
    HEFCE_FTP_CWD = ""
    
    # GoOA FTP settings
    GOOA_FTP_URI = ""
    GOOA_FTP_USERNAME = ""
    GOOA_FTP_PASSWORD = ""
    GOOA_FTP_CWD = ""

    # Logging
    setLevel = "INFO"


class dev():

    # AWS settings
    aws_access_key_id = '<your access key>'
    aws_secret_access_key = '<your secret key>'

    # S3 settings
    bucket = 'elife-articles'
    prefix = ''
    delimiter = '/'

    # SWF queue settings
    domain = "Publish.dev"
    default_task_list = "DefaultTaskList"

    # SimpleDB settings
    simpledb_region = "us-east-1"
    simpledb_domain_postfix = "_dev"

    # Converter settings
    converter_url = ""
    converter_token = "abcd"

    # SES settings
    # email needs to be verified by AWS
    ses_region = "us-east-1"
    ses_sender_email = "<EMAIL>"
    ses_admin_email = "<EMAIL>"

    # CDN bucket settings
    cdn_bucket = 'elife-cdn-dev'
    cdn_distribution_id = u'E1HPZ2QWOYE9NX'
    cdn_domain_name = 'dhkzd83nokruv.cloudfront.net'

    # Lens bucket settings
    lens_bucket = 'elife-lens-dev'
    lens_distribution_id = u'E30WWCB2DNEOKI'
    lens_domain_name = 'd32g8kubfuccxs.cloudfront.net'

    # Bot S3 settings
    bot_bucket = 'elife-bot-dev'

    # POA delivery bucket
    poa_bucket = 'elife-ejp-poa-delivery-dev'

    # POA packaging bucket
    poa_packaging_bucket = 'elife-poa-packaging-dev'

    # POA FTP settings
    POA_FTP_URI = ""
    POA_FTP_USERNAME = ""
    POA_FTP_PASSWORD = ""
    POA_FTP_CWD = ""

    # POA email settings
    ses_poa_sender_email = "<EMAIL>"
    ses_poa_recipient_email = "<EMAIL>"

    # EJP S3 settings
    ejp_bucket = 'elife-ejp-ftp-dev'

    # Templates S3 settings
    templates_bucket = 'elife-bot-dev'

    # Crossref
    crossref_url = 'http://test.crossref.org/servlet/deposit'
    crossref_login_id = ''
    crossref_login_passwd = ''

    # PubMed FTP settings
    PUBMED_FTP_URI = ""
    PUBMED_FTP_USERNAME = ""
    PUBMED_FTP_PASSWORD = ""
    PUBMED_FTP_CWD = ""

    # PMC FTP settings
    PMC_FTP_URI = ""
    PMC_FTP_USERNAME = ""
    PMC_FTP_PASSWORD = ""
    PMC_FTP_CWD = ""

    # HEFCE Archive FTP settings
    HEFCE_FTP_URI = ""
    HEFCE_FTP_USERNAME = ""
    HEFCE_FTP_PASSWORD = ""
    HEFCE_FTP_CWD = ""

    # Cengage Archive FTP settings
    CENGAGE_FTP_URI = ""
    CENGAGE_FTP_USERNAME = ""
    CENGAGE_FTP_PASSWORD = ""
    CENGAGE_FTP_CWD = ""
    
    # GoOA FTP settings
    GOOA_FTP_URI = ""
    GOOA_FTP_USERNAME = ""
    GOOA_FTP_PASSWORD = ""
    GOOA_FTP_CWD = ""
    
    # Logging
    setLevel = "INFO"


class live():
    # AWS settings
    aws_access_key_id = '<your access key>'
    aws_secret_access_key = '<your secret key>'

    # S3 settings
    bucket = 'elife-articles'
    prefix = ''
    delimiter = '/'

    # SWF queue settings
    domain = "Publish"
    default_task_list = "DefaultTaskList"

    # Converter settings
    converter_url = ""
    converter_token = "abcd"

    # SimpleDB settings
    simpledb_region = "us-east-1"
    simpledb_domain_postfix = ""

    # SES settings
    # email needs to be verified by AWS
    ses_region = "us-east-1"
    ses_sender_email = "<EMAIL>"
    ses_admin_email = "<EMAIL>"

    # CDN bucket settings
    cdn_bucket = 'elife-cdn'
    cdn_distribution_id = u'E3EXVOTTI6XCOZ'
    cdn_domain_name = 'cdn.elifesciences.org'

    # Lens bucket settings
    lens_bucket = 'elife-lens'
    lens_distribution_id = u'EK4HKRQWIF6B3'
    cdn_domain_name = 'lens.elifesciences.org'

    # Bot S3 settings
    bot_bucket = 'elife-bot'

    # POA delivery bucket
    poa_bucket = 'elife-ejp-poa-delivery'

    # POA packaging bucket
    poa_packaging_bucket = 'elife-poa-packaging'

    # POA FTP settings
    POA_FTP_URI = ""
    POA_FTP_USERNAME = ""
    POA_FTP_PASSWORD = ""
    POA_FTP_CWD = ""

    # POA email settings
    ses_poa_sender_email = "<EMAIL>"
    ses_poa_recipient_email = "<EMAIL>"

    # EJP S3 settings
    ejp_bucket = 'elife-ejp-ftp'

    # Templates S3 settings
    templates_bucket = 'elife-bot'

    # Crossref
    crossref_url = 'http://doi.crossref.org/servlet/deposit'
    crossref_login_id = ''
    crossref_login_passwd = ''

    # PubMed FTP settings
    PUBMED_FTP_URI = ""
    PUBMED_FTP_USERNAME = ""
    PUBMED_FTP_PASSWORD = ""
    PUBMED_FTP_CWD = ""

    # PMC FTP settings
    PMC_FTP_URI = ""
    PMC_FTP_USERNAME = ""
    PMC_FTP_PASSWORD = ""
    PMC_FTP_CWD = ""

    # HEFCE Archive FTP settings
    HEFCE_FTP_URI = ""
    HEFCE_FTP_USERNAME = ""
    HEFCE_FTP_PASSWORD = ""
    HEFCE_FTP_CWD = ""

    # Cengage Archive FTP settings
    CENGAGE_FTP_URI = ""
    CENGAGE_FTP_USERNAME = ""
    CENGAGE_FTP_PASSWORD = ""
    CENGAGE_FTP_CWD = ""
    
    # GoOA FTP settings
    GOOA_FTP_URI = ""
{'fraction_non_alphanumeric': 0.10222036028487641, 'fraction_numerical': 0.011969597223053444, 'mean_word_length': 2.844030365769496, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 4, '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': '7087890', 'n_tokens_mistral': 6603, 'n_tokens_neox': 6240, 'n_words': 1091}