Skip to main content

QIF file editing tool

Project description

https://travis-ci.org/Kraymer/qifqif.svg?branch=master https://coveralls.io/repos/Kraymer/qifqif/badge.svg

qifqif

/kĭf kĭf/
  1. adj. inv. arabic slang (كيف) for “it’s all the same”.

  2. n. CLI tool for categorizing qif files. It can make all the difference.

Description

CLI tool to enrich your QIF files transactions with category information, hence cutting down import time from minutes to mere seconds.

docs/qifqif_demo.gif

QIF is a format widely used by personal money management software such as GnuCash to import information. Yet, the import process is particularly tedious as it require to manually pair the transactions contained in the file with categories (or “accounts” for double-entry bookkeeping systems).

qifqif augment your qif files by adding a category line for each transaction, that additional information can then be used by accounting software to perform automatic QIF imports. It picks categories by searching for predefined keywords in transactions descriptions lines and by repeating choices you previously made regarding similar transactions.

Features

  • Blazing fast edits: thanks to well-thought-out defaults and <TAB> completion

  • Auditing mode: review your transactions one by one

  • Quiet mode (no interactive): for easy integration with scripts

  • Easy-going workflow: dreading the behemoth task of importing years of accounting from a single file? Don’t be. Go at your own pace and press <Ctrl+C> to exit anytime. On next run, editing will resume right where you left it.

Usage

usage: qifqif.py [-h] [-a] [-c CONFIG] [-o DEST] [-b] QIF_FILE

optional arguments:

-a, --audit-mode            pause after each transaction
-b, --batch-mode            skip transactions that require user input
-c CONFIG, --config CONFIG  configuration filename in json format. DEFAULT: ~/.qifqif.json
-d, --dry-run               dry-run mode: just print instead of write file
-o DEST, --output DEST      output filename. DEFAULT: edit input file in-place

More infos on the wiki page

Installation

pip install qifqif

Feedbacks

Please submit bugs and features requests on the Issue tracker.

Changelog

v.0.3.1

  • fix regression: query match when entering a new category

v.0.3.0

  • fix stdout in bash mode: only new qif content is printed

  • improve qif files parsing by skipping useless lines

  • add exit keyboard shortcuts : Ctrl + C to save changes and exit, Ctrl + D to discard changes and exit

  • set No as default choice to Remove existing tag prompt

  • add option dry-run to visualize changes before applying them

  • ignore transactions with no payee line

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

qifqif-0.3.1.tar.gz (9.4 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: qifqif-0.3.1.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for qifqif-0.3.1.tar.gz
Algorithm Hash digest
SHA256 ea7964aac29894109aa2f2b5a190dd591ffd95d8872d4f95b7d3c064f00e0440
MD5 c52e39a7c987a316d73b1f84a0cc576d
BLAKE2b-256 bbd23c5b48cff54f5a54a2d94f651d607eec0f4c5bbe390e249472581c216ab2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page