Blog: Doing more with less: Sync and Async support in one line of code →

Powerful Table Extraction for Your Documents

Effortlessly Convert Complex Tables into Structured Data

1from docprompt import load_document_node
2from docprompt.tasks.factory import AnthropicTaskProviderFactory
3
4# Create a document node
5node = load_document_node("path/to/your/document.pdf")
6
7# Setup your task factory
8factory = AnthropicTaskProviderFactory()
9
10# Create your task provider
11task_provider = factory.get_page_table_extraction_provider()
12
13# Execute your task
14results = task_provider.process_document_node(node)
15
Turn PDF tables into actionable data instantly.
Unlock the power of your PDF tables effortlessly.
Seamlessly convert PDF tables to editable formats.
Extract, analyze, and utilize PDF table data in seconds.
Testimonial
DocPrompt's table exrtraction capabilites allowed us to reduce the amount of code in our PDF pipeline by over 20%. This was a game changer for us.
Frank Colson
CEO, PageLeaf

Ready, Set, Flow

GET STARTED