Skip to main content

Core PDF bank statement parsing library

Project description

bankstatements-core

CI PyPI Python License

Core PDF bank statement parsing library — PDF extraction, services, and templates.

Used as the foundation for bankstatements-free and the premium distribution.


Installation

pip install bankstatements-core

Features

  • PDF extraction with configurable table boundaries
  • Template-based statement detection (AIB Ireland, Revolut, and more)
  • CSV, JSON, and Excel export
  • Batch processing with recursive directory scanning
  • SHA-256 duplicate detection
  • Transaction type classification (purchase, payment, refund, fee, transfer)
  • Monthly summaries and expense analysis
  • IBAN extraction and grouping
  • GDPR-compliant local processing — no data leaves your machine

Supported Banks

Bank Template
AIB Ireland aib_ireland.json
Revolut revolut.json
Generic fallback default.json

Quick Start

from bankstatements_core.services.processor import StatementProcessor

processor = StatementProcessor(input_dir="./input", output_dir="./output")
results = processor.process()

Documentation

Full documentation and source: github.com/longieirl/bankstatementprocessor

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

bankstatements_core-0.1.1.tar.gz (173.5 kB view details)

Uploaded Source

Built Distribution

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

bankstatements_core-0.1.1-py3-none-any.whl (179.2 kB view details)

Uploaded Python 3

File details

Details for the file bankstatements_core-0.1.1.tar.gz.

File metadata

  • Download URL: bankstatements_core-0.1.1.tar.gz
  • Upload date:
  • Size: 173.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for bankstatements_core-0.1.1.tar.gz
Algorithm Hash digest
SHA256 05ba4ead6b8d05da2607572a4a9f6d5599e660f72a7f22c7e9137ac3a2911fa3
MD5 3f4b5c8bd9f78ac3b86c5164f3a824ed
BLAKE2b-256 06048ee34fc91807ef44d73433a6fd7f38c211904ea04d1a7b1fd4e998ad591f

See more details on using hashes here.

Provenance

The following attestation bundles were made for bankstatements_core-0.1.1.tar.gz:

Publisher: release-core.yml on longieirl/bankstatementprocessor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file bankstatements_core-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for bankstatements_core-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5f5c716a00340bcfb402ca10131a8cc3018335f5c8e21201dd0157f96c12e937
MD5 f442963842e11d0004935cfefcc585b3
BLAKE2b-256 0687be069bb4b8dc0f48b11930ef30c764fd5a96f3fca59013cced461bdfb5f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for bankstatements_core-0.1.1-py3-none-any.whl:

Publisher: release-core.yml on longieirl/bankstatementprocessor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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