![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
pdf-bank-statement-parser
Advanced tools
Command-line tool for robustly converting PDF bank statements into clean usable CSV. Currently only works for statements from First National Bank (FNB) South Africa (please let me know if you want me to expand the scope).
pip install pdf-bank-statement-parser
# parse a single PDF bank statement #
parse-bank-statement-pdf \
--input_filepath 'bank_statements/2024_03_27 - 2024_06_28.pdf' \
--output_path 'bank_statements/csv/2024_03_27 - 2024_06_28.csv'
# parse all PDF bank statements in a given directory #
parse-bank-statement-pdf \
--input_dir 'bank_statements/' \
--output_path 'bank_statements/csv/' \
--csv_sep_char ';'
The only format available from FNB for downloading historical bank statements is PDF, which is a useless format for any kind of downstream data task other than reading.
This tool uses pypdfium2 for text extraction from PDF and native python for everything else. Transactions are extracted using RegEx.
The parsed results are verified as follows:
It is checked (for every transaction extracted) that the balance amount is the sum of the previous balance and the transaction amount.
It is checked that the opening balance reported on the statement plus the sum of extracted transactions is equal to the closing balance reported on the statement.
FAQs
Command-line tool for converting PDF bank statements into CSV
We found that pdf-bank-statement-parser demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.