FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
unstructured-python-client/codeSamples.yaml at main · han-tun/unstructured-python-client · GitHub
han-tun
/
unstructured-python-client
Public
forked from
Unstructured-IO/unstructured-python-client
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
unstructured-python-client
/
codeSamples.yaml
Copy path
More file actions
More file actions
Latest commit
History
History
History
32 lines (28 loc) · 973 Bytes
Breadcrumbs
unstructured-python-client
/
codeSamples.yaml
Copy path
File metadata and controls
32 lines (28 loc) · 973 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
overlay
:
1.0.0
info
:
title
:
CodeSamples overlay for python target
version
:
0.0.0
actions
:
-
target
:
$["paths"]["/general/v0/general"]["post"]
update
:
x-codeSamples
:
-
lang
:
python
label
:
partition
source
:
|-
import unstructured_client
from unstructured_client.models import operations, shared
s = unstructured_client.UnstructuredClient(
api_key_auth="YOUR_API_KEY",
)
res = s.general.partition(request=operations.PartitionRequest(
partition_parameters=shared.PartitionParameters(
files=shared.Files(
file_name='your_file_here',
content='0x2cC94b2FEF'.encode(),
),
strategy=shared.Strategy.AUTO,
),
))
if res.elements is not None:
# handle response
pass
Back
|
FazBrowse Home
|
New Git URL