Skip to main content

Imports Hang Seng Integrated Account eStatements to beancount

Project description

Beancount Importer for Hang Seng eStatements

PyPI version fury.io

Imports Hang Seng Integrated Account eStatements to beancount. CSV output can be obtained through bean-report afterwards.

Currently only Savings account is supported.

Installation

  1. Install dependencies pdftotext. This is normally packaged under poppler for most Linux distros. Windows user may try with this.

  2. Install this package via pip:

     pip install beancount-hangseng
    

Beancount

  1. Import HangSengSavingsImporter to your import config (See config.py for example)
  2. Run bean-extract config.py /path/to/eStatement.pdf > output.beancount

CSV

CSV output relies on bean-report tool provided by beancount. Follow above steps to generate output.beancount, then convert with:

bean-report -f csv -o /path/to/output.csv /path/to/output.beancount journal

Note: In Unix system, output csv may have ^M control character and/or empty lines. Use dos2unix or sed to remove them.

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

beancount-hangseng-0.0.6.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

beancount_hangseng-0.0.6-py3-none-any.whl (20.1 kB view details)

Uploaded Python 3

File details

Details for the file beancount-hangseng-0.0.6.tar.gz.

File metadata

  • Download URL: beancount-hangseng-0.0.6.tar.gz
  • Upload date:
  • Size: 4.0 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.7.3

File hashes

Hashes for beancount-hangseng-0.0.6.tar.gz
Algorithm Hash digest
SHA256 024d0fd920435b6f771ce100b527d44eb6fc5906229b491288030aa1b7db7932
MD5 772dbab5408e91aec026ea91c5082735
BLAKE2b-256 5c075dba57b98dedf291dd4caf533a94b78fa7e79c1564f91d76b585898d044c

See more details on using hashes here.

File details

Details for the file beancount_hangseng-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: beancount_hangseng-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 20.1 kB
  • Tags: 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.7.3

File hashes

Hashes for beancount_hangseng-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 a06b4133bc722e1f2c8558882e9341b35089b8f8cc003fed79e6fe71fdc9a1cd
MD5 f6c98f1302a080842e91efc08df799b8
BLAKE2b-256 57171d170dca41fbb3adcaec5bdb5e54dcfc3d732e3c6e9362a4a20128ad5bcc

See more details on using hashes here.

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