Skip to main content

A terminal user interface for managing hledger journal transactions

Project description

hledger-textual

PyPI

A terminal user interface for managing hledger journal transactions. View, create, edit, and delete transactions from your terminal.

Built with Textual and Python.

hledger-textual summary

Stack

  • Python 3.12+
  • Textual - TUI framework
  • hledger - plain-text accounting (must be installed separately)
  • uv - package manager (no requirements.txt needed, dependencies are in pyproject.toml)
  • pytest - testing

Requirements

  • Python 3.12+
  • hledger installed and available in PATH

Installation

# With pipx
pipx install hledger-textual

# With uv
uv tool install hledger-textual

# With Homebrew
brew tap thesmokinator/hledger-textual && brew install hledger-textual

Usage

hledger-textual -f path/to/your.journal

The journal file is resolved in this order:

  1. -f / --file CLI argument
  2. LEDGER_FILE environment variable
  3. ~/.config/hledger-textual/config.toml (journal_file key)
  4. ~/.hledger.journal

Key Bindings

Key Action
a Add new transaction
e / Enter Edit selected transaction
d Delete (with confirmation)
/ Filter by description or account
Escape Clear filter
r Refresh from journal file
j / k Navigate up/down
q Quit

Documentation

See DOCS.md for the full documentation: feature overview, configuration, investment tracking, and per-tab reference.

Development

git clone https://github.com/thesmokinator/hledger-textual.git
cd hledger-textual
uv sync

Testing

# Run all tests
uv run pytest

# Run with verbose output
uv run pytest -v

# Run with coverage report
uv run pytest --cov=hledger_textual --cov-report=term-missing

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

hledger_textual-0.1.0.tar.gz (41.7 kB view details)

Uploaded Source

Built Distribution

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

hledger_textual-0.1.0-py3-none-any.whl (60.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hledger_textual-0.1.0.tar.gz
  • Upload date:
  • Size: 41.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for hledger_textual-0.1.0.tar.gz
Algorithm Hash digest
SHA256 39fdc710a7e25fd5f53768085beb70299e103917c34a68a012e6838060a70f42
MD5 5386984704d55f352231f9556589df42
BLAKE2b-256 7ce9193dd46ab2cd1ee176c1082e66e4a44e9c0092ee38e9302ec093405e62d8

See more details on using hashes here.

Provenance

The following attestation bundles were made for hledger_textual-0.1.0.tar.gz:

Publisher: publish.yml on thesmokinator/hledger-textual

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for hledger_textual-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a1b858dfaff79634a7c73c64c9cc96adb1389dbbc6f61fe07c959c36f3ea6b5e
MD5 cdee4e5ff592afbfd07b3cbc5bbb8b66
BLAKE2b-256 87e2792a9635fb0d0135218590adc958c4c74e40f61b6d556bdb16fb63e78535

See more details on using hashes here.

Provenance

The following attestation bundles were made for hledger_textual-0.1.0-py3-none-any.whl:

Publisher: publish.yml on thesmokinator/hledger-textual

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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