ofxstatement 0.9.2__tar.gz → 0.9.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/CHANGES.rst +35 -1
  2. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/MANIFEST.in +1 -1
  3. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/PKG-INFO +45 -21
  4. ofxstatement-0.9.4/Pipfile.lock +668 -0
  5. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/README.rst +37 -15
  6. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/pyproject.toml +7 -6
  7. ofxstatement-0.9.4/src/ofxstatement/ofx.py +472 -0
  8. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/src/ofxstatement/plugin.py +1 -5
  9. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/src/ofxstatement/statement.py +148 -55
  10. ofxstatement-0.9.4/src/ofxstatement/tests/test_ofx.py +504 -0
  11. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/src/ofxstatement/tests/test_ofx_invest.py +47 -10
  12. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/src/ofxstatement/tests/test_parser.py +2 -4
  13. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/src/ofxstatement/tests/test_plugin.py +1 -5
  14. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/src/ofxstatement/tests/test_statement.py +19 -0
  15. ofxstatement-0.9.4/src/ofxstatement/tests/test_tool.py +375 -0
  16. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/src/ofxstatement/tool.py +52 -36
  17. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/src/ofxstatement.egg-info/PKG-INFO +45 -21
  18. ofxstatement-0.9.4/src/ofxstatement.egg-info/requires.txt +1 -0
  19. ofxstatement-0.9.2/Pipfile.lock +0 -294
  20. ofxstatement-0.9.2/src/ofxstatement/ofx.py +0 -340
  21. ofxstatement-0.9.2/src/ofxstatement/tests/test_ofx.py +0 -155
  22. ofxstatement-0.9.2/src/ofxstatement/tests/test_tool.py +0 -192
  23. ofxstatement-0.9.2/src/ofxstatement.egg-info/requires.txt +0 -5
  24. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/LICENSE.txt +0 -0
  25. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/Makefile +0 -0
  26. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/Pipfile +0 -0
  27. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/doc/ofx_sample_files/ofx_spec201_invest_transactions_example.xml +0 -0
  28. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/doc/ofx_sample_files/ofx_spec201_stmtrs_example.xml +0 -0
  29. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/pytest.ini +0 -0
  30. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/setup.cfg +0 -0
  31. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/setup.py +0 -0
  32. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/src/ofxstatement/__init__.py +0 -0
  33. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/src/ofxstatement/configuration.py +0 -0
  34. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/src/ofxstatement/exceptions.py +0 -0
  35. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/src/ofxstatement/parser.py +0 -0
  36. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/src/ofxstatement/plugins/README.txt +0 -0
  37. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/src/ofxstatement/plugins/__init__.py +0 -0
  38. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/src/ofxstatement/py.typed +0 -0
  39. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/src/ofxstatement/tests/__init__.py +0 -0
  40. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/src/ofxstatement/tests/samples/config.ini +0 -0
  41. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/src/ofxstatement/tests/test_configuration.py +0 -0
  42. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/src/ofxstatement/ui.py +0 -0
  43. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/src/ofxstatement.egg-info/SOURCES.txt +0 -0
  44. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/src/ofxstatement.egg-info/dependency_links.txt +0 -0
  45. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/src/ofxstatement.egg-info/entry_points.txt +0 -0
  46. {ofxstatement-0.9.2 → ofxstatement-0.9.4}/src/ofxstatement.egg-info/top_level.txt +0 -0
@@ -1,6 +1,40 @@
1
1
  Changes
2
2
  -------
3
3
 
