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.2.tar.gz
.
File metadata
- Download URL: xhb2beancount-0.1.2.tar.gz
- Upload date:
- Size: 7.5 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 | c47cbcce1549776bfedaffd57982039b963fd40d4bc30b2e59542277c344ea09 |
|
MD5 | 616a153fd454161fd3197aaaa2aadb0c |
|
BLAKE2b-256 | ceab371591125fa1dbff39e638e0675e5cec3f5d63b39979b4fc326616da9f75 |
File details
Details for the file xhb2beancount-0.1.2-py2.py3-none-any.whl
.
File metadata
- Download URL: xhb2beancount-0.1.2-py2.py3-none-any.whl
- Upload date:
- Size: 7.7 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 | 7c4ab736b894eb9b9fa27a72b7a83e7f731e5ffd8dd04bb865c5b3ae07120c21 |
|
MD5 | 779e3c1bd37a06df88c49d9e564def95 |
|
BLAKE2b-256 | eb6f549c0645324a32473281fe17473aaf8c4b1331d1016ca18fbea60ff4daf7 |