cleanlib-sdk 0.4.2__tar.gz → 0.4.3__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.
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/PKG-INFO +12 -17
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/README.md +7 -12
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/pyproject.toml +5 -5
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/.gitignore +0 -0
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/bitbucket-pipelines.yml +0 -0
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/cleanlib_sdk/__init__.py +0 -0
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/cleanlib_sdk/client.py +0 -0
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/cleanlib_sdk/derive_status.py +0 -0
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/cleanlib_sdk/errors.py +0 -0
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/cleanlib_sdk/http/__init__.py +0 -0
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/cleanlib_sdk/http/enrich_client.py +0 -0
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/cleanlib_sdk/http/enrich_types.py +0 -0
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/cleanlib_sdk/http/remediation_client.py +0 -0
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/cleanlib_sdk/http/types.py +0 -0
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/cleanlib_sdk/http/verdict_client.py +0 -0
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/cleanlib_sdk/reason_codes.py +0 -0
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/cleanlib_sdk/schema/__init__.py +0 -0
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/cleanlib_sdk/schema/verdict_envelope_v1.py +0 -0
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/cleanlib_sdk/transport.py +0 -0
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/cleanlib_sdk/types.py +0 -0
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/tests/__init__.py +0 -0
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/tests/fixtures/contract-fixtures/CORPUS-README.md +0 -0
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/tests/fixtures/contract-fixtures/EXPECTED.json +0 -0
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/tests/fixtures/contract-fixtures/fixtures/verdict-allow-clean.json +0 -0
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/tests/fixtures/contract-fixtures/fixtures/verdict-allow-recommended.json +0 -0
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/tests/fixtures/contract-fixtures/fixtures/verdict-degraded-stale.json +0 -0
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/tests/fixtures/contract-fixtures/fixtures/verdict-deny-exploitation-critical.json +0 -0
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/tests/fixtures/contract-fixtures/fixtures/verdict-deny-kev.json +0 -0
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/tests/fixtures/contract-fixtures/fixtures/verdict-unreachable.json +0 -0
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/tests/fixtures/contract-fixtures/fixtures/verdict-warn-abandoned.json +0 -0
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/tests/fixtures/contract-fixtures/fixtures/verdict-warn-has-remediation.json +0 -0
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/tests/test_attestation.py +0 -0
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/tests/test_client_construct.py +0 -0
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/tests/test_error_mapping.py +0 -0
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/tests/test_v041_contract_and_clients.py +0 -0
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/tests/test_v042_enrich_cascade.py +0 -0
- {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/tests/test_v04_rich_data_and_verbs.py +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cleanlib-sdk
|
|
3
|
-
Version: 0.4.
|
|
4
|
-
Summary: CleanLibrary Python SDK — HttpVerdictClient + HttpRemediationClient + HttpEnrichClient triad (sister-shape with @cleanstart/cleanlib-sdk v0.4.
|
|
5
|
-
Project-URL: Homepage, https://
|
|
6
|
-
Project-URL:
|
|
7
|
-
Project-URL:
|
|
3
|
+
Version: 0.4.3
|
|
4
|
+
Summary: CleanLibrary Python SDK — HttpVerdictClient + HttpRemediationClient + HttpEnrichClient triad (sister-shape with @cleanstart/cleanlib-sdk v0.4.4)
|
|
5
|
+
Project-URL: Homepage, https://cleanlibrary.clnstrt.dev
|
|
6
|
+
Project-URL: Documentation, https://cleanlibrary.clnstrt.dev/docs/sdk-python
|
|
7
|
+
Project-URL: Bug Tracker, https://cleanlibrary.clnstrt.dev/support
|
|
8
8
|
Author: CleanStart
|
|
9
9
|
License: Proprietary
|
|
10
10
|
Classifier: Development Status :: 2 - Pre-Alpha
|
|
@@ -23,24 +23,18 @@ Requires-Dist: pytest>=8; extra == 'dev'
|
|
|
23
23
|
Requires-Dist: ruff>=0.5; extra == 'dev'
|
|
24
24
|
Description-Content-Type: text/markdown
|
|
25
25
|
|
|
26
|
-
# cleanlib-sdk
|
|
26
|
+
# cleanlib-sdk
|
|
27
27
|
|
|
28
28
|
CleanLibrary Python SDK — `asyncio` + `httpx`; mirrors the Rust `cleanlib-client` HTTP surface.
|
|
29
29
|
|
|
30
|
-
**Status**: `v0.
|
|
30
|
+
**Status**: `v0.4.3` — production-ready.
|
|
31
31
|
|
|
32
|
-
## Install
|
|
32
|
+
## Install
|
|
33
33
|
|
|
34
34
|
```bash
|
|
35
35
|
pip install cleanlib-sdk
|
|
36
36
|
```
|
|
37
37
|
|
|
38
|
-
For cycle-4 substrate, install from this repo:
|
|
39
|
-
|
|
40
|
-
```bash
|
|
41
|
-
pip install git+https://bitbucket.org/triamsec/cleanlib-sdk-py.git
|
|
42
|
-
```
|
|
43
|
-
|
|
44
38
|
## Usage
|
|
45
39
|
|
|
46
40
|
```python
|
|
@@ -93,9 +87,10 @@ ruff check .
|
|
|
93
87
|
|
|
94
88
|
## Cross-references
|
|
95
89
|
|
|
96
|
-
- [
|
|
97
|
-
-
|
|
98
|
-
-
|
|
90
|
+
- [CleanLibrary docs](https://cleanlibrary.clnstrt.dev) — customer documentation portal
|
|
91
|
+
- Rust SDK: [`cleanlib-client`](https://crates.io/crates/cleanlib-client) — reference implementation
|
|
92
|
+
- Go SDK: [`cleanlib-sdk-go`](https://pkg.clnstrt.dev/cleanlib-sdk-go)
|
|
93
|
+
- JavaScript SDK: [`@cleanstart/cleanlib-sdk`](https://www.npmjs.com/package/@cleanstart/cleanlib-sdk)
|
|
99
94
|
|
|
100
95
|
## License
|
|
101
96
|
|
|
@@ -1,21 +1,15 @@
|
|
|
1
|
-
# cleanlib-sdk
|
|
1
|
+
# cleanlib-sdk
|
|
2
2
|
|
|
3
3
|
CleanLibrary Python SDK — `asyncio` + `httpx`; mirrors the Rust `cleanlib-client` HTTP surface.
|
|
4
4
|
|
|
5
|
-
**Status**: `v0.
|
|
5
|
+
**Status**: `v0.4.3` — production-ready.
|
|
6
6
|
|
|
7
|
-
## Install
|
|
7
|
+
## Install
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
10
|
pip install cleanlib-sdk
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
For cycle-4 substrate, install from this repo:
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
pip install git+https://bitbucket.org/triamsec/cleanlib-sdk-py.git
|
|
17
|
-
```
|
|
18
|
-
|
|
19
13
|
## Usage
|
|
20
14
|
|
|
21
15
|
```python
|
|
@@ -68,9 +62,10 @@ ruff check .
|
|
|
68
62
|
|
|
69
63
|
## Cross-references
|
|
70
64
|
|
|
71
|
-
- [
|
|
72
|
-
-
|
|
73
|
-
-
|
|
65
|
+
- [CleanLibrary docs](https://cleanlibrary.clnstrt.dev) — customer documentation portal
|
|
66
|
+
- Rust SDK: [`cleanlib-client`](https://crates.io/crates/cleanlib-client) — reference implementation
|
|
67
|
+
- Go SDK: [`cleanlib-sdk-go`](https://pkg.clnstrt.dev/cleanlib-sdk-go)
|
|
68
|
+
- JavaScript SDK: [`@cleanstart/cleanlib-sdk`](https://www.npmjs.com/package/@cleanstart/cleanlib-sdk)
|
|
74
69
|
|
|
75
70
|
## License
|
|
76
71
|
|
|
@@ -4,8 +4,8 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "cleanlib-sdk"
|
|
7
|
-
version = "0.4.
|
|
8
|
-
description = "CleanLibrary Python SDK — HttpVerdictClient + HttpRemediationClient + HttpEnrichClient triad (sister-shape with @cleanstart/cleanlib-sdk v0.4.
|
|
7
|
+
version = "0.4.3"
|
|
8
|
+
description = "CleanLibrary Python SDK — HttpVerdictClient + HttpRemediationClient + HttpEnrichClient triad (sister-shape with @cleanstart/cleanlib-sdk v0.4.4)"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
11
11
|
license = { text = "Proprietary" }
|
|
@@ -32,9 +32,9 @@ dev = [
|
|
|
32
32
|
]
|
|
33
33
|
|
|
34
34
|
[project.urls]
|
|
35
|
-
Homepage = "https://
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
Homepage = "https://cleanlibrary.clnstrt.dev"
|
|
36
|
+
Documentation = "https://cleanlibrary.clnstrt.dev/docs/sdk-python"
|
|
37
|
+
"Bug Tracker" = "https://cleanlibrary.clnstrt.dev/support"
|
|
38
38
|
|
|
39
39
|
[tool.hatch.build.targets.wheel]
|
|
40
40
|
packages = ["cleanlib_sdk"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|