<commit_before>#!/usr/bin/env python3

"""
Command-line client of the RESTful service at
https://toolbox.fhcrc.org/sw2srv/aws/account
Which returns the AWS credentials of the authenticated user.
This script will add those credentials to the user's ~/.aws/config file.
"""

from __future__ import print_function # needed for end="" to work in py2.7

# standard library imports
import sys
import argparse
import os
import getpass

# third-party imports; we assume these are available.
import requests
from six.moves import ConfigParser as ConfigParser

def main(): # pylint: disable=too-many-branches, too-many-statements
    'Do all the work.'
    url = "https://toolbox.fhcrc.org/sw2srv/aws/account"


    parser = argparse.ArgumentParser(formatter_class=\
        argparse.ArgumentDefaultsHelpFormatter)<commit_msg>fix cross-platform import<commit_after>#!/usr/bin/env python3

"""
Command-line client of the RESTful service at
https://toolbox.fhcrc.org/sw2srv/aws/account
Which returns the AWS credentials of the authenticated user.
This script will add those credentials to the user's ~/.aws/config file.
"""

from __future__ import print_function # needed for end="" to work in py2.7

# standard library imports
import sys
import argparse
import os
import getpass

# third-party imports; we assume these are available.
import requests
from six.moves import configparser as ConfigParser

def main(): # pylint: disable=too-many-branches, too-many-statements
    'Do all the work.'
    url = "https://toolbox.fhcrc.org/sw2srv/aws/account"


    parser = argparse.ArgumentParser(formatter_class=\
        argparse.ArgumentDefaultsHelpFormatter)
{'fraction_non_alphanumeric': 0.08941605839416059, 'fraction_numerical': 0.006082725060827251, 'mean_word_length': 4.411184210526316, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '1315248', 'n_tokens_mistral': 493, 'n_tokens_neox': 471, 'n_words': 163}