Metadata-Version: 2.1
Name: csv2qif
Version: 0.2.1
Summary: Convert financial transactions in CSV format to QIF files.
Author-email: Edward Bridges <github@eqbridges.com>
Project-URL: Homepage, https://github.com/ebridges/csv2qif
Project-URL: Bug Tracker, https://github.com/ebridges/csv2qif/issues
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: End Users/Desktop
Classifier: Intended Audience :: Financial and Insurance Industry
Classifier: Topic :: Home Automation
Classifier: Topic :: Office/Business :: Financial
Classifier: Topic :: Office/Business :: Financial :: Accounting
Classifier: Topic :: Utilities
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: build
Requires-Dist: build ; extra == 'build'
Provides-Extra: dev
Requires-Dist: black ; extra == 'dev'

# csv2qif

## Usage

```
CSV to QIF

usage: csv2qif [-h] [--verbose] [-v] -a ACCOUNT -t ACCOUNT_TYPE -i INPUT_FILE [-o OUTPUT_DIR] [-f OUTPUT_FORMAT] [-c COL_SPEC]

Convert financial transactions in CSV format to QIF files.

options:
  -h, --help            show this help message and exit
  --verbose
  -v, --version         show program's version number and exit
  -a ACCOUNT, --account ACCOUNT
  -t ACCOUNT_TYPE, --account-type ACCOUNT_TYPE
  -i INPUT_FILE, --input-file INPUT_FILE
  -o OUTPUT_DIR, --output-dir OUTPUT_DIR
                        Location to write output file (default: .)
  -f OUTPUT_FORMAT, --output-format OUTPUT_FORMAT
                        Format of output, either "qif" or "json" (default: qif)
  -c COL_SPEC, --col-spec COL_SPEC
                        Specify column of required fields (date, name, amount, check_number)
                        (default: {"date": 1, "name": 2, "amount": 3, "check_number": 6})
```

## Development

1. It is recommended to use `pyenv` to ensure correct python version is in use.  Cf.: `.python-version`

2. Set up virtualenv.
        $ python -m venv venv

3. Activate virtualenv.
        $ source ./venv/bin/activate

4. Update pip.
        $ pip install --upgrade pip

## License

[MIT](LICENSE)
