hledger-lib: A library providing the core functionality of hledger
This library contains hledger's core functionality. It is used by most hledger* packages so that they support the same command line options, file formats, reports, etc.
hledger is a robust, cross-platform set of tools for tracking money, time, or any other commodity, using double-entry accounting and a simple, editable file format, with command-line, terminal and web interfaces. It is a Haskell rewrite of Ledger, and one of the leading implementations of Plain Text Accounting.
See also:
https://hledger.org - hledger's home page
https://hledger.org/dev.html - starting point for hledger's developer docs
https://hackage.haskell.org/package/hledger-lib/docs/Hledger.html - starting point for hledger's haddock docs
[Skip to Readme]
Modules
[Index] [Quick Jump]
- Hledger
- Hledger.Data
- Hledger.Data.Account
- Hledger.Data.AccountName
- Hledger.Data.Amount
- Hledger.Data.Balancing
- Hledger.Data.Currency
- Hledger.Data.Dates
- Hledger.Data.Errors
- Hledger.Data.Journal
- Hledger.Data.JournalChecks
- Hledger.Data.Json
- Hledger.Data.Ledger
- Hledger.Data.Period
- Hledger.Data.PeriodicTransaction
- Hledger.Data.Posting
- Hledger.Data.RawOptions
- Hledger.Data.StringFormat
- Hledger.Data.Timeclock
- Hledger.Data.Transaction
- Hledger.Data.TransactionModifier
- Hledger.Data.Types
- Hledger.Data.Valuation
- Hledger.Query
- Hledger.Read
- Hledger.Reports
- Hledger.Utils
- Write
- Hledger.Data
- Text
Flags
Manual Flags
Name | Description | Default |
---|---|---|
debug | Build with GHC 9.10+'s stack traces enabled | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- hledger-lib-1.42.1.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.9, 0.10, 0.11, 0.11.1, 0.12, 0.12.1, 0.13, 0.14, 0.15, 0.15.2, 0.16, 0.16.1, 0.17, 0.18, 0.18.1, 0.18.2, 0.19, 0.19.1, 0.19.3, 0.20, 0.20.0.1, 0.21, 0.21.1, 0.21.2, 0.21.3, 0.22, 0.22.1, 0.22.2, 0.23, 0.23.1, 0.23.2, 0.23.3, 0.24, 0.24.1, 0.25, 0.25.1, 0.26, 0.27, 0.27.1, 1.0, 1.0.1, 1.1, 1.2, 1.3, 1.3.1, 1.3.2, 1.4, 1.5, 1.5.1, 1.9, 1.9.1, 1.10, 1.11, 1.11.1, 1.12, 1.13, 1.13.1, 1.14, 1.14.1, 1.15, 1.15.1, 1.15.2, 1.16, 1.16.1, 1.16.2, 1.17, 1.17.0.1, 1.17.1, 1.18, 1.18.1, 1.19, 1.19.1, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.21, 1.22, 1.22.1, 1.22.2, 1.23, 1.24, 1.24.1, 1.24.99, 1.25, 1.26, 1.26.1, 1.27, 1.27.1, 1.28, 1.29, 1.29.1, 1.29.2, 1.30, 1.31, 1.32, 1.32.1, 1.32.2, 1.32.3, 1.33, 1.33.1, 1.34, 1.40, 1.41, 1.42, 1.42.1 (info) |
---|---|
Change log | CHANGES.md |
Dependencies | aeson (>=1 && <2.3), aeson-pretty, ansi-terminal (>=0.9), array, base (>=4.14 && <4.22), base-compat (>=0.14.0), blaze-html, blaze-markup (>=0.5.1), bytestring, call-stack, cassava, cassava-megaparsec, cmdargs (>=0.10), colour (>=2.3.6), containers (>=0.5.9), data-default (>=0.5), Decimal (>=0.5.1), deepseq, directory (>=1.2.6.1), doclayout (>=0.3 && <0.6), encoding (>=0.10), extra (>=1.6.3), file-embed (>=0.0.10), filepath, Glob (>=0.9), hashtables (>=1.2.3.1), lucid, megaparsec (>=7.0.0 && <9.8), microlens (>=0.4), microlens-th (>=0.4), mtl (>=2.2.1), parser-combinators (>=0.4.0), pretty-simple (>4 && <5), process, regex-tdfa, safe (>=0.3.20), tabular (>=0.2), tasty (>=1.2.3), tasty-hunit (>=0.10.0.2), template-haskell, terminal-size (>=0.3.3), text (>=1.2.4.1), time (>=1.5), timeit, transformers (>=0.2), uglymemo, unordered-containers (>=0.2), utf8-string (>=0.3.5) [details] |
Tested with | ghc ==8.10.7, ghc ==9.0.2, ghc ==9.2.8, ghc ==9.4.5, ghc ==9.6.2 |
License | GPL-3.0-only |
Author | Simon Michael <simon@joyful.com> |
Maintainer | Simon Michael <simon@joyful.com> |
Revised | Revision 1 made by SimonMichael at 2025-04-09T21:03:35Z |
Category | Finance |
Home page | http://hledger.org |
Bug tracker | http://bugs.hledger.org |
Source repo | head: git clone https://github.com/simonmichael/hledger |
Uploaded | by SimonMichael at 2025-03-13T07:42:41Z |
Distributions | Arch:1.32.1, Debian:1.19.1, Fedora:1.30, LTSHaskell:1.40, NixOS:1.32.3, Stackage:1.42.1, openSUSE:1.42.1 |
Reverse Dependencies | 8 direct, 0 indirect [details] |
Downloads | 77621 total (27 in the last 30 days) |
Rating | 2.0 (votes: 1) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2025-03-13 [all 1 reports] |