Back to list
liushuang393

pdf-extractor

by liushuang393

AI Blocksは「積木(レゴ)方式」でAIエージェントを構築するための軽量で柔軟なPythonライブラリです。LangChainなどの巨大フレームワークに依存せず、AIプリミティブ(基本単位)を直接組み合わせて開発できます。

1🍴 0📅 Jan 22, 2026

SKILL.md


name: pdf-extractor description: Extract text, tables, and metadata from PDF files. Use when working with PDFs, document extraction, or parsing PDF content. version: 1.0.0 author: agentflow triggers:

  • pdf
  • extract text
  • parse document
  • read pdf requirements:
  • pypdf
  • pdfplumber tags:
  • document
  • extraction
  • pdf

PDF Extraction Instructions

Overview

This skill extracts text and data from PDF files using Python libraries.

Usage

Basic Text Extraction

import pdfplumber

with pdfplumber.open("document.pdf") as pdf:
    for page in pdf.pages:
        text = page.extract_text()
        print(text)

Extract Tables

import pdfplumber

with pdfplumber.open("document.pdf") as pdf:
    for page in pdf.pages:
        tables = page.extract_tables()
        for table in tables:
            print(table)

Get Metadata

from pypdf import PdfReader

reader = PdfReader("document.pdf")
metadata = reader.metadata
print(f"Title: {metadata.title}")
print(f"Author: {metadata.author}")
print(f"Pages: {len(reader.pages)}")

Requirements

Install the required packages:

pip install pypdf pdfplumber

Notes

  • For scanned PDFs, consider using OCR libraries like pytesseract
  • Large PDFs should be processed page by page to manage memory

Score

Total Score

70/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon