You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+65-18
Original file line number
Diff line number
Diff line change
@@ -29,15 +29,45 @@ This is a Python client for the [Unstructured API](https://docs.unstructured.io/
29
29
30
30
Please refer to the [Unstructured docs](https://docs.unstructured.io/api-reference/api-services/sdk-python) for a full guide to using the client.
31
31
32
+
<!-- Start Summary [summary] -->
33
+
## Summary
34
+
35
+
36
+
<!-- End Summary [summary] -->
37
+
38
+
<!-- Start Table of Contents [toc] -->
39
+
## Table of Contents
40
+
41
+
*[SDK Installation](#sdk-installation)
42
+
*[IDE Support](#ide-support)
43
+
*[SDK Example Usage](#sdk-example-usage)
44
+
*[Available Resources and Operations](#available-resources-and-operations)
45
+
*[File uploads](#file-uploads)
46
+
*[Retries](#retries)
47
+
*[Error Handling](#error-handling)
48
+
*[Server Selection](#server-selection)
49
+
*[Custom HTTP Client](#custom-http-client)
50
+
*[Authentication](#authentication)
51
+
*[Debugging](#debugging)
52
+
<!-- End Table of Contents [toc] -->
53
+
32
54
<!-- Start SDK Installation [installation] -->
33
55
## SDK Installation
34
56
35
-
PIP
57
+
The SDK can be installed with either *pip* or *poetry* package managers.
58
+
59
+
### PIP
60
+
61
+
*PIP* is the default package installer for Python, enabling easy installation and management of packages from PyPI via the command line.
62
+
36
63
```bash
37
64
pip install unstructured-client
38
65
```
39
66
40
-
Poetry
67
+
### Poetry
68
+
69
+
*Poetry* is a modern tool that simplifies dependency management and package publishing by using a single `pyproject.toml` file to handle project metadata and dependencies.
70
+
41
71
```bash
42
72
poetry add unstructured-client
43
73
```
@@ -143,16 +173,13 @@ from unstructured_client import UnstructuredClient
143
173
from unstructured_client.models import shared
144
174
from unstructured_client.utils import BackoffStrategy, RetryConfig
@@ -292,6 +317,16 @@ s = UnstructuredClient(async_client=CustomClient(httpx.AsyncClient()))
292
317
<!-- No Server Selection -->
293
318
<!-- No Authentication -->
294
319
320
+
<!-- Start IDE Support [idesupport] -->
321
+
## IDE Support
322
+
323
+
### PyCharm
324
+
325
+
Generally, the SDK will work well with most IDEs out of the box. However, when using PyCharm, you can enjoy much better integration with Pydantic by installing an additional plugin.
0 commit comments