Skip to main content

PDF Statement Reader

Project description

PDF Statement Reader

Build Status

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

pdf_statement_reader-0.1.0.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pdf_statement_reader-0.1.0-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file pdf_statement_reader-0.1.0.tar.gz.

File metadata

  • Download URL: pdf_statement_reader-0.1.0.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.0 CPython/3.6.7

File hashes

Hashes for pdf_statement_reader-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d0b3a4c3e7b2ddf1c93d9cc7667555332ebb7e2206b49f82ab2916eb48b060ca
MD5 5324923232cad38c076a5095c7fc4feb
BLAKE2b-256 812d5dab7667b140f37feb24a27468a8e0680d295cfe7edfb57dd3de57039320

See more details on using hashes here.

File details

Details for the file pdf_statement_reader-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pdf_statement_reader-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.0 CPython/3.6.7

File hashes

Hashes for pdf_statement_reader-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6d0cdf27f94f370066fc3205a7c7048ecdfdeb1875728312a27052f4c977af29
MD5 d43e5d1fce6cf81f1ea1c8a0d6c3d03f
BLAKE2b-256 58a4968a9e40c439a8c9fd4c3068313f48e79844521567f605246e338148286a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page