Skip to main content

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.

  1. Create a new application connection in you SimpleFIN Bridge account.
  2. Copy the provided setup key to your clipboard.
  3. Run simplefin setup and paste the setup key from above.
  4. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simplefin-0.2.0.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

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

simplefin-0.2.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file simplefin-0.2.0.tar.gz.

File metadata

  • Download URL: simplefin-0.2.0.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for simplefin-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a2f2e7050f9a6965463844e8535d1873ad5076a0182be1c71bc8f33ceaf77b7f
MD5 d5f89199aaac1f99e9997b6429447a3f
BLAKE2b-256 80f6c32e6cfc3ac38197ef959cb438f9aa9b5eb61c0212818dcc43b611a4dcd2

See more details on using hashes here.

Provenance

The following attestation bundles were made for simplefin-0.2.0.tar.gz:

Publisher: publish.yaml on chrishas35/simplefin-python

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

File details

Details for the file simplefin-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: simplefin-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for simplefin-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b2b37860dd2ba4317950883a2786c5de854a0b0feb6ac4e2c458efb5db5b1a64
MD5 88e3508ae355745b58fb4012493688d9
BLAKE2b-256 599507a450a88e7bc4153704c9d5762e805132dd7991c384074f70c7a789e0ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for simplefin-0.2.0-py3-none-any.whl:

Publisher: publish.yaml on chrishas35/simplefin-python

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