Utilities enhancing hledger
Project description
🛠️ hledger
Utilities
This Python package extends hledger
the plaintextaccounting tool with some utilities.
✨ Features Added to hledger
hledger edit ...
: 📝 Editing hledger
Transactions in your $EDITOR
# Opens your EDITOR (or VISUAL) with only transactions in € that have a Berlin tag
# You can modify them as usual, if you save and quit the editor, the changes will be
# applied to the appropriate files
hledger edit cur:€ tag:location=Berlin
# Opens your EDITOR with all transactions
hledger edit
# If you don't have LEDGER_FILE set, you need to specify a journal file as usual:
hledger edit -f journal.hledger
This should work with pretty much any hledger query, just substitute hledger balance
or hledger register
etc. with 'hledger edit'. This is a neat way of quickly editing transactions you were just inspecting.
🎥 Check this screencast below to see hledger edit
in action:
📦 Installation
# Install this package from PyPI:
pip install hledger-utils
# Install the latest development version:
pip install git+https://gitlab.com/nobodyinperson/hledger-utils
# Install from the repository root
git clone https://gitlab.com/nobodyinperson/hledger-utils
cd hledger-utils
pip install .
If that fails, try
python3 -m pip install --user ...
instead of justpip install ...
This package is also available in the AUR as python-hledger-utils-git
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hledger-utils-1.1.1.tar.gz
(25.8 kB
view hashes)
Built Distribution
Close
Hashes for hledger_utils-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d5b996102f92990fbf0f6d345ad697d62a9e183eb1d4eaa870768490f0599e5 |
|
MD5 | 9bc80d5bcb31db5ab0240395a0a2a4df |
|
BLAKE2b-256 | e636ce150c5d34d1e5287123287c14f37853e396a0fe46e8c74d1abedfa30e9e |