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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mdona_scrapper-0.1.2.tar.gz
Algorithm Hash digest
SHA256 4d04de427e9c8e8593c63638831b6fe62d7cd5e0f746df1c56765cd43be6316a
MD5 cc63c58059dd7dbc046ab80c22beb0a7
BLAKE2b-256 4d66fce4e61aa06b8e1e31c3702a4b8b2cf266058fb7dec9981e031abfd2b1cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mdona_scrapper-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f0c0d0258c7a7acfa43bb3801d30edb3ecfac272189b01739a40f7b20d0da652
MD5 7ec777bea6d8402a0f1edf24a0b5cd96
BLAKE2b-256 6d1061f85faf0882e19235c5a4ec5c9de3b7677fb863c23fb196aeb08e61f32e

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