Skip to main content

#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

Metadata

Release files for django-bankdownloads 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-bankdownloads 0.1.0
File Size Uploaded Provenance
django-bankdownloads-0.1.0.tar.gz 9.7 kB Without provenance Details

Release files / django-bankdownloads-0.1.0.tar.gz

Download URL django-bankdownloads-0.1.0.tar.gz
Size 9.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7fad6946ed1665b96d9b73012df0771a846d1d1c7ee1119d2daec912ee352782
BLAKE2b-256 checksum
How to use checksums
e5f2a8e63c67a1afb2be288f5bf73c76d92baed914f041a513a8cf454fda4178
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-bankdownloads 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page