--- id: ofxtools version: "1.1.1" license: GPL-3.0-only license_treatment: copyleft maintenance: active --- # ofxtools — Library for working with Open Financial Exchange (OFX) data License: copyleft · Maintenance: active · Downloads: 99.1K/mo ## What it is and what it does ofxtools is a Python library for reading, writing, and converting Open Financial Exchange (OFX) data—the standard format banks and brokerages use to deliver transaction and account information. It handles both OFX versions 1.6 (SGML markup) and 2.03 (XML), plus Quicken's QFX variant, converting serialized financial data into native Python objects while preserving structure. The library implements comprehensive coverage of the OFX specification including banking, bill pay, investments, and tax extensions (1099 forms), with particular strength in investment account support. ofxtools requires only Python 3.10+ and the standard library, making it lightweight to install. It's built on a maintainable, standards-based data model that maps directly to OFX specification sections, and has been tested against over 10 years of real-world OFX feeds from various institutions. Use it to extract transaction data outside proprietary financial software, build Python applications that consume bank feeds, or generate OFX-formatted exports from your own systems. Use it for: - Extract bank and investment transactions from OFX downloads to build custom financial dashboards or analysis tools. - Convert transaction data between OFX versions or from QFX (Quicken) format to standard OFX for interoperability. - Generate OFX-formatted feeds from a custom accounting system for import into GnuCash, Quicken, or other financial software. - Parse investment account statements (holdings, trades, dividends) from broker OFX feeds for portfolio tracking. - Automate reconciliation workflows by reading OFX bank statements into Python for matching against internal ledgers. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Parses, generates, and converts Open Financial Exchange (OFX) data in both OFXv1 (SGML) and OFXv2 (XML) formats, including Quicken's QFX variant, for importing and exporting financial transaction data. Yes, with a license caveat. ofxtools is stable (Production/Stable status), actively maintained, has no known vulnerabilities, and installs with zero external dependencies. It's the most comprehensive OFX implementation in Python and covers the vast majority of real-world use cases. However, its GPL-3.0-only license is a hard blocker for proprietary or closed-source applications—only install if your project can adopt GPL-3.0 or you have an alternative licensing arrangement. ## Install pip install ofxtools uv add ofxtools poetry add ofxtools ## Installing ofxtools Before you install: Low friction—pure Python with no external runtime dependencies and a wheel distribution. Last release 63 days ago; repository active with recent commits and 344 stars. License in practice: GPL-3.0-only (copyleft): any application that links or distributes this library must also be released under GPL-3.0 or a compatible copyleft license. Proprietary or closed-source projects cannot use it without negotiating an alternative license. Quickstart: pip install ofxtools import ofxtools.Parser parser = ofxtools.Parser.OFXTree() parser.parse(ofx_file_path) ofx_data = parser.convert() Requires Python 3.10 or later. Verify before relying: - Whether the library handles all real-world OFX variants from major financial institutions without manual workarounds. - Performance characteristics when parsing large transaction histories or complex investment portfolios. - Whether Quicken QFX proprietary extensions are silently dropped or logged during conversion. ## Package facts - License: GPL-3.0-only (copyleft) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 99.1K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags ofx parser python, financial data exchange, bank transaction import, ofx to python objects, quicken qfx format, investment account data, financial institution feeds, finance, data-exchange, banking [View on SkillFed](https://skillfed.io/packages/ofxtools) · [View on PyPI](https://pypi.org/project/ofxtools/)