# pip install reductoai
from pathlib import Path
from reducto import Reducto
client = Reducto()
# Replace with your file path
upload = client.upload(file=Path("sample.pdf"))
result = client.pipeline.run(
input=upload,
pipeline_id="your_pipeline_id_here"
)