<commit_before>"""
pyamex demo

Get transactions and print a summary by day of week
"""
import pyamex
import getpass
import calendar
import pandas as pd

login = {
    'username': input('Username: '),
    'password': get<PASSWORD>.getpass('Password: '),
    'locale': 'en_GB'
}

# Select the number of billing periods
periods = input('Billing Periods: ')
periods = int(periods)
periods = list(range(0, periods))

client = pyamex.AmexClient(**login)

accounts = client.accounts()

result = []<commit_msg>Allowed default arg (0) to be used in the example<commit_after>"""
pyamex demo

Get transactions and print a summary by day of week
"""
import pyamex
import getpass
import calendar
import pandas as pd

login = {
    'username': input('Username: '),
    'password': <PASSWORD>('Password: '),
    'locale': 'en_GB'
}

# Select the number of billing periods
periods = input('Billing Periods: ')
periods = int(periods)
periods = [0] if periods is 0 else list(range(0, periods))

client = pyamex.AmexClient(**login)

accounts = client.accounts()

result = []
{'fraction_non_alphanumeric': 0.12973484848484848, 'fraction_numerical': 0.004734848484848485, 'mean_word_length': 4.775956284153006, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '7360343', 'n_tokens_mistral': 346, 'n_tokens_neox': 339, 'n_words': 113}