Skip to content

sensible-hq/tutorial-pdf-to-excel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tutorial: PDF to Excel Converter using Python and Sensible API

Working with PDFs can be challenging, especially when you need to extract data from tables or unstructured text. This repository contains a Python tutorial that demonstrates how to convert PDF files to Excel spreadsheets. It focuses on transforming the data in a way that makes it easier for you to analyze, validate, and visualize it.

The code leverages the Sensible API, which allows for fast, precise, and adaptable document data extraction. You'll find the implementation particularly useful if you're interested in getting specific data out of complex PDF documents.

Features

  • Converts PDF files to Excel while preserving the data structure
  • Employs Sensible API for accurate and fast data extraction
  • Explains how to create custom configurations for specific data extraction needs
  • Complete guide on prerequisites, API setup, and Python code implementation

How It Works

The tutorial walks you through:

  • Setting up your Python environment
  • Creating a Sensible account and generating an API key
  • Building custom configurations using SenseML, Sensible's query language
  • Writing Python code to perform the data extraction and conversion

We use WHO's weekly COVID-19 situation reports as our sample PDFs to show you how to extract data like new cases, deaths, etc., and save it into an Excel file.

Getting Started

Clone this repository to get started with the code and follow the step-by-step tutorial for an in-depth understanding.

Getting Started

Clone this repository to get started with the code and follow the step-by-step tutorial for an in-depth understanding.

  1. Clone this repository: git clone https://github.com/sensible-hq/tutorial-pdf-to-excel.git
  2. Follow the tutorial here.

Support and Contribution

Feel free to report issues or make pull requests if you have suggestions for improvement. Your feedback is appreciated!

License

This project is licensed under the MIT License. See the LICENSE.md file for details.