synapsedx-sdk 0.3.1.dev10__tar.gz → 0.3.1.dev11__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.
- {synapsedx_sdk-0.3.1.dev10 → synapsedx_sdk-0.3.1.dev11}/PKG-INFO +13 -15
- synapsedx_sdk-0.3.1.dev11/README.md +33 -0
- {synapsedx_sdk-0.3.1.dev10 → synapsedx_sdk-0.3.1.dev11}/pyproject.toml +1 -1
- {synapsedx_sdk-0.3.1.dev10 → synapsedx_sdk-0.3.1.dev11}/synapsedx_sdk/__init__.py +1 -1
- {synapsedx_sdk-0.3.1.dev10 → synapsedx_sdk-0.3.1.dev11}/synapsedx_sdk.egg-info/PKG-INFO +13 -15
- synapsedx_sdk-0.3.1.dev10/README.md +0 -35
- {synapsedx_sdk-0.3.1.dev10 → synapsedx_sdk-0.3.1.dev11}/setup.cfg +0 -0
- {synapsedx_sdk-0.3.1.dev10 → synapsedx_sdk-0.3.1.dev11}/synapsedx_sdk/example.py +0 -0
- {synapsedx_sdk-0.3.1.dev10 → synapsedx_sdk-0.3.1.dev11}/synapsedx_sdk/test_client.py +0 -0
- {synapsedx_sdk-0.3.1.dev10 → synapsedx_sdk-0.3.1.dev11}/synapsedx_sdk.egg-info/SOURCES.txt +0 -0
- {synapsedx_sdk-0.3.1.dev10 → synapsedx_sdk-0.3.1.dev11}/synapsedx_sdk.egg-info/dependency_links.txt +0 -0
- {synapsedx_sdk-0.3.1.dev10 → synapsedx_sdk-0.3.1.dev11}/synapsedx_sdk.egg-info/requires.txt +0 -0
- {synapsedx_sdk-0.3.1.dev10 → synapsedx_sdk-0.3.1.dev11}/synapsedx_sdk.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: synapsedx-sdk
|
|
3
|
-
Version: 0.3.1.
|
|
3
|
+
Version: 0.3.1.dev11
|
|
4
4
|
Summary: synapsedx SDK for Python (Apache-2.0)
|
|
5
5
|
License: Apache-2.0
|
|
6
6
|
Requires-Python: >=3.9
|
|
@@ -11,12 +11,19 @@ Requires-Dist: pytest; extra == "dev"
|
|
|
11
11
|
Requires-Dist: ruff; extra == "dev"
|
|
12
12
|
|
|
13
13
|
# synapsedx SDK for Python
|
|
14
|
+
|
|
14
15
|
Apache-2.0. See root LICENSE. Part of [SynapseDX](../../README.md) Tier-1 PaaS.
|
|
15
16
|
|
|
17
|
+
Requires Python 3.10+. Single runtime dependency: `requests>=2.28`.
|
|
18
|
+
|
|
19
|
+
## Install
|
|
20
|
+
|
|
16
21
|
```bash
|
|
17
22
|
pip install synapsedx-sdk
|
|
18
23
|
```
|
|
19
24
|
|
|
25
|
+
## Quick start
|
|
26
|
+
|
|
20
27
|
```python
|
|
21
28
|
from synapsedx_sdk import SynapseDXClient
|
|
22
29
|
|
|
@@ -31,17 +38,8 @@ c.create_workflow_from_template("webhook-to-log", "demo")
|
|
|
31
38
|
|
|
32
39
|
Auth: `SynapseDXClient(base_url, token=..., api_key=...)`, or `set_token(jwt)` /
|
|
33
40
|
`set_api_key(key)` after login. `timeout` configurable (default 15s).
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
- Orgs/accounts/users: `list_orgs`, `create_org`, `list_accounts`, `create_account`,
|
|
40
|
-
`list_users`, `create_user`, `user_policies`
|
|
41
|
-
- IAM: `create_role`, `list_roles`, `delete_role`, `create_policy`, `list_policies`,
|
|
42
|
-
`delete_policy`, `attach_policy`, `assign_role`, `authorize`, `simulate`,
|
|
43
|
-
`list_audit`, `create_api_key`, `revoke_api_key`, `verify_api_key`,
|
|
44
|
-
`create_service_account`, `list_service_accounts`, `service_account_token`
|
|
45
|
-
- Workflows: `list_workflows`, `get_workflow`, `create_workflow_from_template`,
|
|
46
|
-
`create_workflow`, `activate_workflow`, `deactivate_workflow`, `execute_workflow`,
|
|
47
|
-
`list_templates`, `get_template`, `list_executions`, `get_execution`
|
|
41
|
+
|
|
42
|
+
## Full documentation
|
|
43
|
+
|
|
44
|
+
See **[docs/sdk-python.md](../../docs/sdk-python.md)** for the complete API reference —
|
|
45
|
+
constructor, auth, all methods with signatures, parameters, return types, and examples.
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# synapsedx SDK for Python
|
|
2
|
+
|
|
3
|
+
Apache-2.0. See root LICENSE. Part of [SynapseDX](../../README.md) Tier-1 PaaS.
|
|
4
|
+
|
|
5
|
+
Requires Python 3.10+. Single runtime dependency: `requests>=2.28`.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pip install synapsedx-sdk
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Quick start
|
|
14
|
+
|
|
15
|
+
```python
|
|
16
|
+
from synapsedx_sdk import SynapseDXClient
|
|
17
|
+
|
|
18
|
+
c = SynapseDXClient("http://localhost:8080")
|
|
19
|
+
login = c.login("demo@acme.local")
|
|
20
|
+
c.set_token(login["accessToken"])
|
|
21
|
+
|
|
22
|
+
c.create_org("acme-2", "ACME 2")
|
|
23
|
+
c.authorize(login["user"]["id"], "workflow:Execute", "*")
|
|
24
|
+
c.create_workflow_from_template("webhook-to-log", "demo")
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
Auth: `SynapseDXClient(base_url, token=..., api_key=...)`, or `set_token(jwt)` /
|
|
28
|
+
`set_api_key(key)` after login. `timeout` configurable (default 15s).
|
|
29
|
+
|
|
30
|
+
## Full documentation
|
|
31
|
+
|
|
32
|
+
See **[docs/sdk-python.md](../../docs/sdk-python.md)** for the complete API reference —
|
|
33
|
+
constructor, auth, all methods with signatures, parameters, return types, and examples.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: synapsedx-sdk
|
|
3
|
-
Version: 0.3.1.
|
|
3
|
+
Version: 0.3.1.dev11
|
|
4
4
|
Summary: synapsedx SDK for Python (Apache-2.0)
|
|
5
5
|
License: Apache-2.0
|
|
6
6
|
Requires-Python: >=3.9
|
|
@@ -11,12 +11,19 @@ Requires-Dist: pytest; extra == "dev"
|
|
|
11
11
|
Requires-Dist: ruff; extra == "dev"
|
|
12
12
|
|
|
13
13
|
# synapsedx SDK for Python
|
|
14
|
+
|
|
14
15
|
Apache-2.0. See root LICENSE. Part of [SynapseDX](../../README.md) Tier-1 PaaS.
|
|
15
16
|
|
|
17
|
+
Requires Python 3.10+. Single runtime dependency: `requests>=2.28`.
|
|
18
|
+
|
|
19
|
+
## Install
|
|
20
|
+
|
|
16
21
|
```bash
|
|
17
22
|
pip install synapsedx-sdk
|
|
18
23
|
```
|
|
19
24
|
|
|
25
|
+
## Quick start
|
|
26
|
+
|
|
20
27
|
```python
|
|
21
28
|
from synapsedx_sdk import SynapseDXClient
|
|
22
29
|
|
|
@@ -31,17 +38,8 @@ c.create_workflow_from_template("webhook-to-log", "demo")
|
|
|
31
38
|
|
|
32
39
|
Auth: `SynapseDXClient(base_url, token=..., api_key=...)`, or `set_token(jwt)` /
|
|
33
40
|
`set_api_key(key)` after login. `timeout` configurable (default 15s).
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
- Orgs/accounts/users: `list_orgs`, `create_org`, `list_accounts`, `create_account`,
|
|
40
|
-
`list_users`, `create_user`, `user_policies`
|
|
41
|
-
- IAM: `create_role`, `list_roles`, `delete_role`, `create_policy`, `list_policies`,
|
|
42
|
-
`delete_policy`, `attach_policy`, `assign_role`, `authorize`, `simulate`,
|
|
43
|
-
`list_audit`, `create_api_key`, `revoke_api_key`, `verify_api_key`,
|
|
44
|
-
`create_service_account`, `list_service_accounts`, `service_account_token`
|
|
45
|
-
- Workflows: `list_workflows`, `get_workflow`, `create_workflow_from_template`,
|
|
46
|
-
`create_workflow`, `activate_workflow`, `deactivate_workflow`, `execute_workflow`,
|
|
47
|
-
`list_templates`, `get_template`, `list_executions`, `get_execution`
|
|
41
|
+
|
|
42
|
+
## Full documentation
|
|
43
|
+
|
|
44
|
+
See **[docs/sdk-python.md](../../docs/sdk-python.md)** for the complete API reference —
|
|
45
|
+
constructor, auth, all methods with signatures, parameters, return types, and examples.
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# synapsedx SDK for Python
|
|
2
|
-
Apache-2.0. See root LICENSE. Part of [SynapseDX](../../README.md) Tier-1 PaaS.
|
|
3
|
-
|
|
4
|
-
```bash
|
|
5
|
-
pip install synapsedx-sdk
|
|
6
|
-
```
|
|
7
|
-
|
|
8
|
-
```python
|
|
9
|
-
from synapsedx_sdk import SynapseDXClient
|
|
10
|
-
|
|
11
|
-
c = SynapseDXClient("http://localhost:8080")
|
|
12
|
-
login = c.login("demo@acme.local")
|
|
13
|
-
c.set_token(login["accessToken"])
|
|
14
|
-
|
|
15
|
-
c.create_org("acme-2", "ACME 2")
|
|
16
|
-
c.authorize(login["user"]["id"], "workflow:Execute", "*")
|
|
17
|
-
c.create_workflow_from_template("webhook-to-log", "demo")
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
Auth: `SynapseDXClient(base_url, token=..., api_key=...)`, or `set_token(jwt)` /
|
|
21
|
-
`set_api_key(key)` after login. `timeout` configurable (default 15s).
|
|
22
|
-
See `synapsedx_sdk/example.py` and [docs/api.md](../../docs/api.md).
|
|
23
|
-
|
|
24
|
-
## Full method coverage (mirrors `docs/api.md`)
|
|
25
|
-
|
|
26
|
-
- Auth: `login`, `refresh`, `logout`, `logout_all`, `verify`, `me`
|
|
27
|
-
- Orgs/accounts/users: `list_orgs`, `create_org`, `list_accounts`, `create_account`,
|
|
28
|
-
`list_users`, `create_user`, `user_policies`
|
|
29
|
-
- IAM: `create_role`, `list_roles`, `delete_role`, `create_policy`, `list_policies`,
|
|
30
|
-
`delete_policy`, `attach_policy`, `assign_role`, `authorize`, `simulate`,
|
|
31
|
-
`list_audit`, `create_api_key`, `revoke_api_key`, `verify_api_key`,
|
|
32
|
-
`create_service_account`, `list_service_accounts`, `service_account_token`
|
|
33
|
-
- Workflows: `list_workflows`, `get_workflow`, `create_workflow_from_template`,
|
|
34
|
-
`create_workflow`, `activate_workflow`, `deactivate_workflow`, `execute_workflow`,
|
|
35
|
-
`list_templates`, `get_template`, `list_executions`, `get_execution`
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{synapsedx_sdk-0.3.1.dev10 → synapsedx_sdk-0.3.1.dev11}/synapsedx_sdk.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
{synapsedx_sdk-0.3.1.dev10 → synapsedx_sdk-0.3.1.dev11}/synapsedx_sdk.egg-info/top_level.txt
RENAMED
|
File without changes
|