Skip to main content

A lightweight library to parse and categorize receipts from OCR text

Project description

Receipt Parser OCR

A lightweight and extensible Python library designed to parse and categorize receipt data from OCR-extracted text.

This library is built to transform unstructured text (generated from OCR engines such as Tesseract) into structured financial data, making it ideal for applications involving expense tracking, financial analysis, and document processing.

Features

  • OCR Text Parsing
    Extract structured information from raw OCR output (images or PDFs)

  • Key Data Extraction
    Automatically identify:

    • Store name
    • Total amount
    • Payment mode (e.g., VISA, CASH)
    • Purchase date
  • Automatic Categorization
    Classifies receipts into categories such as:

    • Groceries
    • Food
    • Travel
    • Shopping
    • Other
  • Robust Text Cleaning
    Handles common OCR issues such as:

    • Encoding errors (€, £, ₹ symbols)
    • Noise and irregular formatting
  • Extensible Design
    Easily extendable for:

    • New store-category mappings
    • Custom parsing logic
    • Integration with other systems
  • Framework Independent
    Designed with zero dependency on Django or any web framework, allowing reuse across different Python applications.

Installation

pip install receipt-parser-ocr

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

receipt_parser_ocr-1.0.8-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file receipt_parser_ocr-1.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for receipt_parser_ocr-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 24b91bf606f884e075aae77b84abbafd1cdd3cd6782c5ac57663ac650eedd48d
MD5 6f0f8df0fa40946d7e503658f1227f9c
BLAKE2b-256 b7e1a23ec5c3faf1a154bac97b5a87a2f97a6250fb680e5f037572f582bf5f36

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