public
Description: 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 Loading commit data...
file Makefile.lt
file NEWS
file README
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
file balance.cc
file balance.h Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file binary.cc
file binary.h
file config.cc
file config.h
file configure.in
file datetime.cc
file datetime.h
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
file derive.h Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file emacs.cc
file emacs.h Sat Apr 12 23:40:56 -0700 2008 Added an Emacs formatter, accessible with the n... [jwiegley]
file error.h Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file fdstream.hpp Sat Apr 12 23:41:01 -0700 2008 Whitespace changes. [jwiegley]
file format.cc
file format.h
file gnucash.cc
file gnucash.h Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file journal.cc
file journal.h
file ledger.el
file ledger.h
file ledger.texi
file ledger.vim
file main.cc
file main.py
file mask.cc
file mask.h Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file ofx.cc
file ofx.h
file option.cc
file option.h Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file parser.cc Sat Apr 12 23:40:48 -0700 2008 updated to 2.02 [jwiegley]
file parser.h Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file py_eval.cc
file py_eval.h Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
file pyfstream.h
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
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 reconcile.cc
file reconcile.h Sat Apr 12 23:41:05 -0700 2008 Removed the --reconcilable option, since the pe... [jwiegley]
file sample.dat Sat Apr 12 23:40:47 -0700 2008 updated to version 2.0 [jwiegley]
directory scripts/ Sat Apr 12 23:40:48 -0700 2008 *** empty log message *** [jwiegley]
file setup.py
file textual.cc
file textual.h
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:59 -0700 2008 Added a fix for FreeBSD, so that Ledger can com... [jwiegley]
file valexpr.cc
file valexpr.h
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
file xml.h
README
  Welcome to Ledger, a command-line accounting program.

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

To build Ledger, you will need a fairly modern C++ compiler (gcc 2.95
will not work), and at least these two libraries installed:

    gmp        GNU multi-precision library
    pcre       Perl regular expression library

(On some GNU/Linux systems, the packages you need to install are
called "gmp-dev" and "pcre-dev").

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
join 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 a working example.