Python Client SDK Generated by Speakeasy
Project description
unstructured-client
SDK Installation
pip install unstructured-client
SDK Example Usage
import unstructured
from unstructured.models import shared
s = unstructured.Unstructured(
security=shared.Security(
api_key_auth="YOUR_API_KEY",
),
)
req = shared.PartitionParameters(
coordinates=False,
encoding='utf-8',
files=shared.PartitionParametersFiles(
content='corrupti'.encode(),
files='provident',
),
gz_uncompressed_content_type='application/pdf',
hi_res_model_name='yolox',
include_page_breaks=False,
ocr_languages=[
'eng',
],
output_format='application/json',
pdf_infer_table_structure=False,
skip_infer_table_types=[
'pdf',
],
strategy='hi_res',
xml_keep_tags=False,
)
res = s.general.partition(req)
if res.partition_200_application_json_any is not None:
# handle response
Available Resources and Operations
General
- partition - Pipeline 1
Maturity
This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning usage to a specific package version. This way, you can install the same version each time without breaking changes unless you are intentionally looking for the latest version.
Contributions
While we value open-source contributions to this SDK, this library is generated programmatically. Feel free to open a PR or a Github issue as a proof of concept and we'll do our best to include it in a future release!
SDK Created by Speakeasy
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
unstructured-client-0.1.4.tar.gz
(14.4 kB
view hashes)
Built Distribution
Close
Hashes for unstructured-client-0.1.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49d155112a3a9b49acbb7de7a0e51948934eb372c993fa315bdbe44ee298b857 |
|
MD5 | f5f0e3adc7918d8587358f3f60d16832 |
|
BLAKE2b-256 | 53a64b4ddbe8f988875ed6608f5cd4462f968cff6c081752332b452a3de157ce |
Close
Hashes for unstructured_client-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3c118127b5e3ed4797c36de7f442c781a621e95403415dc5af699fa3eaadbe4 |
|
MD5 | 8b2af8e2813007dae429a0d670e6ecf5 |
|
BLAKE2b-256 | 5ae953258022c367fed4dfb34af494adba5dbd8c348a90df746c3943c165d406 |