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.6-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for receipt_parser_ocr-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 4a168a4e89ecedb6aee8836a297b25555010a450903479f1fda3ebe8ef4b30e4
MD5 057151707febcfbd5921dcbfe7654f92
BLAKE2b-256 bbc4d091459b63dba84897741e7372fab20ca208f0761f9c46293b331f32152c

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