File: README.rst

package info (click to toggle)
ofxstatement-plugins 20210310
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,964 kB
  • sloc: python: 7,219; xml: 1,027; makefile: 167; sh: 92
file content (85 lines) | stat: -rw-r--r-- 2,793 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Simple plugin for ofxstatement
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. image:: https://img.shields.io/travis/cmayes/ofxstatement-simple.svg
        :target: https://travis-ci.org/cmayes/ofxstatement-simple

.. image:: https://img.shields.io/pypi/v/ofxstatement-simple.svg
        :target: https://pypi.python.org/pypi/ofxstatement-simple

.. image:: https://coveralls.io/repos/cmayes/ofxstatement-simple/badge.svg?branch=master&service=github
        :target: https://coveralls.io/github/cmayes/ofxstatement-simple?branch=master


This is an `ofxstatement`_ plugin for `Simple`_ JSON statements downloaded
from the site. `ofxstatement`_ converts the JSON into a series of "check"
transactions in an OFX file.

.. _ofxstatement: https://github.com/kedder/ofxstatement
.. _Simple: https://www.simple.com/
.. _Moneydance: http://moneydance.com/

`ofxstatement`_ is a tool for converting proprietary bank statements into the
OFX format, suitable for importing into GnuCash, Moneydance, and other compatible
applications. The plugin for ofxstatement parses a particular proprietary bank
statement format and produces a common data structure that is then formatted
into an OFX file.

Requirements
============

As with `ofxstatement`_, this plugin requires Python 3.  You will need to have
`ofxstatement`_ installed; the package will be brought in as a dependency if
you install the plugin via `pip`_.

.. _pip: https://pypi.python.org/pypi/pip

Installation
============

You can install the plugin via most of the normal Python methods (be sure to
install using your environment's python3 installation). Remove the `--user`
option if you wish to install the package globally.

pip
---

::

  pip3 install --user ofxstatement-simple

setup.py
--------

::

  python3 setup.py install --user

Configuration
=============

Note that you can specify 'bank' and 'account' in ofxstatement's configuration file (accessible
using the `ofxstatement edit-config` command or directly at
`~/.local/share/ofxstatement/config.ini` (on Linux, at least).  Setting these values makes it
easier for your personal finance application to recognize which account the file's data
belongs to.

Also note that transactions for zero amounts are filtered by default.  If you wish to include
zero-amount transactions, set 'zero_filter' to 'false' in your settings.  Here is an example
of a settings block for the simple plugin::

  [simple]
  account = 8675309
  plugin = simple
  zero_filter = false

Usage
=====

Export your Simple transactions into a JSON file (it's currently
`<date>-exported_transactions.json`). Then run::

  $ ofxstatement convert -t simple <date>-exported_transactions.json simple.ofx

You can then import `simple.ofx` into the personal finance application of your choice.