Skip to main content

CLI tool to support data import and export from YNAB

Project description

ynabkit

PyPI Changelog Tests License

YNAB Kit is a CLI tool to support data import and export from YNAB. It provides tools to convert data from Fineco, N26, and Satispay export files to YNAB CSV format.

Installation

Install this tool using pip:

pip install ynabkit

Usage

Fineco Bank

Convert Fineco bank export files to YNAB format:

# Basic conversion
ynabkit fineco describe-transactions input.xlsx

# With payee configuration
ynabkit fineco describe-transactions input.xlsx --payees payees.yml

N26 Bank

Convert N26 bank export files to YNAB format:

# Basic conversion
ynabkit n26 describe-transactions input.csv

# With payee configuration
ynabkit n26 describe-transactions input.csv --payees payees.yml

Satispay

Convert Satispay export files to YNAB format:

# Basic conversion
ynabkit satispay describe-transactions input.csv

# Exclude specific transaction types
ynabkit satispay describe-transactions input.csv --exclude-kinds "Ricarica,Prelievo"

# With payee configuration
ynabkit satispay describe-transactions input.csv --payees payees.yml

Payee Configuration

Create a payees.yml file to map transaction descriptions to specific payees:

- name: Amazon
  patterns:
  - "AMAZON"
  - "AMAZON.*"
- name: Spotify
  patterns:
  - "SPOTIFY"
- name: Local Supermarket
  patterns:
  - ".*SUPERMARKET.*"
  - "CONAD"
  - "COOP"

For help with any command, run:

ynabkit --help

You can also use:

python -m ynabkit --help

Development

To contribute to this tool, first checkout the code. Then create a new virtual environment:

cd ynabkit
python -m venv venv
source venv/bin/activate

Now install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

pytest

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

ynabkit-0.3.1.tar.gz (14.7 kB view details)

Uploaded Source

Built Distribution

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

ynabkit-0.3.1-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file ynabkit-0.3.1.tar.gz.

File metadata

  • Download URL: ynabkit-0.3.1.tar.gz
  • Upload date:
  • Size: 14.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ynabkit-0.3.1.tar.gz
Algorithm Hash digest
SHA256 22cde246eeb2076be8c14e1f76e87d2b17015df21375035655c9f36404d7e6de
MD5 3ef69488aa8c4c5735998d4712981ab4
BLAKE2b-256 5175baac313eac9c89d55767d0cbc557de85ad6e0883fbe78517eb9ddbe5288c

See more details on using hashes here.

Provenance

The following attestation bundles were made for ynabkit-0.3.1.tar.gz:

Publisher: publish.yml on zmoog/ynabkit

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

File details

Details for the file ynabkit-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: ynabkit-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ynabkit-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 60be09abf5ba72617ff9a4f986fdc122f20b4d7b47effcd125b85b0680f1ba99
MD5 8b0ef6e3b19ae913f830aed81a377ff7
BLAKE2b-256 cc4366fe92f0146e6e0f38eb25f7c708137868291ebb12815dd705def523a8b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for ynabkit-0.3.1-py3-none-any.whl:

Publisher: publish.yml on zmoog/ynabkit

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