Documentation
Python API Reference
Adapt PdfItDown to your pipelines by coding it yourself!
You can install PdfItDown by running the following command:
Use PdfItDown within your script
Ypu should initialize PdfItDown by instantiating the Converter
class:
After this, you can use PdfItDown to:
- Convert single files using the
convert
method:
- Convert multiple files at once using the
multiple_convert
method:
- Convert an entire directory at once using the
convert_directory
method:
Be careful: all the documents that you convert need to be supported by PdfItDown, otherwise you’ll see a ValidationError