Skip to content
Gnucash to Beancount Converter.
Python Shell
Branch: master
Clone or download

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data Add a primitive test suite. Jan 2, 2017
src/gnucash_to_beancount Improve argument parser. Jan 2, 2017
.gitignore Ignore .DS_Store Jan 2, 2017
LICENSE Fix license Jan 2, 2017
MANIFEST.in Create pypi package Jan 2, 2017
README.rst Add development instructions to README Jan 2, 2017
requirements.txt Initial Import Jan 2, 2017
setup.py Create pypi package Jan 2, 2017
test.sh Add a primitive test suite. Jan 2, 2017

README.rst

Gnucash to Beancount Converter

Convert your Gnucash Sqlite3 file to a Beancount text ledger.

Requires Python 3.3+

Install

pip install gnucash-to-beancount

Usage

gnucash-to-beancount my-ledger.gnucash > my-ledger.beancount

Development

git clone https://github.com/henriquebastos/gnucash-to-beancount.git
cd gnucash-to-beancount
python -m venv -p python3.6 .venv
source .venv/bin/activate
python setup.py develop
./test.sh

The tests are still primitives using diff with golden files. If test.sh shows nothing, all is good. :)

Known Limitations

This version supports:

  • Accounts
  • Transactions and it's Splits
  • Commodities
  • Prices

Unsupported features:

  • Lots
  • Budget
  • Scheduled Transactions
  • All Business entities
  • Key Value metadata

You may help improve this project by providing a sample Gnucash Sqlite3 file that uses one or more unsupported features.

License

Copyright (C) 2017 Henrique Bastos.

This code is distributed under the terms of the "GNU GPLv2 only". See LICENSE file for details.

You can’t perform that action at this time.