SwiftBeanCountTangerineMapper

0.0.3

Library to map downloaded data from Tangerine into Beancount format
Nef10/SwiftBeanCountTangerineMapper

What's New

0.0.3 Update Parser Utils

2023-04-30T02:05:57Z

Changes

🧰 Maintenance

  • SwiftLint: ignore Protocol Buffer files @file-sync-app (#71)
  • Update copyright year @file-sync-app (#68)
  • Release Drafter: Move dependencies to separate section @file-sync-app (#67)
  • Update SwiftLint config for 0.51.0 @file-sync-app (#64)
  • Update SwiftLint to 0.51.0 @file-sync-app (#63)
  • Migrate deprecated set-output to environment files @file-sync-app (#57)
  • Update SwiftLint config for 0.50.3 @file-sync-app (#41)
  • Pin SwiftLint version to 0.50.0 @file-sync-app (#37)
  • Update SwiftLint config for 0.49.1 @file-sync-app (#10)
  • Update SwiftLint config for 0.49.0 @file-sync-app (#9)

📦 Dependencies

  • Bump SwiftBeanCountParserUtils from 0.0.1 to 1.0.0 @swift-dependency-updater (#70)
  • Bump sticky-pull-request-comment to 2.6.2 @file-sync-app (#69)
  • Bump swift-actions/setup-swift from 1.22.0 to 1.23.0 @file-sync-app (#66)
  • Bump actions/github-script from 6.4.0 to 6.4.1 @file-sync-app (#65)
  • Bump peaceiris/actions-gh-pages from 3.9.2 to 3.9.3 @file-sync-app (#62)
  • Bump release-drafter from 5.22.0 to 5.23.0 @file-sync-app (#61)
  • Bump swift-actions/setup-swift to 1.22.0 @file-sync-app (#59)
  • Bump sticky-pull-request-comment to 2.5.0 @file-sync-app (#56)
  • Bump sticky-pull-request-comment to 2.4.0 @file-sync-app (#55)
  • Bump tibdex/github-app-token from 1.7.0 to 1.8.0 @file-sync-app (#53)
  • Bump actions/github-script from 6.3.3 to 6.4.0 @file-sync-app (#52)
  • Bump peaceiris/actions-gh-pages to 3.9.2 @file-sync-app (#49)
  • Bump peaceiris/actions-gh-pages to 3.9.1 @file-sync-app (#47)
  • Bump release-drafter to 5.22.0 @file-sync-app (#46)
  • Bump setup-swift to 1.21.0 @file-sync-app (#43)
  • Bump sticky-pull-request-comment to 2.3.1 @file-sync-app (#40)
  • Bump peaceiris/actions-gh-pages to 3.9.0 @file-sync-app (#39)
  • Bump very_good_coverage to 2.1.0 @file-sync-app (#38)
  • Bump swift-actions/setup-swift from 1.18.0 to 1.20.0 @dependabot (#36)
  • Bump sticky-pull-request-comment to 2.3.0 @file-sync-app (#32)
  • Bump release-drafter from 5.21.0 to 5.21.1 @file-sync-app (#29)
  • Bump tibdex/github-app-token from 1.6.0 to 1.7.0 @file-sync-app (#28)
  • Bump Nef10/lcov-reporter-action to 0.4.0 @file-sync-app (#25)
  • Bump actions/github-script from 6.3.1 to 6.3.3 @file-sync-app (#24)
  • Bump sticky-pull-request-comment to 2.2.1 @file-sync-app (#23)
  • Bump very_good_coverage from 1.2.1 to 2.0.0 @file-sync-app (#20)
  • Bump actions/github-script from 6.2.0 to 6.3.1 @file-sync-app (#18)
  • Bump Nef10/lcov-reporter-action to 0.3.2 @file-sync-app (#17)
  • Bump swift-actions/setup-swift to 1.18.0 @file-sync-app (#14)
  • Bump release-drafter from 5.20.1 to 5.21.0 @file-sync-app (#13)
  • Bump actions/github-script from 6.1.1 to 6.2.0 @file-sync-app (#8)

SwiftBeanCountTangerineMapper

CI Status Documentation percentage License: MIT Latest version platforms supported: linux | macOS | iOS | watchOS | tvOS SPM compatible

This project is part for SwiftBeanCount, please check out the main documentation here.

What

This is a small library to convert downloaded data from Tangerine (via TangerineDownloader) to the Beancount format (via SwiftBeanCountModel).

Beancount meta data

The library relies on meta data in your Beancount file to find your accounts. For Credit Cards, please add importer-type: "tangerine-card" and last-four: "XXXX" with the last four digits of your number to your Credit Card Liability account. For other account types (like Checking, Savings, and LOC), please add importer-type: "tangerine-account" and number: "XXXX" with the account number as meta data to the account in your Beancount file.

How

  1. Load your ledger, e.g. via SwiftBeanCountParser
  2. Create an instance of SwiftBeanCountTangerineMapper using the ledger
  3. Dowload the accounts and activities you want to convert via the TangerineDownloader
  4. Use createBalances and createTransactions on the mapper to convert the downloaded data

Please also check out the complete documentation here.

Usage

The library supports the Swift Package Manger, so simply add a dependency in your Package.swift:

.package(url: "https://github.com/Nef10/SwiftBeanCountTangerineMapper.git", .exact(from: "X.Y.Z")),

Note: as per semantic versioning all versions changes < 1.0.0 can be breaking, so please use .exact for now

Copyright

While my code is licensed under the MIT License, the source repository may include names or other trademarks of Tangerine, Scotiabank or other entities; potential usage restrictions for these elements still apply and are not touched by the software license. Same applies for the API design. I am in no way affilliated with Tangerine other than beeing customer.

Description

  • Swift Tools 5.3.0
View More Packages from this Author

Dependencies

Last updated: Mon Oct 21 2024 12:04:45 GMT-0900 (Hawaii-Aleutian Daylight Time)