Skip to content

Add sfin2beancount - Beancount equivalent of sfin2ledger #2

Description

@robcohen

Hi,

I've created sfin2beancount, a Beancount equivalent of sfin2ledger. It follows the same structure, style, and approach.

Repo: https://github.com/robcohen/sfin2beancount

Would SimpleFIN be interested in hosting this under the simplefin org? Happy to transfer the repo or submit however works best.

Features

  • Same file structure as sfin2ledger
  • Same test style (2 tests: test_basic, test_credit)
  • Same setup.py format (distutils)
  • Zero dependencies (stdlib only, dropped six since py2 is EOL)
  • MIT licensed

Usage

curl "${ACCESS_URL}/accounts" | sfin2beancount

Sample Output

2024-01-15 * "Gas Station"
  Assets:My-Checking  -44.37 USD
  Expenses:Uncategorized

2024-01-16 * "Direct Deposit"
  Assets:My-Checking  2500.00 USD
  Income:Uncategorized

Beancount has a large user base and there's currently no official SimpleFIN tool for it. This would fill that gap.

Let me know if you'd like any changes to the code or structure.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions