GithubHelp home page GithubHelp logo

bankreport's Introduction

bankreport

Installation

  • Via pip: pip install bankreport
  • From local git checkout: make install

Usage

Usage: bankreport [OPTIONS] [SRC]...

Options:
  -f, --format [tsv|csv|txt|pkl|html]
  --dedup / --no-dedup            Deduplicate entries
  --sort TEXT                     Comma sepearated list of fields to sort the output by
  -x, --exclude TEXT              Exclude records containing the provided string
  --rules TEXT                    File containing classification rules
                                  Schema: <regex>\t<category>

  -v, --verbose                   Debug output
  --help                          Show this message and exit

Output Columns

  1. Account -- E.g. comdirekt/giro; comdiekt/visa
  2. Date -- isoformatted date
  3. Text -- "Buchungstext"
  4. Value -- Value of transactions (typically in EUR)
  5. Category -- Inferred category from rules file

Example Usage

  1. Download various csv files from ComDirekt online-banking into ./csv
  2. Rename ComDirekt CSV files to have extension .cd.csv
  3. Run bankreport as:
    • bankreport ./csv/* to write a well-defined unified tsv file to stdout
    • bankreport -f html ./csv/* > out.html & open out.html to view HTML formatted table
    • bankreport ./csv/* --rules rules.tsv | q -t -H -O 'select Category, sum(Value) from - group by Category' to show category totals (using q(1)).

Supported Banking Formats

Banking formats are inferred from the file extension, as to allow mixed files in a single directory. Unfortunately, the supported banks do not use consistent file extensions by themselves, so the files have to be manually renamed to have the correct extension.

Bank Date Extension
ComDirekt 2020-12-22 .cd.csv
Fidor 2019-12 .fd.csv

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.