<commit_before># -*- coding: utf-8 -*-
"""
Display the current AWS bill.

##### WARNING #####
This module generate some costs on the AWS bill. Take care about the cache_timout to limit these fees !
##### WARNING #####

Configuration parameters:
    - aws_access_key_id : Your AWS access key
    - aws_secret_access_key : Your AWS secret key
    - aws_account_id : the root ID of the AWS account. Can be find here https://console.aws.amazon.com/billing/home#/account
    - s3_bucket_name : the bucket where billing files are sent by AWS. Follow this article to activate this feature : http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/detailed-billing-reports.html
    - billing_file : where the billing file must be stored
    - cache_timeout : how often we refresh this module in seconds

@author nawadanp
"""

import csv
import datetime
import boto

from boto.s3.connection import Key
from time import time


class Py3status:

    # available configuration parameters
    aws_access_key_id = ''
    aws_secret_access_key = ''<commit_msg>Change param desc<commit_after># -*- coding: utf-8 -*-
"""
Display the current AWS bill.

##### WARNING #####
This module generate some costs on the AWS bill. Take care about the cache_timout to limit these fees !
##### WARNING #####

Configuration parameters:
    - aws_access_key_id : Your AWS access key
    - aws_secret_access_key : Your AWS secret key
    - aws_account_id : the root ID of the AWS account. Can be find here https://console.aws.amazon.com/billing/home#/account
    - s3_bucket_name : the bucket where billing files are sent by AWS. Follow this article to activate this feature : http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/detailed-billing-reports.html
    - billing_file : csv file location
    - cache_timeout : how often we refresh this module in seconds

@author nawadanp
"""

import csv
import datetime
import boto

from boto.s3.connection import Key
from time import time


class Py3status:

    # available configuration parameters
    aws_access_key_id = ''
    aws_secret_access_key = ''
{'fraction_non_alphanumeric': 0.08741594620557157, 'fraction_numerical': 0.004803073967339097, 'mean_word_length': 3.788505747126437, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '335682', 'n_tokens_mistral': 605, 'n_tokens_neox': 594, 'n_words': 220}