While Reducto has a lot of capabilities, the most basic workflow is uploading a document and getting the parsed output for it.

1

Install the SDK

pip install --pre reductoai
2

Parse a Document

from pathlib import Path
from reducto import Reducto

client = Reducto()
upload = client.upload(file=Path("sample.pdf"))
result = client.parse.run(document_url=upload)

print(result)