Evo pdf excel extraction

From OpenLAIR/OpenSkill · View interactive version

Evo pdf excel extraction is an AI agent skill from the GitHub repository OpenLAIR/OpenSkill. Extracts tabular data from PDF files using pdfplumber and reads Excel files using pandas/openpyxl, returning normalized pandas DataFrames with proper data types.

How to use this skill

Skill file

evo-pdf-excel-extraction

Extracts tabular data from PDF files and Excel files, returning normalized DataFrames.

Key Functions

extract_table_from_pdf(pdf_path, table_settings=None)

Extracts a multi-page table from a PDF. Handles:

read_excel_file(excel_path, id_column='ID', sheet_name=0, dtype_map=None)

Reads .xlsx files with openpyxl engine. Preserves string IDs.

normalize_dataframe(df, id_column='ID', numeric_columns=None)

Normalizes a DataFrame for comparison:

Usage

import sys
sys.path.insert(0, '/app/environment/skills/evo-pdf-excel-extraction/scripts')
from utils import extract_table_from_pdf, read_excel_file, normalize_dataframe

# Extract from PDF
df_pdf = extract_table_from_pdf('/root/employees_backup.pdf')

# Read Excel
df_excel = read_excel_file('/root/employees_current.xlsx', id_column='ID')

# Normalize both
numeric_cols = ['Salary', 'Years', 'Score']
df_pdf_norm = normalize_dataframe(df_pdf, id_column='ID', numeric_columns=numeric_cols)
df_excel_norm = normalize_dataframe(df_excel, id_column='ID', numeric_columns=numeric_cols)

Domain Knowledge

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.