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

Uploaded Source

Built Distribution

mdona_scrapper-0.1.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mdona_scrapper-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7c19f9867c2caaeeef8a45322dc8afaf8b8cf6f1716bf4fe1b860abf98ac6025
MD5 aceee13b633a4917e942797e57fb1d21
BLAKE2b-256 2810240d09585d92b0f76a93c9e87c8ee2385cde044d525c5039fcd52cbcb811

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mdona_scrapper-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a8c1d690331be7b46fbe22796d0f45137c9257e40c7a923e37fde2c6414faa5a
MD5 75aef2e6a1a0173354c955505bbb7f05
BLAKE2b-256 f8c045793a8cdfb248ad7a2c08ef9c51547132864eb800ea4c80e6e95d916e27

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