An open API service indexing awesome lists of open source software.

https://github.com/jofas/barekeeper

The bare-metal bookkeeper for your terminal
https://github.com/jofas/barekeeper

accounting bare-metal bookkeeping cli extensible freelancer no-vendor-lock

Last synced: 3 months ago
JSON representation

The bare-metal bookkeeper for your terminal

Awesome Lists containing this project

README

          

# ![BAREKEEPER](./barekeeper.gif)

> Thus said the LORD unto Moses, thou shalt not force a software
> developer to leave their terminal.
>
> Thou shalt not use a mouse, it is of its father the devil.
>
> ~ Exodus 20:27-28

Generates invoice PDFs from structured data using a LaTeX template.
The data is provided by a `json/jsonnet` file.
Also supports the generation of business letters.

## Example

The example documents in the `examples/` dir are generated via:

```bash
sh generate_examples.sh
```

**Note:** the number in the filename of the generated PDF comes from
the `invoice_nr`/`letter_nr` provided by the `json` input.

### Time Management

#### How many work hours per month for a project X

```bash
python3 -m BAREKEEPER time \
--filter='p=="X"' \
--group_by="d.y,d.m" \
--transformer="BAREKEEPER.tf.sum_hours" \
time_sheet.json
```

## Dependencies

* `tex-live (linux/macOs)` or `MikeTeX (Windows)` with
`lualatex` installed

* `python 3`

* python deps: `jinja2`, `python-dateutil`, `lark`, `fire`

* python dev deps: `pytest`, `autopep8`