PDF Statement Reader
Project description
PDF Statement Reader
Python library and command line tool for parsing pdf bank statements
Inspired by https://github.com/antonburger/pdf2csv
Installation
Clone this repository
git@github.com:marlanperumal/pdf_statement_reader.git
Install it with pip (preferably in a virtual environment)
pip install -e pdf_statement_reader
Usage
Provides a command line application psr
Usage: psr [OPTIONS] COMMAND [ARGS]...
Utility for reading bank and other statements in pdf form
Options:
--help Show this message and exit.
Commands:
decrypt Decrypts a pdf file Uses pikepdf to open an encrypted pdf file...
pdf2csv Converts a pdf statement to a csv file using a given format
validate Validates the csv statement rolling balance
decrypt
Usage: psr decrypt [OPTIONS] INPUT_FILENAME [OUTPUT_FILENAME]
Decrypts a pdf file
Uses pikepdf to open an encrypted pdf file and then save the unencrypted
version. If no output_filename is specified then overwrites the original
file.
Options:
-p, --password TEXT
--help Show this message and exit.
pdf2csv
Usage: psr pdf2csv [OPTIONS] INPUT_FILENAME [OUTPUT_FILENAME]
Converts a pdf statement to a csv file using a given format
Options:
-c, --config TEXT
--help Show this message and exit.
validate
Usage: psr validate [OPTIONS] INPUT_FILENAME
Validates the csv statement rolling balance
Options:
-c, --config TEXT
--help Show this message and exit.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for pdf_statement_reader-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0b3a4c3e7b2ddf1c93d9cc7667555332ebb7e2206b49f82ab2916eb48b060ca |
|
MD5 | 5324923232cad38c076a5095c7fc4feb |
|
BLAKE2b-256 | 812d5dab7667b140f37feb24a27468a8e0680d295cfe7edfb57dd3de57039320 |
Close
Hashes for pdf_statement_reader-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d0cdf27f94f370066fc3205a7c7048ecdfdeb1875728312a27052f4c977af29 |
|
MD5 | d43e5d1fce6cf81f1ea1c8a0d6c3d03f |
|
BLAKE2b-256 | 58a4968a9e40c439a8c9fd4c3068313f48e79844521567f605246e338148286a |