<commit_before>
* Overview
Input: bank, csv file
Output: ledger file
Starting phase:
- if unknown account number, ask for corresponding ledger account and
store the response in the rc file.
At each post, ask for:
- if unknown corresponding ledger account, ask for a corresponding
ledger account and store it in the rc file.
- is it checked ?
- any comments to add ?
(check numbers are automatically added as comment)

* Arguments
mylp.py <bank> <csv_file> [-o ledger_file] [-i --interactive]
bank: the bank name
csv_file: the input csv file
ledger_file: the output ledger file
-i --interactive: interactive post review

* .myledgerpal.rc
** Overview
Places where the program will look for this file:
- in the current working directory
- beside the location of the target ledger file
- in home
If the file is present in different places at the same
time then only the first encountered one will be processed.
** format
{
    "accounts": {
        "Liabilities:MasterCard": "000-000-0000",
        "Assets:Compte Joint RBC": "000-000-0000"
    },
    "rules": {
        "Expenses:Alimentation:Courses": {
            "IGA": 100,
            "Walmart": 100,
            "Costco": 100
        },
        "Expenses:Logement:Assurance":{
            "DESJ. ASS. GEN.": 40,
        },
        "Expenses:Transports:Voiture:Assurance":{
            "DESJ. ASS. GEN.": 60,
        }
    }
 }<commit_msg>Add aliases to the resources file design<commit_after>
* Overview
Input: bank, csv file
Output: ledger file
Starting phase:
- if unknown account number, ask for corresponding ledger account and
store the response in the rc file.
At each post, ask for:
- if unknown corresponding ledger account, ask for a corresponding
ledger account and store it in the rc file.
- is it checked ?
- any comments to add ?
(check numbers are automatically added as comment)

* Arguments
mylp.py <bank> <csv_file> [-o ledger_file] [-i --interactive]
bank: the bank name
csv_file: the input csv file
ledger_file: the output ledger file
-i --interactive: interactive post review

* .myledgerpal.rc
** Overview
Places where the program will look for this file:
- in the current working directory
- beside the location of the target ledger file
- in home
If the file is present in different places at the same
time then only the first encountered one will be processed.
** format
{
    "accounts": {
        "Liabilities:MasterCard": "111-111-1111",
        "Assets:Compte Joint RBC": "000-000-0000"
    },
    "aliases": {
        "COSTCO WHOLESAL": "Costco",
        "ELECTRONIC BO": "Electronic Box",
        "HYDRO QUEBEC": "Hydro Quebec",
        "I G A DES SOURC": "IGA"
    },
    "rules": {
        "Expenses:Alimentation:Courses": {
            "I G A DES SOURC": 100,
            "COSTCO WHOLESAL": 100
        },
        "Expenses:Logement:Assurance":{
            "DESJ. ASS. GEN.": 40,
        },
        "Expenses:Transports:Voiture:Assurance":{
            "DESJ. ASS. GEN.": 60,
        }
    }
 }
** RBC example
"Type de compte","Numéro du compte","Date de l'opération","Numéro du chèque","Description 1","Description 2","CAD","USD"
Chèques,00335-5358353,4/28/2014,,"Paiement","PAIEMENT W3 - 4732 ELECTRONIC BO",-95.25,,
Chèques,00335-5358353,4/28/2014,,"Paiement","PAIEMENT W3 - 7374 HYDRO QUEBEC ",-336.59,,
Chèques,00335-5358353,5/1/2014,,"COSTCO ESSENCE","ACHAT PDI ---- 6765 ",-52.69,,
Chèques,00335-5358353,5/1/2014,,"<NAME>","ACHAT PDI ---- 2154 ",-96.32,,
Chèques,00335-5358353,5/5/2014,,"VERSEMENT SUR HYP",,-756.38,,
Chèques,00335-5358353,5/9/2014,000013,"CHEQUE No 013",,-60.00,,
Chèques,00335-5358353,5/12/2014,,"ASSURANCE","DESJ. ASS. GEN. ",-143.42,,
Chèques,00335-5358353,5/20/2014,,"<NAME>","ACHAT PDI ---- 0335 ",-86.82,,
Chèques,00335-5358353,5/23/2014,,"<NAME>",,-10.95,,
Chèques,00335-5358353,7/14/2014,,"CREDIT INTERNE",,46.00,,
{'fraction_non_alphanumeric': 0.13112617309697602, 'fraction_numerical': 0.08472367049009384, 'mean_word_length': 3.253880266075388, 'pattern_counts': {'":': 28, '<': 10, '<?xml version=': 0, '>': 10, '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': '699883', 'n_tokens_mistral': 1520, 'n_tokens_neox': 1280, 'n_words': 407}