Skip to main content

Django-app for managing and processing bank transaction downloads

Project description

#django-bankdownloads

  • django app to import and standardise bank transaction downloads

  • imports ofx (open financial exchange format) via the ofxparse library

  • imports csv using regex to match data columns

  • bankid and accountid taken from original file if possible, otherwise from a filename in the format

    <bankid>-<accountid>-YYYYMMDD.<ext>

  • creates a standardised data dictionary with headers:

    date transid value currency memo payee accountid bankid fxcurrency fxrate fxamount

  • outputs data in ofx format

##Requirements

  • working django site

##Install

  1. Get the code

    > git clone git://github.com/evandavey/django-bankdownloads.git django-bankdownloads

  2. Install via pip

    > pip install django-bankdownloads

  3. Add ‘bankdownloads’ to INSTALLED_APPS

  4. Add BANKDOWNLOADS_IMPORT_PATH,BANKDOWNLOADS_OUTPUT_PATH,BANKDOWNLOADS_EMAILS and BANKDOWNLOADS_NOTIFIER_EXCLUDES to settings

##Use

  • provides a ‘BankDownload’ class that can be reused in other applications

    > mydownload = BankDownload()

    > mydownload.original_file=[file]

    > mydownload.save()

  • access standardised data via the ‘data’ property

    > data = mydownload.data

    > ofx = mydownload.export_ofx()

  • use management command bankdownloads_notifier to email if data is missing for a given month

  • use management command bankdownloads_processor to batch import bank downloads and output standardised ofx

##Authors

Evan Davey evan.davey@cochranedavey.com

##Licenses

CC-SA-NC

[Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License][cc-nc-sa].

![][img-cc-nc-sa]

[cc-nc-sa]: http://creativecommons.org/licenses/by-nc-sa/3.0/

[img-cc-nc-sa]: http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png

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

django-bankdownloads-0.1.0.tar.gz (9.7 kB view details)

Uploaded Source

File details

Details for the file django-bankdownloads-0.1.0.tar.gz.

File metadata

File hashes

Hashes for django-bankdownloads-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7fad6946ed1665b96d9b73012df0771a846d1d1c7ee1119d2daec912ee352782
MD5 4da61df978968311b53bde0aab53d7c7
BLAKE2b-256 e5f2a8e63c67a1afb2be288f5bf73c76d92baed914f041a513a8cf454fda4178

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