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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file receipt_parser_ocr-1.0.8-py3-none-any.whl.
File metadata
- Download URL: receipt_parser_ocr-1.0.8-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24b91bf606f884e075aae77b84abbafd1cdd3cd6782c5ac57663ac650eedd48d
|
|
| MD5 |
6f0f8df0fa40946d7e503658f1227f9c
|
|
| BLAKE2b-256 |
b7e1a23ec5c3faf1a154bac97b5a87a2f97a6250fb680e5f037572f582bf5f36
|