Skip to main content

Convert financial transactions in CSV format to QIF files.

Project description

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

Release process

  1. Commit/push all final code.
  2. Increment version in csv2qif/__init__.py and commit/push.
  3. Tag release in format x.y.z, using same version string as in csv2qif/__init__.py. Push tag to remote.
  4. Publish a new release version; doing so will trigger an upload to PyPI.

License

MIT

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

csv2qif-0.3.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

csv2qif-0.3.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file csv2qif-0.3.0.tar.gz.

File metadata

  • Download URL: csv2qif-0.3.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for csv2qif-0.3.0.tar.gz
Algorithm Hash digest
SHA256 615ea58417547522f12d3ecf45c6ced07ec4e4a7d2e10550af5d586f108323b5
MD5 e03f2033343cb1bf1d0444309d22bfb6
BLAKE2b-256 34992f791f78b0c2ecb18df530d1a5467e53e574c2dd53652248ae2b3a67943b

See more details on using hashes here.

File details

Details for the file csv2qif-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: csv2qif-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.2

File hashes

Hashes for csv2qif-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b03fb10c68651b64d513455c98d502d191c72c44bd4010a11cafc75893cc64ed
MD5 6cee909a15326ba76749d9affc6cc5ab
BLAKE2b-256 2f9393bf12851ebf9cd27b9e18699d22627fd3c3852865bbf5f8f149c0469d2b

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