GithubHelp home page GithubHelp logo

flaktack / financisto-to-ledger Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 23 KB

Convert financisto backups to ledger data files

License: GNU General Public License v3.0

JavaScript 100.00%
ledger financisto

financisto-to-ledger's Introduction

financisto-to-ledger

A utility to assist in converting financisto backups into ledger data files.

Install

$ npm install -g financisto-to-ledger

Usage

To convert a file using the default settings:

$ financisto-to-ledger source.backup > output.ledger

The prices.db, definitions.ledger and financisto.ledger may be saved in a directory:

$ financisto-to-ledger source.backup output

Options

$ financisto-to-ledger --help
usage: financisto-to-ledger [-h] [-v] [--unknown-expense UNKNOWNEXPENSE]
                            [--unknown-payee UNKNOWNPAYEE]
                            [--account-prefix ACCOUNTPREFIX]
                            [--no-transactions | --transactions]
                            [--no-accounts | --accounts]
                            [--no-currencies | --currencies]
                            [--no-payees | --payees]
                            [--no-pricedb | --pricedb]
                            [--no-projects | --projects]
                            [--no-locations | --locations]
                            [--no-lonlats | --lonlats]
                            [--no-simplify | --simplify]
                            [--no-debug | --debug]
                            filename [output-dir]

Financisto backup to ledger file format converter.

Positional arguments:
  filename              Financisto backup file
  output-dir            Directory to save files to. Will create prices.db, 
                        definitions.ledger and financisto.ledger in the 
                        directory. (default: null)

Optional arguments:
  -h, --help            Show this help message and exit.
  -v, --version         Show program's version number and exit.
  --unknown-expense UNKNOWNEXPENSE
                        Account for unspecified expenses, (default: 
                        "Expenses:Unknown")
  --unknown-payee UNKNOWNPAYEE
                        Default payee where unspecified. (default: "Unknown")
  --account-prefix ACCOUNTPREFIX
                        Account prefix to use if the account name is not 
                        hierarchical. (default: "Assets:")
  --no-transactions
  --transactions        Convert transactions. (default: true)
  --no-accounts
  --accounts            Add 'account ...' definitions. (default: true)
  --no-currencies
  --currencies          Add 'commodity ...' definitions. (default: true)
  --no-payees
  --payees              Add 'payee ...' definitions. (default: true)
  --no-pricedb
  --pricedb             Add 'P ...' exchange rates. (default: true)
  --no-projects
  --projects            Add Projects to postings as tags. (default: true)
  --no-locations
  --locations           Add Locations to postings as tags. (default: true)
  --no-lonlats
  --lonlats             Add longitude and latitude to postings as tags. 
                        (default: false)
  --no-simplify
  --simplify            Simplify the file where possible to ease readability. 
                        (default: false)
  --no-debug
  --debug               Add debug information to postings. (default: false)

financisto-to-ledger's People

Contributors

flaktack avatar

Watchers

 avatar

Forkers

efr2et

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.