Add your description here
Project description
SimpleFIN Python Library
Installation
pip install simplefin
Command line interface
Setup
You will first need to get a setup token and convert it to an access URL.
- Create a new application connection in you SimpleFIN Bridge account.
- Copy the provided setup key to your clipboard.
- Run
simplefin setupand paste the setup key from above. - Securely store the provided Access URL as it is required for future calls.
See #1 for discussion on securely storing this in future releases.
Usage
Your Access URL will need to be stored in an environment variable called SIMPLEFIN_ACCESS_URL for future CLI calls.
Examples below leverage the SimpleFIN Bridge Demo Access URL of https://demo:demo@beta-bridge.simplefin.org/simplefin. Real world Account IDs will be in the format of ACT-[guid].
Get accounts
❯ simplefin accounts
SimpleFIN Accounts
┏━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓
┃ Institution ┃ Account ┃ Balance ┃ Account ID ┃
┡━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩
│ SimpleFIN Demo │ SimpleFIN Savings │ 114125.50 │ Demo Savings │
│ SimpleFIN Demo │ SimpleFIN Checking │ 24302.22 │ Demo Checking │
└────────────────┴────────────────────┴───────────┴───────────────┘
Get transactions for an account
simplefin transactions ACCOUNT_ID [--format FORMAT] [--lookback-days INTEGER]
❯ simplefin transactions "Demo Savings"
Transactions for Demo Savings
┏━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━┓
┃ Date ┃ Payee ┃ Amount ┃
┡━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━┩
│ 10 Jan 2025 │ John's Fishin Shack │ -50.00 │
│ 10 Jan 2025 │ Grocery store │ -90.00 │
│ 11 Jan 2025 │ John's Fishin Shack │ -55.50 │
│ 11 Jan 2025 │ Grocery store │ -85.50 │
└─────────────┴─────────────────────┴────────┘
JSON output
We convert the posted and transacted_at, if provided, values into ISO strings.
❯ simplefin transactions "Demo Savings" --format json
[
{
"id": "1736496000",
"posted": "2025-01-10T08:00:00+00:00",
"amount": "-50.00",
"description": "Fishing bait",
"payee": "John's Fishin Shack",
"memo": "JOHNS FISHIN SHACK BAIT"
},
{
"id": "1736524800",
"posted": "2025-01-10T16:00:00+00:00",
"amount": "-90.00",
"description": "Grocery store",
"payee": "Grocery store",
"memo": "LOCAL GROCER STORE #1133"
},
{
"id": "1736582400",
"posted": "2025-01-11T08:00:00+00:00",
"amount": "-55.50",
"description": "Fishing bait",
"payee": "John's Fishin Shack",
"memo": "JOHNS FISHIN SHACK BAIT"
},
{
"id": "1736611200",
"posted": "2025-01-11T16:00:00+00:00",
"amount": "-85.50",
"description": "Grocery store",
"payee": "Grocery store",
"memo": "LOCAL GROCER STORE #1133"
}
]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file simplefin-0.1.1.tar.gz.
File metadata
- Download URL: simplefin-0.1.1.tar.gz
- Upload date:
- Size: 12.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d21d91b2d1d692774658ebd0a379d9259b15c1996c5418a3a2157dfe093c005
|
|
| MD5 |
a660c285684d61dfedb3d050299ae00c
|
|
| BLAKE2b-256 |
a9700a2a88c9005af7f2dfe2522774c9e3577abfce26bf8d7d86902bb623b66f
|
Provenance
The following attestation bundles were made for simplefin-0.1.1.tar.gz:
Publisher:
publish.yaml on chrishas35/simplefin-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
simplefin-0.1.1.tar.gz -
Subject digest:
9d21d91b2d1d692774658ebd0a379d9259b15c1996c5418a3a2157dfe093c005 - Sigstore transparency entry: 161675114
- Sigstore integration time:
-
Permalink:
chrishas35/simplefin-python@b2edbbab5237b9a1bda7c31e7c2498b139496859 -
Branch / Tag:
refs/tags/0.1.1 - Owner: https://github.com/chrishas35
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@b2edbbab5237b9a1bda7c31e7c2498b139496859 -
Trigger Event:
push
-
Statement type:
File details
Details for the file simplefin-0.1.1-py3-none-any.whl.
File metadata
- Download URL: simplefin-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8617acf6a16381260e5f3a3dd8005da49e805a8eb831d557f111e01a92145e2
|
|
| MD5 |
3b75bc51a637d6c684fb432bb8c262bc
|
|
| BLAKE2b-256 |
392e0232e863109b6be42d5289526d636bfb2352c9acaa068de00bb6e94714d4
|
Provenance
The following attestation bundles were made for simplefin-0.1.1-py3-none-any.whl:
Publisher:
publish.yaml on chrishas35/simplefin-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
simplefin-0.1.1-py3-none-any.whl -
Subject digest:
f8617acf6a16381260e5f3a3dd8005da49e805a8eb831d557f111e01a92145e2 - Sigstore transparency entry: 161675115
- Sigstore integration time:
-
Permalink:
chrishas35/simplefin-python@b2edbbab5237b9a1bda7c31e7c2498b139496859 -
Branch / Tag:
refs/tags/0.1.1 - Owner: https://github.com/chrishas35
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@b2edbbab5237b9a1bda7c31e7c2498b139496859 -
Trigger Event:
push
-
Statement type: