Skip to main content

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.1.tar.gz (38.8 kB view details)

Uploaded Source

Built Distribution

mdona_scrapper-0.1.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file mdona_scrapper-0.1.1.tar.gz.

File metadata

  • Download URL: mdona_scrapper-0.1.1.tar.gz
  • Upload date:
  • Size: 38.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.4.16

File hashes

Hashes for mdona_scrapper-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7398f97de9ebb3f5eb91b9574297adacbf51ccbb3dc4fc1953f5c1f95ec7ca67
MD5 139b2713093b8c6cd8e76d80934c997d
BLAKE2b-256 bdbc29f2d75e2f4a1124678081b2bc65e110dc3e47b027b6698d424f4761acf2

See more details on using hashes here.

File details

Details for the file mdona_scrapper-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mdona_scrapper-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c07c690d306c0828b365a9e50d996ab53c573331aae9dcb2ff2282c7550cac36
MD5 c8e2991a0a46f61451e3c80529cfa60d
BLAKE2b-256 0b5ac92a90d499ac17f951df7880af8c82b5170598fefab7d28723941e754ee2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page