CLI tool to support data import and export from YNAB
Project description
ynabkit
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
Built Distribution
File details
Details for the file ynabkit-0.3.0.tar.gz
.
File metadata
- Download URL: ynabkit-0.3.0.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
3649f16439fd926e2a20f463ce746a61c40a474676cefd13f52d5fe5372eec66
|
|
MD5 |
3126d9230620a5893d488eef995e0e76
|
|
BLAKE2b-256 |
0cb8aebba3acab5ee705488bd74153d8c3c373e40e2b199b467e964470756aee
|
Provenance
The following attestation bundles were made for ynabkit-0.3.0.tar.gz
:
Publisher:
publish.yml
on zmoog/ynabkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
ynabkit-0.3.0.tar.gz
-
Subject digest:
3649f16439fd926e2a20f463ce746a61c40a474676cefd13f52d5fe5372eec66
- Sigstore transparency entry: 257328286
- Sigstore integration time:
-
Permalink:
zmoog/ynabkit@7ab22e5ca02b966c3cc018b5ef51ef0cbbae590e
-
Branch / Tag:
refs/tags/v0.3.0
- Owner: https://github.com/zmoog
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
publish.yml@7ab22e5ca02b966c3cc018b5ef51ef0cbbae590e
-
Trigger Event:
release
-
Statement type:
File details
Details for the file ynabkit-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: ynabkit-0.3.0-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
b0576c4697b4183a7a394af6ab421e1bfa7c9e45de39a252c28edbffedcfb2e0
|
|
MD5 |
3089bfe58e9f66f2dfae0a9763a7a9aa
|
|
BLAKE2b-256 |
b743f26d7e6033ced1c33f38aa41a37b96425825d097cea35004217ce4ee3ce3
|
Provenance
The following attestation bundles were made for ynabkit-0.3.0-py3-none-any.whl
:
Publisher:
publish.yml
on zmoog/ynabkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1
-
Predicate type:
https://docs.pypi.org/attestations/publish/v1
-
Subject name:
ynabkit-0.3.0-py3-none-any.whl
-
Subject digest:
b0576c4697b4183a7a394af6ab421e1bfa7c9e45de39a252c28edbffedcfb2e0
- Sigstore transparency entry: 257328290
- Sigstore integration time:
-
Permalink:
zmoog/ynabkit@7ab22e5ca02b966c3cc018b5ef51ef0cbbae590e
-
Branch / Tag:
refs/tags/v0.3.0
- Owner: https://github.com/zmoog
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com
-
Runner Environment:
github-hosted
-
Publication workflow:
publish.yml@7ab22e5ca02b966c3cc018b5ef51ef0cbbae590e
-
Trigger Event:
release
-
Statement type: