Skip to main content

A lightweight Python library to parse and categorize receipt data from OCR-extracted 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 Distribution

receipt_parser_ocr-1.1.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

receipt_parser_ocr-1.1.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file receipt_parser_ocr-1.1.1.tar.gz.

File metadata

  • Download URL: receipt_parser_ocr-1.1.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.9

File hashes

Hashes for receipt_parser_ocr-1.1.1.tar.gz
Algorithm Hash digest
SHA256 93b478b6d4ace9dbb12f9f33bd4abf913f27ec6d5748fd3ea07c5295a45fe9aa
MD5 d8d4757918103f2ca43e231e348a3544
BLAKE2b-256 44d5b8b5c492ca77bd2946034310d573ae6bb58a23623643e8883b00b91e6467

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for receipt_parser_ocr-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 600f116068523cb474279ff5e64a8c3f1a67b40608c0973b5ac1688b939f5ee6
MD5 34d1c45a68b86d082546056242f36621
BLAKE2b-256 1888e809af74a6c8fce7bf933447ef206cd2663d4dd4386b0ddb9782f82c5d28

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