Git Product home page Git Product logo

recontool's Introduction

recontool

a simple command line tool for reconciling two sets of financial data.

Setup

python setup.py install

Usage

In the following example, I reconcile my credit card statement with my bank statement. You'll notice that sometimes money settles out of order or is batched.

Input data:

Left:                   Right:
$138,831.25             $116,096.01
$149,066.73             $143,409.75
$269,099.84             $149,066.73
$143,409.75             $269,099.84
$116,096.01             $252,897.59
$125,499.93             $125,499.93
$127,700.74             $127,700.74
$252,897.59             $162,988.06
$162,988.06             $144,852.92
$144,852.92             $255,859.17
$182,512.97             $828,120.40
$144,047.30             $571,593.77
$145,067.95
$190,242.65
$331,703.13
$161,106.67
$313,562.43
$258,031.34

Command:

recontool left.csv right.csv

Output:



     1: $                   138,831.25          : $                         0.00
--------------------------------------------------------------------------------
        $                   138,831.25            $                         0.00
================================================================================


     2: $                   149,066.73         1: $                   116,096.01
     3: $                   269,099.84         2: $                   143,409.75
     4: $                   143,409.75         3: $                   149,066.73
     5: $                   116,096.01         4: $                   269,099.84
     6: $                   125,499.93         5: $                   252,897.59
     7: $                   127,700.74         6: $                   125,499.93
     8: $                   252,897.59         7: $                   127,700.74
     9: $                   162,988.06         8: $                   162,988.06
    10: $                   144,852.92         9: $                   144,852.92
--------------------------------------------------------------------------------
        $                 1,491,611.57            $                 1,491,611.57
================================================================================


    11: $                   182,512.97        10: $                   255,859.17
    12: $                   144,047.30          : $                         0.00
--------------------------------------------------------------------------------
        $                   326,560.27            $                   255,859.17
================================================================================


    13: $                   145,067.95        11: $                   828,120.40
    14: $                   190,242.65        12: $                   571,593.77
    15: $                   331,703.13          : $                         0.00
    16: $                   161,106.67          : $                         0.00
    17: $                   313,562.43          : $                         0.00
    18: $                   258,031.34          : $                         0.00
--------------------------------------------------------------------------------
        $                 1,399,714.17            $                 1,399,714.17
================================================================================

Developing and Testing

python setup.py develop
python setup.py test

recontool's People

Watchers

James Cloos avatar  avatar

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.