hledger-interest-1.5.1-lp150.1.18.x86_64.rpm


Advertisement

Description

hledger-interest - Computes interest for a given account

Property Value
Distribution openSUSE Leap 15.0
Repository openSUSE Oss all
Package name hledger-interest
Package version 1.5.1
Package release lp150.1.18
Package architecture x86_64
Package type rpm
Installed size 21.26 MB
Download size 2.71 MB
Official Mirror widehat.opensuse.org
Hledger-interest is a small command-line utility based on Simon Michael's
hleder library. Its purpose is to compute interest for a given ledger account.
Using command line flags, the program can be configured to use various schemes
for day-counting, such as act/act, 30/360, 30E/360, and 30/360isda.
Furthermore, it supports a (small) number of interest schemes, i.e.
annual interest with a fixed rate and the scheme mandated by the German BGB288
(Basiszins fuer Verbrauchergeschaefte). Extending support for other schemes is
fairly easy, but currently requires changes to the source code.
As an example, consider the following loan, stored in a file called
'test.ledger':
> 2008/09/26 Loan > Assets:Bank EUR 10000.00 > Liabilities:Bank > > 2008/11/27
Payment > Assets:Bank EUR -3771.12 > Liabilities:Bank > > 2009/05/03 Payment >
Assets:Bank EUR -1200.00 > Liabilities:Bank > > 2010/12/10 Payment >
Assets:Bank EUR -3700.00 > Liabilities:Bank
Suppose that loan earns 5% interest per year, and payments amortize interest
before amortizing the principal claim, then the resulting ledger would look
like this:
> $ hledger-interest --file=test.ledger --source=Expenses:Interest
--target=Liabilities:Bank --30-360 --annual=0.05 Liabilities:Bank > 2008/09/26
Loan > Assets:Bank EUR 10000.00 > Liabilities:Bank > > 2008/11/27 Payment >
Assets:Bank EUR -3771.12 > Liabilities:Bank > > 2008/11/27 5.00% interest for
EUR -10000.00 over 61 days > Liabilities:Bank EUR -84.72 > Expenses:Interest >
> 2008/12/31 5.00% interest for EUR -6313.60 over 34 days > Liabilities:Bank
EUR -29.81 > Expenses:Interest > > 2009/05/03 Payment > Assets:Bank EUR
-1200.00 > Liabilities:Bank > > 2009/05/03 5.00% interest for EUR -6343.42 over
123 days > Liabilities:Bank EUR -108.37 > Expenses:Interest > > 2009/12/31
5.00% interest for EUR -5251.78 over 238 days > Liabilities:Bank EUR -173.60 >
Expenses:Interest > > 2010/12/10 Payment > Assets:Bank EUR -3700.00 >
Liabilities:Bank > > 2010/12/10 5.00% interest for EUR -5425.38 over 340 days >
Liabilities:Bank EUR -256.20 > Expenses:Interest > > 2010/12/31 5.00% interest
for EUR -1981.58 over 21 days > Liabilities:Bank EUR -5.78 > Expenses:Interest
Running the utility with '--help' gives a brief overview over the available
options:
> Usage: hledger-interest [OPTION...] ACCOUNT > -h --help print this message
and exit > -V --version show version number and exit > -v --verbose echo input
ledger to stdout (default) > -q --quiet don't echo input ledger to stdout >
--today update account until today > -f FILE --file=FILE input ledger file > -s
ACCOUNT --source=ACCOUNT interest source account > -t ACCOUNT --target=ACCOUNT
interest target account > --act use 'act' day counting convention > --30-360
use '30/360' day counting convention > --30E-360 use '30E/360' day counting
convention > --30E-360isda use '30E/360isda' day counting convention >
--constant=RATE constant interest rate > --annual=RATE annual interest rate >
--bgb288 compute interest according to German BGB288.

Alternatives

Package Version Architecture Repository
hledger-interest - - -

Requires

Name Value
libc.so.6(GLIBC_2.14)(64bit) -
libdl.so.2()(64bit) -
libdl.so.2(GLIBC_2.2.5)(64bit) -
libffi.so.7()(64bit) -
libffi.so.7(LIBFFI_BASE_7.0)(64bit) -
libffi.so.7(LIBFFI_CLOSURE_7.0)(64bit) -
libgmp.so.10()(64bit) -
libm.so.6()(64bit) -
libm.so.6(GLIBC_2.2.5)(64bit) -
libpthread.so.0()(64bit) -
libpthread.so.0(GLIBC_2.2.5)(64bit) -
librt.so.1()(64bit) -
librt.so.1(GLIBC_2.2.5)(64bit) -
librt.so.1(GLIBC_2.3.3)(64bit) -
libutil.so.1()(64bit) -

Provides

Name Value
hledger-interest = 1.5.1-lp150.1.18
hledger-interest(x86-64) = 1.5.1-lp150.1.18

Download

Type URL
Binary Package hledger-interest-1.5.1-lp150.1.18.x86_64.rpm
Source Package hledger-interest-1.5.1-lp150.1.18.src.rpm

Install Howto

Install hledger-interest rpm package:

# zypper install hledger-interest

Files

Path
/usr/bin/hledger-interest
/usr/share/doc/packages/hledger-interest/LICENSE
/usr/share/hledger-interest-1.5.1/README.md

Changelog

2017-08-03 - psimons@suse.com
- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
2016-11-22 - psimons@suse.com
- Update to version 1.5.1 with cabal2obs.
2016-10-31 - psimons@suse.com
- Update to version 1.5 with cabal2obs.
2016-07-10 - psimons@suse.com
- Update to version 1.4.4 revision 0 with cabal2obs.

See Also

Package Description
hledger-ui-1.2-lp150.1.16.x86_64.rpm Curses-style user interface for the hledger accounting tool
hledger-web-1.2-lp150.1.17.x86_64.rpm Web interface for the hledger accounting tool
hlint-2.0.9-lp150.1.24.x86_64.rpm Source code suggestions
hmaccalc-0.9.14-lp150.1.39.x86_64.rpm Tools for computing and checking HMAC values for files
hmcfgusb-0.103-lp150.1.1.x86_64.rpm Hmland and utilities to use the HM-CFG-USB(2)
hmconv-1.0pl5-lp150.1.3.x86_64.rpm HangulCode Conversion Program
hollywood-1.12-lp150.1.3.noarch.rpm Fill your console with Hollywood melodrama technobabble
hollywood-data-1.12-lp150.1.3.noarch.rpm Data files for hollywood
holodev-0.9-lp150.1.3.noarch.rpm Tool for creating Debian Linux containers
holy-project-0.2.0.1-lp150.1.18.x86_64.rpm Start your Haskell project with cabal, git and tests
homebank-5.1.8-lp150.1.2.x86_64.rpm Application to manage personal accounts
homebank-lang-5.1.8-lp150.1.2.noarch.rpm Translations for package homebank
homeshick-1.0.0-lp150.1.3.noarch.rpm Dotfile synchronizer based on Git and Bash
honggfuzz-1.5-lp150.2.1.x86_64.rpm Security-oriented fuzzer with various analysis options
hoogle-5.0.12-lp150.1.17.x86_64.rpm Haskell API Search
Advertisement
Advertisement