Installing and Getting Started with the Aryn SDK
Using the Aryn SDK
Installation
We recommend installing the Aryn SDK library using pip
:
Partitioning a Document
Partition a document like so:
partition_file
takes the same options as curl, except as keyword arguments. You can find a list of these options here.
Key management
By default, aryn-sdk
looks for Aryn API keys first in the environment variable ARYN_API_KEY
, and then in ~/.aryn/config.yaml
. You can override this behavior by specifying a key directly or a different path to the Aryn config file:
Helper Functions
aryn_sdk
provides some helper functions to make working with and visualizing the output of partition_file
easier.
Different File Formats
It is easy to process files with different formats using the aryn-sdk:
For more information, see the Aryn SDK documentation.
Was this page helpful?