Skip to content
/ gnucash Public

Import / Export library for Gnucash data format v2

License

Notifications You must be signed in to change notification settings

dadinn/gnucash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

172 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Parser for Gnucash data format

This library is to help with parsing and emitting XML documents of the Gnucash XML format

Usage

Add to your leiningen or Boot dependencies:

[com.besenczy/gnucash "0.2.1"]

Importing and exporting documents can be done the following way:

(require '[com.besenczy.gnucash.core :as gnucash])

(def document-str (slurp "Accounting.gnucash"))
(def imported (gnucash/parse-str document-str))
(def exported (gnucash/emit-str imported))

The imported document is conformed according to the spec ::com.besenczy.gnucash.specs/document

About

Import / Export library for Gnucash data format v2

Resources

License

Stars

Watchers

Forks

Packages

No packages published