/pygnucash

Python code to read gnucash 2.6 sqlite3 files

Primary LanguagePythonBSD 2-Clause "Simplified" LicenseBSD-2-Clause

pygnucash - read gnucash files in python

  1. Introduction

This repository contains code to read sqlite3 files as produced by gnucash version 2.6 and higher. It features two proof of concepts scripts:

  • gnucash2ledger.py convert a gnucash file to a ledger-cli file
  • stockreport.py Summarizes your wins/losses with stocks/mutual funds (contrary to the gnucash builtin reports this one recognizes taxes/fees on dividend transactions)
  1. Requirements

  • python 2.7 (with sqlite3 module enabled)
  1. Author/Contact

The code was written by Matthias Braunmatze@braunis.de