Automic VaultAutomic Vault

brew

Install beanquery with Homebrew, apt, Nix

Customizable lightweight SQL query tool. Version 0.2.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install beanquery

local Homebrew formula metadata

Linux

Debian aptverified · 92%
sudo apt install python3-beanquery

Debian stable package indexes · python3-beanquery · source: deb.debian.org

Nixverified · 92%
nix profile install nixpkgs#beanquery

nixpkgs package indexes · beanquery · source: raw.githubusercontent.com

overview

Package summary

Customizable lightweight SQL query tool

Commands and aliases

  • bean-query

history

Project history and usage

beanquery is a lightweight SQL-like query tool for tabular data, especially Beancount ledger data.

Project history

Beancount's query-language documentation describes bean-query as a custom SQL-like client created because plain SQLite export was awkward for Beancount's inventory and lot-aware accounting model.

The current beanquery repository presents it as a standalone, customizable, extensible SQL query tool that works on tabular data including Beancount ledgers.

Adoption history

beanquery is mainly adopted as part of the Beancount ecosystem. The supplied package metadata shows it packaged for Homebrew, Debian as python3-beanquery, and Nix.

How it is used

The Beancount docs show bean-query running interactively on a ledger file or receiving a query directly on the command line, for example to produce balances, journals, and custom accounting reports.

Why package nerds care

beanquery is the small-tool companion to Beancount: it turns ledger data into queryable tabular output without requiring users to flatten accounting inventories into a general SQL database first.

Timeline

  • 2014: Beancount documentation says about 70 percent of the planned query-language features were implemented and the first iteration was merged.
  • 2021: The official GitHub repository for beanquery was created as a separate project.
  • 2024: Beancount v3's README describes former v2 tools moving into independent GitHub projects, matching beanquery's standalone packaging role.

Related projects

  • Beancount is the primary related project. The tool also overlaps conceptually with SQL shells and Beancount's older SQLite-export experiments.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:sql

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 1 runtime dependencies.
  • Build metadata lists 3 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
bean-querycliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.2.0
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/beancount/beanquery

install metadata

Package metadata

Package keybrew:beanquery
Version0.2.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/beanquery
Homepagehttps://github.com/beancount/beanquery
Repositoryhttps://github.com/beancount/beanquery
Upstream docshttps://github.com/beancount/beanquery#readme
LicenseGPL-2.0-only
Source archivehttps://files.pythonhosted.org/packages/7c/90/801eec23a07072dcf8df061cb6f27be6045e08c12a90b287e872ce0a12d3/beanquery-0.2.0.tar.gz
Dependenciespython@3.14
Build dependenciesbison, meson, ninja
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namebeanquery
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

python3-beanquery 0.2.0-1

Customizable lightweight SQL query tool (Python 3)

https://github.com/beancount/beanquery

sudo apt install python3-beanquery
  • Section: python
  • Architecture: amd64
  • Source Package: beanquery
  • 5 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Beanquery
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-beanquery from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

beanquery

nix profile install nixpkgs#beanquery
  • normalized package name match
  • Matched by: Beanquery
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: beanquery from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment