diff options
Diffstat (limited to 'PKG-INFO')
-rw-r--r-- | PKG-INFO | 48 |
1 files changed, 36 insertions, 12 deletions
@@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: ofxparse -Version: 0.14 +Version: 0.15 Summary: Tools for working with the OFX (Open Financial Exchange) file format Home-page: http://sites.google.com/site/ofxparse Author: Jerry Seutter @@ -23,11 +23,13 @@ Description: ofxparse Example Usage ============= - Here's a sample program:: + Here's a sample program - from ofxparse import OfxParser + .. code:: python - ofx = OfxParser.parse(file('file.ofx')) + from ofxparse import OfxParser + with codecs.open('file.ofx') as fileobj: + ofx = OfxParser.parse(fileobj) ofx.accounts # An account with information ofx.account.number # The account number ofx.account.routing_number # The transit id (sometimes called branch number) @@ -41,7 +43,8 @@ Description: ofxparse Help! ===== - Sample .ofx files are very useful. If you want to help us out, please edit + Sample ``.ofx`` and ``.qfx`` files are very useful. + If you want to help us out, please edit all identifying information from the file and then email it to jseutter dot ofxparse at gmail dot com. @@ -49,25 +52,46 @@ Description: ofxparse =========== Prerequisites:: - (Ubuntu) sudo apt-get install python-beautifulsoup python-nose python-coverage-test-runner - (pip) pip install BeautifulSoup nose coverage + # Ubuntu + sudo apt-get install python-beautifulsoup python-nose python-coverage-test-runner + + # pip for Python 3: + pip install BeautifulSoup4 six lxml nose coverage + + # pip for Python 2: + pip install BeautifulSoup six nose coverage + + Tests: + Simply running the ``nosetests`` command should run the tests. - Tests:: - Simply running the "nose" command should run the tests. If you don't have nose - installed, the following might also work: + .. code:: bash + + nosetests + + If you don't have nose installed, the following might also work: + + .. code:: bash python -m unittest tests.test_parse - Test Coverage Report:: + Test Coverage Report: + + .. code:: bash coverage run -m unittest tests.test_parse + + # text report + coverage report + + # html report coverage html firefox htmlcov/index.html Homepage ======== - http://sites.google.com/site/ofxparse + | Homepage: https://sites.google.com/site/ofxparse + | Source: https://github.com/jseutter/ofxparse License ======= |