Skip to main content

Add your description here

Project description

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

uv sync

Build

uv build

Run

uv run ledger2bql

or run

l ...

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ledger2bql-0.1.0.tar.gz (18.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ledger2bql-0.1.0-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

Details for the file ledger2bql-0.1.0.tar.gz.

File metadata

  • Download URL: ledger2bql-0.1.0.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.14

File hashes

Hashes for ledger2bql-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2b69abe64c4ba7506f1495076f8b88aa245b990855c2a398174957c509ce72f6
MD5 6dfda4f0035985a418d23b1f90e29aae
BLAKE2b-256 802e0f2a93d7133e0e2fe8d3fa75b6fe4ed1d2d520ba4847a773947815578479

See more details on using hashes here.

File details

Details for the file ledger2bql-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ledger2bql-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 19.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.14

File hashes

Hashes for ledger2bql-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ed2909047b497923101fa91a327da138452afa6f844ed8390d0355423694de0e
MD5 dee8b4f3b9c11541761f94bc55f2b810
BLAKE2b-256 bb118784a5c2d466b886f991f58d7df398b66900b42719a1c3602314dffab11c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page