Registry / finance / fints

fints

JSON →
library5.0.0pypypi✓ verified 34d ago

Pure-python implementation of FinTS 3.0 (formerly HBCI) for online banking in Germany. Current version 5.0.0 requires Python >=3.9. Release cadence is irregular, with major updates every few years.

finance
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

FinTSClient no longer exists; use FinTS3PinTanClient.

from fints.client import FinTS3PinTanClient

Segment is a base class; use FinTS3Segment or other specific segment types.

from fints.segments import FinTS3Segment

Initialize FinTS client and list accounts.

import os from fints.client import FinTS3PinTanClient BLZ = os.environ.get('BLZ', '12345678') USERNAME = os.environ.get('FINTS_USERNAME', 'test') PIN = os.environ.get('FINTS_PIN', '1234') ENDPOINT = os.environ.get('FINTS_ENDPOINT', 'https://banking.test/fints') client = FinTS3PinTanClient(BLZ, USERNAME, PIN, ENDPOINT) accounts = client.get_accounts() for account in accounts: print(account.iban)
Debug
Known footguns
breakingIn v4 -> v5, the package now requires Python >=3.9 and the client class was renamed from FinTSClient to FinTS3PinTanClient. Old code will break.
deprecatedThe old HBCI (non-Pin/TAN) protocol support is being phased out. FinTS3PinTanClient should be used for all new integrations.
gotchaBank endpoints often require a specific product ID (user-agent). The default may be blocked.
gotchaThe client does not automatically handle TAN challenges for some banks. You may need to implement a TAN handler.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
19 hits · last 30 days
gptbot
3
bytedance
3
Resources