superdoc-sdk 1.3.0.dev1__tar.gz → 1.3.0.dev3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of superdoc-sdk might be problematic. Click here for more details.
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/PKG-INFO +16 -6
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/README.md +10 -0
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/pyproject.toml +6 -6
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/superdoc/generated/client.py +1 -0
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/superdoc/generated/contract.py +1 -1
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/superdoc_sdk.egg-info/PKG-INFO +16 -6
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/superdoc_sdk.egg-info/requires.txt +5 -5
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/tests/test_protocol.py +17 -0
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/setup.cfg +0 -0
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/superdoc/__init__.py +0 -0
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/superdoc/client.py +0 -0
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/superdoc/embedded_cli.py +0 -0
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/superdoc/errors.py +0 -0
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/superdoc/generated/__init__.py +0 -0
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/superdoc/protocol.py +0 -0
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/superdoc/runtime.py +0 -0
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/superdoc/skill_api.py +0 -0
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/superdoc/skills/__init__.py +0 -0
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/superdoc/skills/editing-docx.md +0 -0
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/superdoc/test_parity_helper.py +0 -0
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/superdoc/tools/catalog.json +0 -0
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/superdoc/tools/intent_dispatch_generated.py +0 -0
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/superdoc/tools/tools-policy.json +0 -0
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/superdoc/tools/tools.anthropic.json +0 -0
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/superdoc/tools/tools.generic.json +0 -0
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/superdoc/tools/tools.openai.json +0 -0
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/superdoc/tools/tools.vercel.json +0 -0
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/superdoc/tools_api.py +0 -0
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/superdoc/transport.py +0 -0
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/superdoc_sdk.egg-info/SOURCES.txt +0 -0
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/superdoc_sdk.egg-info/dependency_links.txt +0 -0
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/superdoc_sdk.egg-info/top_level.txt +0 -0
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/tests/test_client_method_naming.py +0 -0
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/tests/test_helpers_reexports.py +0 -0
- {superdoc_sdk-1.3.0.dev1 → superdoc_sdk-1.3.0.dev3}/tests/test_transport.py +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: superdoc-sdk
|
|
3
|
-
Version: 1.3.0.
|
|
3
|
+
Version: 1.3.0.dev3
|
|
4
4
|
Summary: SuperDoc SDK (CLI-backed)
|
|
5
5
|
Author: SuperDoc
|
|
6
6
|
License-Expression: AGPL-3.0
|
|
7
7
|
Requires-Python: >=3.9
|
|
8
8
|
Description-Content-Type: text/markdown
|
|
9
|
-
Requires-Dist: superdoc-sdk-cli-darwin-arm64==1.3.0.
|
|
10
|
-
Requires-Dist: superdoc-sdk-cli-darwin-x64==1.3.0.
|
|
11
|
-
Requires-Dist: superdoc-sdk-cli-linux-x64==1.3.0.
|
|
12
|
-
Requires-Dist: superdoc-sdk-cli-linux-arm64==1.3.0.
|
|
13
|
-
Requires-Dist: superdoc-sdk-cli-windows-x64==1.3.0.
|
|
9
|
+
Requires-Dist: superdoc-sdk-cli-darwin-arm64==1.3.0.dev3; platform_system == "Darwin" and (platform_machine == "arm64" or platform_machine == "aarch64" or platform_machine == "ARM64")
|
|
10
|
+
Requires-Dist: superdoc-sdk-cli-darwin-x64==1.3.0.dev3; platform_system == "Darwin" and (platform_machine == "x86_64" or platform_machine == "AMD64" or platform_machine == "amd64")
|
|
11
|
+
Requires-Dist: superdoc-sdk-cli-linux-x64==1.3.0.dev3; platform_system == "Linux" and (platform_machine == "x86_64" or platform_machine == "AMD64" or platform_machine == "amd64")
|
|
12
|
+
Requires-Dist: superdoc-sdk-cli-linux-arm64==1.3.0.dev3; platform_system == "Linux" and (platform_machine == "arm64" or platform_machine == "aarch64" or platform_machine == "ARM64")
|
|
13
|
+
Requires-Dist: superdoc-sdk-cli-windows-x64==1.3.0.dev3; platform_system == "Windows" and (platform_machine == "x86_64" or platform_machine == "AMD64" or platform_machine == "amd64")
|
|
14
14
|
|
|
15
15
|
# superdoc-sdk
|
|
16
16
|
|
|
@@ -84,6 +84,16 @@ Set `default_change_mode="tracked"` to make mutations use tracked changes by def
|
|
|
84
84
|
|
|
85
85
|
The SDK also exposes a synchronous `SuperDocClient` with the same document-handle methods when you prefer non-async code paths.
|
|
86
86
|
|
|
87
|
+
### Encrypted documents
|
|
88
|
+
|
|
89
|
+
Pass `password` when opening a password-protected `.docx`:
|
|
90
|
+
|
|
91
|
+
```python
|
|
92
|
+
doc = await client.open({"doc": "./secret.docx", "password": "mypassword"})
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
The password is forwarded only for the initial open and is not persisted. If the password is missing or wrong, the error includes a machine-readable code (`DOCX_PASSWORD_REQUIRED`, `DOCX_PASSWORD_INVALID`).
|
|
96
|
+
|
|
87
97
|
### Sync
|
|
88
98
|
|
|
89
99
|
```python
|
|
@@ -70,6 +70,16 @@ Set `default_change_mode="tracked"` to make mutations use tracked changes by def
|
|
|
70
70
|
|
|
71
71
|
The SDK also exposes a synchronous `SuperDocClient` with the same document-handle methods when you prefer non-async code paths.
|
|
72
72
|
|
|
73
|
+
### Encrypted documents
|
|
74
|
+
|
|
75
|
+
Pass `password` when opening a password-protected `.docx`:
|
|
76
|
+
|
|
77
|
+
```python
|
|
78
|
+
doc = await client.open({"doc": "./secret.docx", "password": "mypassword"})
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
The password is forwarded only for the initial open and is not persisted. If the password is missing or wrong, the error includes a machine-readable code (`DOCX_PASSWORD_REQUIRED`, `DOCX_PASSWORD_INVALID`).
|
|
82
|
+
|
|
73
83
|
### Sync
|
|
74
84
|
|
|
75
85
|
```python
|
|
@@ -4,18 +4,18 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "superdoc-sdk"
|
|
7
|
-
version = "1.3.0.
|
|
7
|
+
version = "1.3.0.dev3"
|
|
8
8
|
description = "SuperDoc SDK (CLI-backed)"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.9"
|
|
11
11
|
license = "AGPL-3.0"
|
|
12
12
|
authors = [{ name = "SuperDoc" }]
|
|
13
13
|
dependencies = [
|
|
14
|
-
"superdoc-sdk-cli-darwin-arm64==1.3.0.
|
|
15
|
-
"superdoc-sdk-cli-darwin-x64==1.3.0.
|
|
16
|
-
"superdoc-sdk-cli-linux-x64==1.3.0.
|
|
17
|
-
"superdoc-sdk-cli-linux-arm64==1.3.0.
|
|
18
|
-
"superdoc-sdk-cli-windows-x64==1.3.0.
|
|
14
|
+
"superdoc-sdk-cli-darwin-arm64==1.3.0.dev3; platform_system == 'Darwin' and (platform_machine == 'arm64' or platform_machine == 'aarch64' or platform_machine == 'ARM64')",
|
|
15
|
+
"superdoc-sdk-cli-darwin-x64==1.3.0.dev3; platform_system == 'Darwin' and (platform_machine == 'x86_64' or platform_machine == 'AMD64' or platform_machine == 'amd64')",
|
|
16
|
+
"superdoc-sdk-cli-linux-x64==1.3.0.dev3; platform_system == 'Linux' and (platform_machine == 'x86_64' or platform_machine == 'AMD64' or platform_machine == 'amd64')",
|
|
17
|
+
"superdoc-sdk-cli-linux-arm64==1.3.0.dev3; platform_system == 'Linux' and (platform_machine == 'arm64' or platform_machine == 'aarch64' or platform_machine == 'ARM64')",
|
|
18
|
+
"superdoc-sdk-cli-windows-x64==1.3.0.dev3; platform_system == 'Windows' and (platform_machine == 'x86_64' or platform_machine == 'AMD64' or platform_machine == 'amd64')",
|
|
19
19
|
]
|
|
20
20
|
|
|
21
21
|
[tool.setuptools]
|
|
@@ -29992,6 +29992,7 @@ DocOpenParams = TypedDict(
|
|
|
29992
29992
|
"bootstrapSettlingMs": int | float,
|
|
29993
29993
|
"userName": str,
|
|
29994
29994
|
"userEmail": str,
|
|
29995
|
+
"password": str,
|
|
29995
29996
|
},
|
|
29996
29997
|
total=False,
|
|
29997
29998
|
)
|