<commit_before>## ledger-pivot

View [ledger] transactions in a [pivot-table] in a web browser:

- define multiple reports
- pivot table layouts are automatically persisted to disk

## install and run

With [node.js] installed:

    $ npm install -g ledger-pivot  # might need to prefix with sudo
    $ ledger-pivot

then navigate your web-browser to `http://your-server:7070` to analyse
the [examples].

## configure

Configuration files live in directory `~/.config/ledger-pivot` unless
you've changed your [$XDG_CONFIG_HOME] variable.
This location can be overridden with the `-c` flag on the command line.

The [settings.yaml] should be edited as required, specifying the source
of transaction csv data and (optionally) the pivot table initial configuration.

## options

    $ ledger-pivot --help
    Usage: ledger-pivot [options]

    Options:

      -h, --help                output usage information
      -V, --version             output the version number
      -c, --config-path [path]  path to configuration files
      -p, --port [port]         listening port (default:7070)

## developer build and run

    $ npm install -g livescript   # ensure livescript is installed globally
    $ git clone <EMAIL>@github.com:dizzib/ledger-pivot.git
    $ cd ledger-pivot
    $ ./task/bootstrap            # compile the task runner and install dependencies
    $ node _build/task/repl       # launch the task runner
    ledger-pivot > b.a            # build all and run

## license

MIT<commit_msg>amend words<commit_after>## ledger-pivot

View [ledger] transactions in a [pivot-table] in a web browser:

- define multiple reports
- pivot table layouts are automatically persisted to disk

## install and run

With [node.js] installed:

    $ npm install -g ledger-pivot  # might need to prefix with sudo
    $ ledger-pivot

then navigate your web-browser to `http://your-server:7070` to view the [examples].

## configure

Configuration files live in directory `~/.config/ledger-pivot` unless
you've changed your [$XDG_CONFIG_HOME] variable.
This location can be overridden with the `-c` flag on the command line.

The [settings.yaml] should be edited as required, specifying the source
of transaction csv data and (optionally) the pivot table's initial configuration.

## options

    $ ledger-pivot --help
    Usage: ledger-pivot [options]

    Options:

      -h, --help                output usage information
      -V, --version             output the version number
      -c, --config-path [path]  path to configuration files
      -p, --port [port]         listening port (default:7070)

## developer build and run

    $ npm install -g livescript   # ensure livescript is installed globally
    $ git clone <EMAIL>:dizzib/ledger-pivot.git
    $ cd ledger-pivot
    $ ./task/bootstrap            # compile the task runner and install dependencies
    $ node _build/task/repl       # launch the task runner
    ledger-pivot > b.a            # build all and run

## license

MIT
{'fraction_non_alphanumeric': 0.0853985264567984, 'fraction_numerical': 0.0053583389149363695, 'mean_word_length': 2.8050955414012737, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4167172', 'n_tokens_mistral': 881, 'n_tokens_neox': 829, 'n_words': 336}