Giter Club home page Giter Club logo

toledger's Introduction

ToLedger

ToLedger originated as a personal project to convert my bank statements to the open source ledger format. I have made some changes to make it more generally applicable, allowing for other banks to be added.

Currently this library is only known to work with the export files of ING Bank (NL) and Bitstamp, but extending it for similar CSV exports should be trivial.

Usage: 
  toledger.py <format> [options] 
  toledger.py <format> [options] <input>
  toledger.py <format> [options] <input> <output>
  toledger.py (-h | --help)

Options:
  -a --append    Append to the output file if it exists.
  -b --balance   Get the initial balance (if possible)
  --from=<from>  Account to get balances from. 
  --to=<to>      Account to send transactions to. 
  --name=<name>  Account name.
  --hash         Save a hash of the transaction for duplicate removal
  -c --code      Use the currency code, e.g. EUR
  -s --symbol    Use the currency symbol, e.g. €  
  -h --help      Show the usage guidelines.

Installation

Apart from downloading this repository, you can install the latest release with pip install toledger

Contributing

If you wish to contribute to this project, here's a feature wishlist:

  • Add different formats for different banks (see toledger/bankstatements.py)
  • Interactive mode, manually adding and changing transaction details
  • Smart transaction labeling, based on specification files or existing Ledger files
  • Checking the output file for duplicates
  • Convert to using a Ledger library for Python, instead of writing directly to files (better and more output formatting options)
  • Save the meta information in the output file
  • Python 2 compatibility
  • Unit tests
  • Any other suggestions are also welcome, especially if they improve extensibility and compatibility

There are also some design conventions:

toledger's People

Contributors

bartbroere avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

toledger's Issues

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.