Catalog PyPI
PACKAGE EXPLORERView in registry

aib2ofx

PyPI

Download data from aib.ie in OFX format

Versions collected1
Direct dependencies2From release 0.75.0
Last observed21 Oct, 09:58 UTC

README

Version 0.75.0 documentation

aib2ofx

...or how to grab transaction data out of AIB's online interface, and format it into OFX file.

NOTE: Last AIB login update (Feb' 2021) made me realise how brittle the overall machinery here is. The code that works around Web Storage API use is ugly and likely to break. The most likely road forward for this project is to decouple it into ofxstatement plugin and (maybe) Selenium-powered CSV acquisition script. The former will be easy, the latter will most likely be a nightmare to maintain and install, unless you enjoy having your banking details pipe through an arbitrary docker image.

Time will tell.

Usage

Create a ~/.aib2ofx.json file, with AIB login details. Set the permission bits to 0600 to prevent other system users from reading it.

touch ~/.aib2ofx.json
chmod 0600 ~/.aib2ofx.json

It has a JSON format, single object with one key per AIB login you want to use.

{
    "bradmajors": {
        "regNumber": "12345678",
        "pin": "12345"
    }
}

The fields are as follows:

  • regNumber

    Your AIB registered number.

  • pin

    Your five digit PIN.

You can put more than one set of credentials in the file; the script will download data for all accounts for all logins.

{
    "bradmajors": {
        "regNumber": "12345678",
        "pin": "12345"
    },
    "janetweiss": {
        "regNumber": "87654321",
        "pin": "54321"
    }
}

Note that there's no comma after the last account details.

Once you've prepared that config file, run:

aib2ofx -d /output/directory

The script should connect to AIB, log in using provided credentials, iterate through all accounts, and save each of those to a separate file located in /output/directory.

Guarantee

There is none.

I've written that script with my best intentions, it's not malicious, it's not sending the data anywhere, it's not doing anything nasty. I'm using it day to day to get data about my AIB accounts into a financial program that I use. It should work for you as good as it works for me. See the LICENSE file for more details.

Downloads & popularity

1downloads
1-day window · source-reported counts20 Oct 2026
134670
2026-07-23: 3 · observed 2026-10-21T11:58:19.1219934Z · period 2026-07-23–2026-07-232026-07-24: 1 · observed 2026-10-21T11:58:19.1219934Z · period 2026-07-24–2026-07-242026-07-27: 1 · observed 2026-10-21T11:58:19.1219934Z · period 2026-07-27–2026-07-272026-07-28: 1 · observed 2026-10-21T11:58:19.1219934Z · period 2026-07-28–2026-07-282026-07-29: 1 · observed 2026-10-21T11:58:19.1219934Z · period 2026-07-29–2026-07-292026-07-30: 1 · observed 2026-10-21T11:58:19.1219934Z · period 2026-07-30–2026-07-302026-08-01: 1 · observed 2026-10-21T11:58:19.1219934Z · period 2026-08-01–2026-08-012026-08-02: 1 · observed 2026-10-21T11:58:19.1219934Z · period 2026-08-02–2026-08-022026-08-05: 3 · observed 2026-10-21T11:58:19.1219934Z · period 2026-08-05–2026-08-052026-08-06: 1 · observed 2026-10-21T11:58:19.1219934Z · period 2026-08-06–2026-08-062026-08-07: 1 · observed 2026-10-21T11:58:19.1219934Z · period 2026-08-07–2026-08-072026-08-08: 2 · observed 2026-10-21T11:58:19.1219934Z · period 2026-08-08–2026-08-082026-08-09: 9 · observed 2026-10-21T11:58:19.1219934Z · period 2026-08-09–2026-08-092026-08-10: 1 · observed 2026-10-21T11:58:19.1219934Z · period 2026-08-10–2026-08-102026-08-13: 1 · observed 2026-10-21T11:58:19.1219934Z · period 2026-08-13–2026-08-132026-08-14: 4 · observed 2026-10-21T11:58:19.1219934Z · period 2026-08-14–2026-08-142026-08-15: 2 · observed 2026-10-21T11:58:19.1219934Z · period 2026-08-15–2026-08-152026-08-16: 3 · observed 2026-10-21T11:58:19.1219934Z · period 2026-08-16–2026-08-162026-08-17: 2 · observed 2026-10-21T11:58:19.1219934Z · period 2026-08-17–2026-08-172026-08-20: 1 · observed 2026-10-21T11:58:19.1219934Z · period 2026-08-20–2026-08-202026-08-21: 25 · observed 2026-10-21T11:58:19.1219934Z · period 2026-08-21–2026-08-212026-08-23: 3 · observed 2026-10-21T11:58:19.1219934Z · period 2026-08-23–2026-08-232026-08-24: 5 · observed 2026-10-21T11:58:19.1219934Z · period 2026-08-24–2026-08-242026-08-25: 2 · observed 2026-10-21T11:58:19.1219934Z · period 2026-08-25–2026-08-252026-08-27: 1 · observed 2026-10-21T11:58:19.1219934Z · period 2026-08-27–2026-08-272026-08-28: 1 · observed 2026-10-21T11:58:19.1219934Z · period 2026-08-28–2026-08-282026-08-31: 1 · observed 2026-10-21T11:58:19.1219934Z · period 2026-08-31–2026-08-312026-09-04: 134 · observed 2026-10-21T11:58:19.1219934Z · period 2026-09-04–2026-09-042026-09-05: 18 · observed 2026-10-21T11:58:19.1219934Z · period 2026-09-05–2026-09-052026-09-06: 15 · observed 2026-10-21T11:58:19.1219934Z · period 2026-09-06–2026-09-062026-09-07: 7 · observed 2026-10-21T11:58:19.1219934Z · period 2026-09-07–2026-09-072026-09-08: 16 · observed 2026-10-21T11:58:19.1219934Z · period 2026-09-08–2026-09-082026-09-09: 2 · observed 2026-10-21T11:58:19.1219934Z · period 2026-09-09–2026-09-092026-09-10: 2 · observed 2026-10-21T11:58:19.1219934Z · period 2026-09-10–2026-09-102026-09-11: 4 · observed 2026-10-21T11:58:19.1219934Z · period 2026-09-11–2026-09-112026-09-12: 2 · observed 2026-10-21T11:58:19.1219934Z · period 2026-09-12–2026-09-122026-09-13: 2 · observed 2026-10-21T11:58:19.1219934Z · period 2026-09-13–2026-09-132026-09-16: 3 · observed 2026-10-21T11:58:19.1219934Z · period 2026-09-16–2026-09-162026-09-17: 2 · observed 2026-10-21T11:58:19.1219934Z · period 2026-09-17–2026-09-172026-09-18: 2 · observed 2026-10-21T11:58:19.1219934Z · period 2026-09-18–2026-09-182026-09-20: 1 · observed 2026-10-21T11:58:19.1219934Z · period 2026-09-20–2026-09-202026-09-21: 8 · observed 2026-10-21T11:58:19.1219934Z · period 2026-09-21–2026-09-212026-09-22: 2 · observed 2026-10-21T11:58:19.1219934Z · period 2026-09-22–2026-09-222026-09-23: 6 · observed 2026-10-21T11:58:19.1219934Z · period 2026-09-23–2026-09-232026-09-24: 2 · observed 2026-10-21T11:58:19.1219934Z · period 2026-09-24–2026-09-242026-09-26: 1 · observed 2026-10-21T11:58:19.1219934Z · period 2026-09-26–2026-09-262026-09-27: 1 · observed 2026-10-21T11:58:19.1219934Z · period 2026-09-27–2026-09-272026-09-28: 3 · observed 2026-10-21T11:58:19.1219934Z · period 2026-09-28–2026-09-282026-09-29: 3 · observed 2026-10-21T11:58:19.1219934Z · period 2026-09-29–2026-09-292026-09-30: 3 · observed 2026-10-21T11:58:19.1219934Z · period 2026-09-30–2026-09-302026-10-02: 3 · observed 2026-10-21T11:58:19.1219934Z · period 2026-10-02–2026-10-022026-10-04: 1 · observed 2026-10-21T11:58:19.1219934Z · period 2026-10-04–2026-10-042026-10-05: 2 · observed 2026-10-21T11:58:19.1219934Z · period 2026-10-05–2026-10-052026-10-06: 1 · observed 2026-10-21T11:58:19.1219934Z · period 2026-10-06–2026-10-062026-10-08: 1 · observed 2026-10-21T11:58:19.1219934Z · period 2026-10-08–2026-10-082026-10-09: 1 · observed 2026-10-21T11:58:19.1219934Z · period 2026-10-09–2026-10-092026-10-10: 16 · observed 2026-10-21T11:58:19.1219934Z · period 2026-10-10–2026-10-102026-10-13: 1 · observed 2026-10-21T11:58:19.1219934Z · period 2026-10-13–2026-10-132026-10-14: 3 · observed 2026-10-21T11:58:19.1219934Z · period 2026-10-14–2026-10-142026-10-15: 2 · observed 2026-10-21T11:58:19.1219934Z · period 2026-10-15–2026-10-152026-10-16: 21 · observed 2026-10-21T11:58:19.1219934Z · period 2026-10-16–2026-10-162026-10-17: 8 · observed 2026-10-21T11:58:19.1219934Z · period 2026-10-17–2026-10-172026-10-18: 2 · observed 2026-10-21T11:58:19.1219934Z · period 2026-10-18–2026-10-182026-10-19: 2 · observed 2026-10-21T11:58:19.1219934Z · period 2026-10-19–2026-10-192026-10-20: 1 · observed 2026-10-21T11:58:19.1219934Z · period 2026-10-20–2026-10-20
23 Jul20 Oct

pypistats · 65 observations shown. Missing days are unknown. Source category: overall: without mirrors.

View observed values
Date / source periodValueObserved at
2026-10-20 – 2026-10-2012026-10-21T11:58:19.1219934Z
2026-10-19 – 2026-10-1922026-10-21T11:58:19.1219934Z
2026-10-18 – 2026-10-1822026-10-21T11:58:19.1219934Z
2026-10-17 – 2026-10-1782026-10-21T11:58:19.1219934Z
2026-10-16 – 2026-10-16212026-10-21T11:58:19.1219934Z
2026-10-15 – 2026-10-1522026-10-21T11:58:19.1219934Z
2026-10-14 – 2026-10-1432026-10-21T11:58:19.1219934Z
2026-10-13 – 2026-10-1312026-10-21T11:58:19.1219934Z
2026-10-10 – 2026-10-10162026-10-21T11:58:19.1219934Z
2026-10-09 – 2026-10-0912026-10-21T11:58:19.1219934Z
2026-10-08 – 2026-10-0812026-10-21T11:58:19.1219934Z
2026-10-06 – 2026-10-0612026-10-21T11:58:19.1219934Z
2026-10-05 – 2026-10-0522026-10-21T11:58:19.1219934Z
2026-10-04 – 2026-10-0412026-10-21T11:58:19.1219934Z
2026-10-02 – 2026-10-0232026-10-21T11:58:19.1219934Z
2026-09-30 – 2026-09-3032026-10-21T11:58:19.1219934Z
2026-09-29 – 2026-09-2932026-10-21T11:58:19.1219934Z
2026-09-28 – 2026-09-2832026-10-21T11:58:19.1219934Z
2026-09-27 – 2026-09-2712026-10-21T11:58:19.1219934Z
2026-09-26 – 2026-09-2612026-10-21T11:58:19.1219934Z
2026-09-24 – 2026-09-2422026-10-21T11:58:19.1219934Z
2026-09-23 – 2026-09-2362026-10-21T11:58:19.1219934Z
2026-09-22 – 2026-09-2222026-10-21T11:58:19.1219934Z
2026-09-21 – 2026-09-2182026-10-21T11:58:19.1219934Z
2026-09-20 – 2026-09-2012026-10-21T11:58:19.1219934Z
2026-09-18 – 2026-09-1822026-10-21T11:58:19.1219934Z
2026-09-17 – 2026-09-1722026-10-21T11:58:19.1219934Z
2026-09-16 – 2026-09-1632026-10-21T11:58:19.1219934Z
2026-09-13 – 2026-09-1322026-10-21T11:58:19.1219934Z
2026-09-12 – 2026-09-1222026-10-21T11:58:19.1219934Z
2026-09-11 – 2026-09-1142026-10-21T11:58:19.1219934Z
2026-09-10 – 2026-09-1022026-10-21T11:58:19.1219934Z
2026-09-09 – 2026-09-0922026-10-21T11:58:19.1219934Z
2026-09-08 – 2026-09-08162026-10-21T11:58:19.1219934Z
2026-09-07 – 2026-09-0772026-10-21T11:58:19.1219934Z
2026-09-06 – 2026-09-06152026-10-21T11:58:19.1219934Z
2026-09-05 – 2026-09-05182026-10-21T11:58:19.1219934Z
2026-09-04 – 2026-09-041342026-10-21T11:58:19.1219934Z
2026-08-31 – 2026-08-3112026-10-21T11:58:19.1219934Z
2026-08-28 – 2026-08-2812026-10-21T11:58:19.1219934Z
2026-08-27 – 2026-08-2712026-10-21T11:58:19.1219934Z
2026-08-25 – 2026-08-2522026-10-21T11:58:19.1219934Z
2026-08-24 – 2026-08-2452026-10-21T11:58:19.1219934Z
2026-08-23 – 2026-08-2332026-10-21T11:58:19.1219934Z
2026-08-21 – 2026-08-21252026-10-21T11:58:19.1219934Z
2026-08-20 – 2026-08-2012026-10-21T11:58:19.1219934Z
2026-08-17 – 2026-08-1722026-10-21T11:58:19.1219934Z
2026-08-16 – 2026-08-1632026-10-21T11:58:19.1219934Z
2026-08-15 – 2026-08-1522026-10-21T11:58:19.1219934Z
2026-08-14 – 2026-08-1442026-10-21T11:58:19.1219934Z
2026-08-13 – 2026-08-1312026-10-21T11:58:19.1219934Z
2026-08-10 – 2026-08-1012026-10-21T11:58:19.1219934Z
2026-08-09 – 2026-08-0992026-10-21T11:58:19.1219934Z
2026-08-08 – 2026-08-0822026-10-21T11:58:19.1219934Z
2026-08-07 – 2026-08-0712026-10-21T11:58:19.1219934Z
2026-08-06 – 2026-08-0612026-10-21T11:58:19.1219934Z
2026-08-05 – 2026-08-0532026-10-21T11:58:19.1219934Z
2026-08-02 – 2026-08-0212026-10-21T11:58:19.1219934Z
2026-08-01 – 2026-08-0112026-10-21T11:58:19.1219934Z
2026-07-30 – 2026-07-3012026-10-21T11:58:19.1219934Z
2026-07-29 – 2026-07-2912026-10-21T11:58:19.1219934Z
2026-07-28 – 2026-07-2812026-10-21T11:58:19.1219934Z
2026-07-27 – 2026-07-2712026-10-21T11:58:19.1219934Z
2026-07-24 – 2026-07-2412026-10-21T11:58:19.1219934Z
2026-07-23 – 2026-07-2332026-10-21T11:58:19.1219934Z

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.75.04 Sept 20262

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
yacoob/aib2ofx

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 09:58 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:2911e54ae49ab1ef5f7525633901278eb515be886e9e11759c71e6ae2d4af943