public
Description: A double-entry accounting system with a command-line reporting interface
Homepage: http://www.newartisans.com/software/ledger.html
Clone URL: git://github.com/jwiegley/ledger.git
ledger /
name age message
file LICENSE Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file Makefile.am Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file Makefile.lt Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file NEWS Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file README Loading commit data...
file acprep
file acprep.lt Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file amount.cc
file amount.h Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file balance.cc Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file balance.h Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file binary.cc
file binary.h Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file config.cc
file config.h Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file configure.in
file configure.lt
file datetime.cc Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file datetime.h Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file debug.cc Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file debug.h Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file derive.cc Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file derive.h Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file emacs.py Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file error.h Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file format.cc
file format.h Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file gnucash.cc Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file gnucash.h Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file journal.cc Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file journal.h Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file ledger.el
file ledger.h Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file ledger.texi Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file main.cc
file main.py Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file mask.cc
file mask.h Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file option.cc Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file option.h Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file parser.cc
file parser.h Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file py_eval.cc Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file py_eval.h Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file pyledger.cc Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file pyledger.h Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file qif.cc Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file qif.h Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file quotes.cc
file quotes.h Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file sample.dat Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
directory scripts/
file setup.py Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file textual.cc
file textual.h Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file timeclock Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file timeclock.el Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file timing.h Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file util.h Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file valexpr.cc Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file valexpr.h Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file value.cc Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file value.h Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file walk.cc
file walk.h
file xml.cc Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file xml.h Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
README
Welcome to Ledger, a command-line accounting program.

Quick start
===========

To build Ledger, you will first need these two libraries installed:

    gmp        GNU multi-precision library
    pcre       Perl regular expression library

If you wish to read Gnucash data files, you will also need two XML
libraries, which may or may not be available in a single package (it
depends on your distribution):

    xmlparse
    xmltok

Once you have determined where the headers and libraries for the above
packages are installed, run the script "configure", passing those
paths.  If you installed everything under /usr/local, you can probably
just type "./configure".  Otherwise, do this:

    ./configure CPPFLAGS=-I<INCLUDE-PATH>  LDFLAGS=-L<LIBRARY-PATH>

If you need to specify multiple include or library paths, then do
this:

    ./configure CPPFLAGS="-I<PATH1> -I<PATH2>"  LDFLAGS="-L<PATH1> -L<PATH2>"

Once configure is done running, just type:

    make install


Mailing List and IRC
====================

If you need help on how to use Ledger, or run into problems, you can
just the Ledger mailing list at the following Web address:

    https://lists.sourceforge.net/lists/listinfo/ledger-discuss

You can also find help at the #ledger channel on the IRC server
irc.freenode.net.


Building Ledger as a Python Module
==================================

If you have Python 2.2 or higher installed, and Boost.Python, then
Ledger can also be built as a Python module, if --enable-python is
passed to the configure script.  This means you can interact with your
Ledger data from Python, making it easy to write custom reports.

This feature is mostly undocumented in version 2.0, although main.py
is offered as a working example.