Metadata-Version: 2.4
Name: ledger2bql
Version: 0.1.0
Summary: Add your description here
Project-URL: Repository, https://github.com/alensiljak/ledger2bql
Author: Alen Šiljak
License-File: LICENSE
Requires-Python: >=3.13
Requires-Dist: beanquery>=0.2.0
Requires-Dist: dotenv>=0.9.9
Requires-Dist: tabulate>=0.9.0
Description-Content-Type: text/markdown

# ledger2bql
Translate Ledger CLI query syntax into BQL

Implemented in Python.

# Introduction

BQL is quite a powerful language for slicing and dicing Beancount data. But, when all you need are simple queries, writing every field and filter seems tedios. In comparison, Ledger CLI's syntax is short and efficient. A simple `l b bank` will list all bank accounts, assuming a well-organized account tree.

The purpose of this project, a simple CLI utility, is to accept a Ledger-like syntax, generate an appropriate BQL statement, and run it for you.

# Dev Setup

```sh
uv sync
```

## Build
```sh
uv build
```

## Run
```sh
uv run ledger2bql
```
or run
```sh
l ...
```