Skip to main content

beancount-india

Beancount importers for Indian financial institutions.

Installation

uv add beancount-india

HDFC Bank

Account statements

On the HDFC NetBanking Account Statement page, download the statement in Delimited format. Supported filenames have this form:

Acct_Statement_XXXXXXXX1234_01012025.txt

Transactions use their value dates. When possible, the importer derives an opening balance from the first transaction in the statement.

Credit card statements

On the HDFC Bank Get Statement page, download a past statement in CSV format. Supported filenames have this form:

Jan2025_Billedstatements_1234_06-01-25_20-46.csv

Purchases produce negative liability postings; payments and refunds produce positive postings. Nonzero reward points are included as reward_points metadata.

Configuration

Configure the importers with full account or card numbers mapped to their Beancount accounts. Numbers must be strings; filenames are matched using their final four digits.

import beangulp

from beancount_india.hdfc import HDFCAccountImporter, HDFCCardImporter

ingest = beangulp.Ingest(
    [
        HDFCAccountImporter({"12345678901234": "Assets:HDFC:Account"}),
        HDFCCardImporter({"1234567890123456": "Liabilities:HDFC:Card"}),
    ]
)

if __name__ == "__main__":
    ingest()

Metadata

Release files for beancount-india 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for beancount-india 0.1.0
File Size Uploaded Provenance Actions
beancount_india-0.1.0.tar.gz 14.1 kB With provenance Details for beancount_india-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for beancount-india 0.1.0
File Interpreter ABI Platform Actions
beancount_india-0.1.0-py3-none-any.whl Python 3 none any Details for beancount_india-0.1.0-py3-none-any.whl

Total release size: 30.7 kB

Release files / beancount_india-0.1.0.tar.gz

Download URL beancount_india-0.1.0.tar.gz
Size 14.1 kB
Tags Source
SHA-256 checksum
How to use checksums
258293bed067c41a0c10f466a2fddb9a212afdfba128397f892e0e42685d3792
BLAKE2b-256 checksum
How to use checksums
9ff772047020fc4f84373896a4cf3919e9fbc6e7ef3d36d79b9ec5dda5e6b7df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Release files / beancount_india-0.1.0-py3-none-any.whl

Download URL beancount_india-0.1.0-py3-none-any.whl
Size 16.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d5c4acef8e4ac010520dbe3bd50c387695bf77f9ac321720f64956af182d2366
BLAKE2b-256 checksum
How to use checksums
560f5c942861c455afb23ba891fb24885d4b897b2909d20ad83b9c9519d9d67e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Security for beancount-india 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for beancount_india-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page