A simple scrapper for Mercadona's receipts
Project description
Mercadona's invoice scrapper
This package allows you to extract the information from a Mercadona's invoice in PDF format and convert it to a pandas DataFrame.
Installation
pip install mdona-scrapper
Usage
from mdona_scrapper import MercadonaScrapper
invoice = MercadonaScrapper.get_invoce('path/to/invoice.pdf')
producs = invoice.products
order_number = invoice.order_number
invoice_number = invoice.invoice_number
payment_date = invoice.payment_date
df = invoice.dataframe
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
mdona_scrapper-0.1.4.tar.gz
(46.3 kB
view details)
Built Distribution
File details
Details for the file mdona_scrapper-0.1.4.tar.gz
.
File metadata
- Download URL: mdona_scrapper-0.1.4.tar.gz
- Upload date:
- Size: 46.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14078082389c8e35ecd24f05897606f1332b2de890dd5fcd875e32274f2fd910 |
|
MD5 | 37bb48ab486766b98480ae119344a280 |
|
BLAKE2b-256 | 3b681d4bd3b1a510a5d94490b01263c9b369592004b5fa8fee4b97706d923b20 |
File details
Details for the file mdona_scrapper-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: mdona_scrapper-0.1.4-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5e2381073f316a0848692eb91af83b00879460ade46e1f2aaa1e9b3ecbb6447 |
|
MD5 | 3bd46653b11cb0e1b40b2215167b67b9 |
|
BLAKE2b-256 | cef468ce4add783443059fc5b66ca97ad3b64e051f3ced166d03bc9e853ecb32 |