4
+ 0.9.4 (2026-12-05)
5
+ ==================
6
+
7
+ - Python 3.11 or newer is now required (#397)
8
+ - Support for credit card statements, so that importers recognize them as
9
+ credit card accounts. A statement can also name its bank (#401)
10
+ - A statement without transactions is now converted if it states its closing
11
+ balance, so the balance of a quiet month is not lost (#401)
12
+ - New option to keep amounts with more than two decimals instead of rounding
13
+ them. Without it, ofxstatement now warns when an amount is rounded (#403)
14
+ - Converting the same statement twice can produce identical files, which helps
15
+ when converted files are kept in version control (#402)
16
+ - A failed conversion no longer destroys an existing output file (#398)
17
+ - Fix times in UTC at midnight, which were written in a form that importers
18
+ could reject (#399, #404)
19
+ - Exchange rates of foreign currency transactions are now read by GnuCash and
20
+ other libofx-based importers (#400, #368)
21
+ - Exchange rates are written with 4 decimal places (#369)
22
+ - Transaction times and timezones are written when the bank provides them
23
+ (#367)
24
+ - Bank branch can be included in the account information (#366)
25
+ - Investment statements include the account balance (#375)
26
+ - Better OFX compliance for investment transfers (#378)
27
+ - Consolidate the lists of transaction types (#364)
28
+
29
+
30
+ 0.9.3 (2025-09-10)
31
+ ==================
32
+
33
+ - Better ofx spec compliance (#332)
34
+ - Add support for INVEXPENSE (#346)
35
+ - Conversion report now reports invest-lines too (#352)
36
+
37
+
4
38
  0.9.2 (2024-11-25)
5
39
  ==================
6
40
 
@@ -22,7 +56,7 @@ Changes
22
56
  0.9.0 (2023-08-07)
23
57
  ==================
24
58
 
25
- - New `-c` (`--config`) option for `convert` command, allows to specify the
59
+ - New `-c` (`--config`) option for `convert` command, allows to specify the
26
60
  configuration file to use (#235).
27
61
  - Print the number of transactions in the output (#236).
28
62
 
@@ -1,4 +1,4 @@
1
- include CHANGES.rst README.rst
1
+ include CHANGES.rst README.rst LICENSE.txt
2
2
  include src/ofxstatement/plugins/README.txt
3
3
  include src/ofxstatement/py.typed
4
4
  include Pipfile Pipfile.lock
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: ofxstatement
3
- Version: 0.9.2
3
+ Version: 0.9.4
4
4
  Summary: Tool to convert proprietary bank statement to OFX format, suitable for importing to GnuCash
5
5
  Author-email: Andrey Lebedev <andrey@lebedev.lt>
6
6
  License: GNU GENERAL PUBLIC LICENSE
@@ -682,18 +682,20 @@ Project-URL: Homepage, https://github.com/kedder/ofxstatement
682
682
  Keywords: ofx,banking,statement
683
683
  Classifier: Development Status :: 3 - Alpha
684
684
  Classifier: Programming Language :: Python :: 3
685
+ Classifier: Programming Language :: Python :: 3.11
686
+ Classifier: Programming Language :: Python :: 3.12
687
+ Classifier: Programming Language :: Python :: 3.13
688
+ Classifier: Programming Language :: Python :: 3.14
685
689
  Classifier: Natural Language :: English
686
690
  Classifier: Topic :: Office/Business :: Financial :: Accounting
687
691
  Classifier: Topic :: Utilities
688
692
  Classifier: Environment :: Console
689
693
  Classifier: Operating System :: OS Independent
690
- Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
691
- Requires-Python: >=3.9
694
+ Requires-Python: >=3.11
692
695
  Description-Content-Type: text/x-rst
693
696
  License-File: LICENSE.txt
694
697
  Requires-Dist: platformdirs
695
- Requires-Dist: importlib_metadata>=3.8; python_version < "3.10"
696
- Requires-Dist: zipp; python_version < "3.10"
698
+ Dynamic: license-file
697
699
 
698
700
  OFX Statement
699
701
  -------------
@@ -707,11 +709,15 @@ OFX Statement
707
709
  .. image:: https://img.shields.io/badge/code%20style-black-000000.svg
708
710
  :target: https://github.com/psf/black
709
711
 
710
- Ofxstatement is a tool to convert proprietary bank statements to OFX format,
711
- suitable for importing into personal accounting systems like GnuCash. This
712
- package provides a command line tool to run: ``ofxstatement``. Run
713
- ``ofxstatement -h`` for more help. ``ofxstatement`` works under Python 3 and
714
- is not compatible with Python 2.
712
+ Ofxstatement is a tool to convert proprietary bank statements to OFX format, suitable
713
+ for importing into personal accounting systems like `GnuCash`_ or `homebank`_. This
714
+ package provides a command line tool to run: ``ofxstatement``. Run ``ofxstatement -h``
715
+ for more help. ``ofxstatement`` works under Python 3 and is not compatible with Python
716
+ 2.
717
+
718
+ .. _GnuCash: https://gnucash.org/
719
+ .. _homebank: https://www.gethomebank.org/
720
+
715
721
 
716
722
 
717
723
  Rationale
@@ -725,8 +731,8 @@ statement formats of online banking systems.
725
731
 
726
732
  To bridge the gap between them, this ofxstatement tool was created.
727
733
 
728
- .. _GnuCash: http://gnucash.org/
729
- .. _OFX: http://en.wikipedia.org/wiki/Open_Financial_Exchange
734
+ .. _GnuCash: https://gnucash.org/
735
+ .. _OFX: https://en.wikipedia.org/wiki/Open_Financial_Exchange
730
736
 
731
737
  Mode of Operation
732
738
  =================
@@ -754,10 +760,10 @@ easy_install or pip, for example::
754
760
  Note that ofxstatement itself will be installed automatically this way. After
755
761
  the installation, the ``ofxstatement`` utility will be available.
756
762
 
757
- Users of *Ubuntu* and *Debian* operating systems can install ofxstatement from
763
+ Users of *Ubuntu* and *Debian* operating systems can install ofxstatement from
758
764
  official package repositories::
759
765
 
760
- $ apt install ofxstatement ofxstatement-plugins
766
+ $ apt install ofxstatement ofxstatement-plugins
761
767
 
762
768
  You can check that ofxstatement is working by running::
763
769
 
@@ -782,8 +788,9 @@ Plugin Description
782
788
  ================================= ============================================
783
789
  `ofxstatement-mt940`_ Swift MT940 statements
784
790
  `ofxstatement-iso20022`_ Generic ISO-20022 format
785
- `ofxstatement-paypal`_ PayPal, ``*.csv`` for private accounts
791
+ `ofxstatement-paypal-2`_ PayPal, ``*.csv`` for private accounts
786
792
  `ofxstatement-transferwise`_ Transferwise CSV (international)
793
+ `ofxstatement-nordigen`_ Plugin for GoCardless and Nordigen data parsing
787
794
 
788
795
  `ofxstatement-lithuanian`_ Plugins for several banks, operating in
789
796
  Lithuania: Swedbank, Danske and common Lithuanian exchange format - LITAS-ESIS.
@@ -809,6 +816,7 @@ Plugin Description
809
816
  `banking.statements.nordea`_ Nordea bank (at least Finnish branch of it)
810
817
  `ofxstatement-seb`_ SEB (Sweden), it parses Export.xlsx for private accounts
811
818
  `ofxstatement-lansforsakringar`_ Länsförsäkringar (Sweden), it parses Kontoutdrag.xls for private accounts
819
+ `ofxstatement-handelsbanken`_ Handelsbanken (Sweden)
812
820
 
813
821
  `ofxstatement-be-belfius`_ Belfius (Belgium)
814
822
  `ofxstatement-be-keytrade`_ KeytradeBank (Belgium)
@@ -824,11 +832,14 @@ Plugin Description
824
832
 
825
833
  `ofxstatement-germany`_ Plugin for several german banks (1822direkt and Postbank at the moment)
826
834
  `ofxstatement-dab`_ DAB Bank (Germany)
827
- `ofxstatement-consors`_ Consorsbank (Germany)
835
+ `ofxstatement-consorsbank`_ Consorsbank (Germany)
836
+ `ofxstatement-co-operative`_ Co-operative Bank (UK)
828
837
  `ofxstatement-de-triodos`_ German Triodos Bank CSV statements (also works for GLS Bank)
829
838
  `ofxstatement-sp-freiburg`_ Sparkasse Freiburg-Nördlicher Breisgau (Germany)
830
839
  `ofxstatement-de-ing`_ Ing Diba Bank (Germany)
840
+ `ofxstatement-spardabank`_ Regional variants of Sparda-Bank eG (Germany)
831
841
  `ofxstatement-mastercard-de`_ Mastercard PDF statements (Germany)
842
+ `ofxstatement-fidelity`_ Fidelity CSV statements
832
843
  `ofxstatement-sparkasse-de`_ Sparkasse PDF statements (Germany)
833
844
  `ofxstatement-austrian`_ Plugins for several banks, operating in Austria:
834
845
  Easybank, ING-Diba, Livebank, Raiffeisenbank.
@@ -843,10 +854,10 @@ Plugin Description
843
854
  `ofxstatement-hype`_ Hype - Banca Sella (Italy)
844
855
 
845
856
  `ofxstatement-betterment`_ Betterment (USA)
846
- `ofxstatement-us-first-republic`_ First Republic Bank (USA)
847
857
  `ofxstatement-simple`_ Simple (USA, defunct) JSON financial statement format
848
858
 
849
859
  `ofxstatement-mbank-sk`_ MBank.sk (Slovakia)
860
+ `ofxstatement-rs-altabanka`_ Alta banka (Serbia)
850
861
  `ofxstatement-latvian`_ Latvian banks
851
862
  `ofxstatement-ee-seb`_ SEB (Estonia), parses proprietary csv file
852
863
  `ofxstatement-ee-swedbank`_ Swedbank (Estonia), parses proprietary csv file
@@ -863,6 +874,10 @@ Plugin Description
863
874
  `ofxstatement-bbva`_ BBVA (Spain)
864
875
  `ofxstatement-qif`_ Converts Quicken Interchange Format (QIF) formatted bank transaction files
865
876
  `ofxstatement-santander`_ Converts Santander transaction files
877
+ `ofxstatement-santander-es`_ Converts Santander ES transaction files
878
+ `ofxstatement-directa`_ Directa SIM Broker
879
+ `ofxstatement-upday`_ UpDay
880
+ `ofxstatement-bkk`_ Bangkok Bank
866
881
  ================================= ============================================
867
882
 
868
883
 
@@ -883,6 +898,7 @@ Plugin Description
883
898
  .. _ofxstatement-austrian: https://github.com/nblock/ofxstatement-austrian
884
899
  .. _ofxstatement-postfinance: https://pypi.python.org/pypi/ofxstatement-postfinance
885
900
  .. _ofxstatement-mbank-sk: https://github.com/epitheton/ofxstatement-mbank-sk
901
+ .. _ofxstatement-rs-altabanka: https://github.com/fertkir/ofxstatement-rs-altabanka
886
902
  .. _ofxstatement-be-belfius: https://github.com/renardeau/ofxstatement-be-belfius
887
903
  .. _ofxstatement-be-keytrade: https://github.com/Scotchy49/ofxstatement-be-keytrade
888
904
  .. _ofxstatement-be-ing: https://github.com/jbbandos/ofxstatement-be-ing
@@ -896,15 +912,18 @@ Plugin Description
896
912
  .. _ofxstatement-latvian: https://github.com/gintsmurans/ofxstatement-latvian
897
913
  .. _ofxstatement-iso20022: https://github.com/kedder/ofxstatement-iso20022
898
914
  .. _ofxstatement-seb: https://github.com/gerasiov/ofxstatement-seb
899
- .. _ofxstatement-paypal: https://github.com/gerasiov/ofxstatement-paypal
915
+ .. _ofxstatement-paypal-2: https://github.com/Alfystar/ofxstatement-paypal-2
900
916
  .. _ofxstatement-polish: https://github.com/yay6/ofxstatement-polish
901
917
  .. _ofxstatement-russian: https://github.com/gerasiov/ofxstatement-russian
902
918
  .. _ofxstatement-dab: https://github.com/JohannesKlug/ofxstatement-dab
903
- .. _ofxstatement-consors: https://github.com/JohannesKlug/ofxstatement-consors
919
+ .. _ofxstatement-consorsbank: https://github.com/eduralph/ofxstatement-consorsbank
920
+ .. _ofxstatement-co-operative: https://github.com/JoelColledge/ofxstatement-co-operative
921
+ .. _ofxstatement-spardabank: https://github.com/Holzhaus/ofxstatement-spardabank
904
922
  .. _ofxstatement-is-arionbanki: https://github.com/Dagur/ofxstatement-is-arionbanki
905
923
  .. _ofxstatement-be-triodos: https://github.com/renardeau/ofxstatement-be-triodos
906
924
  .. _ofxstatement-de-triodos: https://github.com/pianoslum/ofxstatement-de-triodos
907
925
  .. _ofxstatement-lansforsakringar: https://github.com/lbschenkel/ofxstatement-lansforsakringar
926
+ .. _ofxstatement-handelsbanken: https://github.com/gurkodil/ofxstatement-handelsbanken
908
927
  .. _ofxstatement-revolut: https://github.com/mlaitinen/ofxstatement-revolut
909
928
  .. _ofxstatement-transferwise: https://github.com/kedder/ofxstatement-transferwise
910
929
  .. _ofxstatement-n26: https://github.com/3v1n0/ofxstatement-n26
@@ -914,7 +933,6 @@ Plugin Description
914
933
  .. _ofxstatement-intesasp: https://github.com/Jacotsu/ofxstatement-intesasp
915
934
  .. _ofxstatement-de-ing: https://github.com/fabolhak/ofxstatement-de-ing
916
935
  .. _ofxstatement-germany: https://github.com/MirkoDziadzka/ofxstatement-germany
917
- .. _ofxstatement-us-first-republic: https://github.com/medovina/ofxstatement-us-first-republic
918
936
  .. _ofxstatement-cz-komercni: https://github.com/medovina/ofxstatement-cz-komercni
919
937
  .. _ofxstatement-cd-tmb: https://github.com/BIZ4Africa/ofxstatement-cd-tmb
920
938
  .. _ofxstatement-zm-stanbic: https://github.com/BIZ4Africa/ofxstatement-zm-stanbic
@@ -926,6 +944,7 @@ Plugin Description
926
944
  .. _ofxstatement-ee-swedbank: https://github.com/rsi2m/ofxstatement-ee-swedbank
927
945
  .. _ofxstatement-chebanca: https://github.com/3v1n0/ofxstatement-chebanca
928
946
  .. _ofxstatement-mastercard-de: https://github.com/FliegendeWurst/ofxstatement-mastercard-de
947
+ .. _ofxstatement-fidelity: https://github.com/mooredan/ofxstatement-fidelity
929
948
  .. _ofxstatement-sparkasse-de: https://github.com/FliegendeWurst/ofxstatement-sparkasse-de
930
949
  .. _ofxstatement-bancoposta: https://github.com/lorenzogiudici5/ofxstatement-bancoposta
931
950
  .. _ofxstatement-hype: https://github.com/lorenzogiudici5/ofxstatement-hype
@@ -933,8 +952,13 @@ Plugin Description
933
952
  .. _ofxstatement-bbva: https://github.com/3v1n0/ofxstatement-bbva
934
953
  .. _ofxstatement-qif: https://github.com/robvadai/ofxstatement-qif
935
954
  .. _ofxstatement-santander: https://github.com/robvadai/ofxstatement-santander
955
+ .. _ofxstatement-santander-es: https://github.com/M3lo00/ofxstatement-santander-es
956
+ .. _ofxstatement-directa: https://github.com/Alfystar/ofxstatement-directa
957
+ .. _ofxstatement-upday: https://github.com/Alfystar/ofxstatement-upday
936
958
  .. _ofxstatement-be-vdk-fr: https://github.com/Jibuus/ofxstatement-be-vdk-fr
937
959
  .. _ofxstatement-be-hellobank-fr: https://github.com/Jibuus/ofxstatement-be-hellobank-fr
960
+ .. _ofxstatement-nordigen: https://github.com/jstammers/ofxstatement-nordigen
961
+ .. _ofxstatement-bkk: https://github.com/mooredan/ofxstatement-bkk
938
962
 
939
963
  Advanced Configuration
940
964
  ======================