aib2ofx
...or how to grab transaction data out of AIB's online interface, and format it
into OFX file.
NOTE: This project is in maintenance mode as of October 2026. I still use it monthly, but last login sequence update (Feb 2021) made me realise how brittle this machinery here is. The code that works around Web Storage API use is ugly and likely to break. The next login update will most likely spell the end of this script.
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.
Metadata
Release files for aib2ofx 0.76.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aib2ofx-0.76.0.tar.gz | 9.8 kB | Without provenance | Details for aib2ofx-0.76.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aib2ofx-0.76.0-py3-none-any.whl | Python 3 | none | any | Details for aib2ofx-0.76.0-py3-none-any.whl |
Total release size: 21.0 kB
Release files / aib2ofx-0.76.0.tar.gz
| Download URL | aib2ofx-0.76.0.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d5412d3e4ceacd34a8b9640d93eeeade38465bf19fa90e643b3d9a987339e096
|
|
BLAKE2b-256 checksum How to use checksums |
0972f9475b413939310a3fd1ec8a411c21a888c3c751c3c13c078cb98b4b322c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / aib2ofx-0.76.0-py3-none-any.whl
| Download URL | aib2ofx-0.76.0-py3-none-any.whl |
|---|---|
| Size | 11.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b4b6ab6aaa3502444f53c9275c416dc4ea3b175997733317722a3b9b8633ca31
|
|
BLAKE2b-256 checksum How to use checksums |
040350722c6f28feb8a52f5a90fe5cebc7d0d8cf79ea7e8acc5dcfaacc2b7056
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.5 {"installer":{"name":"uv","version":"0.13.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for aib2ofx 0.76.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.