Convert Homebank files to Beancount format.
Project description
xhb2beancount
Homebank to Beancount converter.
Install
I recommend using pipx.
pipx install xhb2beancount
Or just create a virtualenv and run pip install xhb2beancount
.
Usage
xhb2beancount file.xhb > file.beancount
If you have beancount installed you can format it with bean-format.
xhb2beancount file.xhb | bean-format -c 78 > file.beancount
You can customize the conversion passing a config file as an argument.
xhb2beancount --config config.py file.xhb
Copy the default config file and edit it to suit your needs.
You can also use the option --print-config-dicts
to print the categories, accounts, payees and tags
from your Homebank file as dictionares and copy them to your config file.
xhb2beancount file.xhb --print-config-dicts
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
Built Distribution
File details
Details for the file xhb2beancount-0.1.3.tar.gz
.
File metadata
- Download URL: xhb2beancount-0.1.3.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2dae269c7eb37cb0bc552a9e7bc5fbac59c3be2ab5e4c2938402487104f4592f |
|
MD5 | 866090b9fc44a88df04f122fd88ba22a |
|
BLAKE2b-256 | b0c7cdc426fc97f34d56f3decbd9399a5ddc15604831e45414a66cab849d2497 |
File details
Details for the file xhb2beancount-0.1.3-py2.py3-none-any.whl
.
File metadata
- Download URL: xhb2beancount-0.1.3-py2.py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30000b6179dcce63e99b0c848d983260f45465e0183d26101ce7cb2a6a737765 |
|
MD5 | f314e3d1773930bc6b71841a99a3e8e3 |
|
BLAKE2b-256 | dff7bda7bdff207edeb75ea55cb8b975b158655214fd4905ea90b428b5351a06 |