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.3.tar.gz
(45.1 kB
view details)
Built Distribution
File details
Details for the file mdona_scrapper-0.1.3.tar.gz
.
File metadata
- Download URL: mdona_scrapper-0.1.3.tar.gz
- Upload date:
- Size: 45.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.4.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b453978db14a054ba0cfbf46bf92908b5ebb7db360a5e28c820acb343c7854f |
|
MD5 | 82bc7c10646fe56146dae64b1f37fdb7 |
|
BLAKE2b-256 | 0e39cbfcecd1d37f485552cdba4d62748b11fe7ba2a360ebc7ecc2600e2ad6c5 |
File details
Details for the file mdona_scrapper-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: mdona_scrapper-0.1.3-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 | a6e9a28b409097103e477376e0401ee2d51d51c59608f23e96c7579209030ab4 |
|
MD5 | 50b514b2d4f4e9c1a0e79277b4243977 |
|
BLAKE2b-256 | 9d1aa2a31806453b3af2ff9a337f14093411ff7877f6aa2f819c5eafd8de6141 |