pkg.soopen package index

brew / rank 6837

Install beanquery with Homebrew, Nix, apt

Customizable lightweight SQL query tool. Version 0.2.0 via Homebrew; verified 2026-07-13. Also installable with debian: sudo apt install python3-beanquery.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install beanquery

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#beanquery

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

Debian aptverified · 92%
sudo apt install python3-beanquery

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

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 bottle metadata was recorded.

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-queryexecutableindexed executableDiscovered from the local executable index.

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-08-03
manager version0.2.0
manager updated2026-07-13
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:beanquery
Version0.2.0
Package managerHomebrew
Homepagehttps://github.com/beancount/beanquery
Last updated2026-07-13T12:20:50Z
Pulseupdated
Bottlenot recorded
Servicenone declared

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
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation