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.
Files changed (37) hide show
  1. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/PKG-INFO +12 -17
  2. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/README.md +7 -12
  3. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/pyproject.toml +5 -5
  4. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/.gitignore +0 -0
  5. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/bitbucket-pipelines.yml +0 -0
  6. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/cleanlib_sdk/__init__.py +0 -0
  7. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/cleanlib_sdk/client.py +0 -0
  8. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/cleanlib_sdk/derive_status.py +0 -0
  9. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/cleanlib_sdk/errors.py +0 -0
  10. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/cleanlib_sdk/http/__init__.py +0 -0
  11. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/cleanlib_sdk/http/enrich_client.py +0 -0
  12. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/cleanlib_sdk/http/enrich_types.py +0 -0
  13. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/cleanlib_sdk/http/remediation_client.py +0 -0
  14. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/cleanlib_sdk/http/types.py +0 -0
  15. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/cleanlib_sdk/http/verdict_client.py +0 -0
  16. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/cleanlib_sdk/reason_codes.py +0 -0
  17. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/cleanlib_sdk/schema/__init__.py +0 -0
  18. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/cleanlib_sdk/schema/verdict_envelope_v1.py +0 -0
  19. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/cleanlib_sdk/transport.py +0 -0
  20. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/cleanlib_sdk/types.py +0 -0
  21. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/tests/__init__.py +0 -0
  22. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/tests/fixtures/contract-fixtures/CORPUS-README.md +0 -0
  23. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/tests/fixtures/contract-fixtures/EXPECTED.json +0 -0
  24. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/tests/fixtures/contract-fixtures/fixtures/verdict-allow-clean.json +0 -0
  25. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/tests/fixtures/contract-fixtures/fixtures/verdict-allow-recommended.json +0 -0
  26. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/tests/fixtures/contract-fixtures/fixtures/verdict-degraded-stale.json +0 -0
  27. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/tests/fixtures/contract-fixtures/fixtures/verdict-deny-exploitation-critical.json +0 -0
  28. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/tests/fixtures/contract-fixtures/fixtures/verdict-deny-kev.json +0 -0
  29. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/tests/fixtures/contract-fixtures/fixtures/verdict-unreachable.json +0 -0
  30. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/tests/fixtures/contract-fixtures/fixtures/verdict-warn-abandoned.json +0 -0
  31. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/tests/fixtures/contract-fixtures/fixtures/verdict-warn-has-remediation.json +0 -0
  32. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/tests/test_attestation.py +0 -0
  33. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/tests/test_client_construct.py +0 -0
  34. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/tests/test_error_mapping.py +0 -0
  35. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/tests/test_v041_contract_and_clients.py +0 -0
  36. {cleanlib_sdk-0.4.2 → cleanlib_sdk-0.4.3}/tests/test_v042_enrich_cascade.py +0 -0
  37. {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.2
4
- Summary: CleanLibrary Python SDK — HttpVerdictClient + HttpRemediationClient + HttpEnrichClient triad (sister-shape with @cleanstart/cleanlib-sdk v0.4.2)
5
- Project-URL: Homepage, https://bitbucket.org/triamsec/cleanlib-sdk-py
6
- Project-URL: Source, https://bitbucket.org/triamsec/cleanlib-sdk-py
7
- Project-URL: Documentation, https://bitbucket.org/triamsec/cleanlib/src/main/workstream-specs/05-app/sdk-substrate-rev1.md
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-py
26
+ # cleanlib-sdk
27
27
 
28
28
  CleanLibrary Python SDK — `asyncio` + `httpx`; mirrors the Rust `cleanlib-client` HTTP surface.
29
29
 
30
- **Status**: `v0.1.0-substrate` (cycle-4 §D.1). Substrate-only `fetch_verdict` ships; remaining verbs (`scan` / `audit_recent` / `policy_preview` / `fetch_bytes`) iterate cycle-5+.
30
+ **Status**: `v0.4.3` — production-ready.
31
31
 
32
- ## Install (cycle-5+; not yet on PyPI)
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
- - [App workstream substrate spec](https://bitbucket.org/triamsec/cleanlib/src/main/workstream-specs/05-app/sdk-substrate-rev1.md) — canonical surface design
97
- - [Rust cleanlib-client](https://bitbucket.org/triamsec/cleanlib/src/main/cleanlib-client/) — reference implementation
98
- - [App customer endpoint contract](https://bitbucket.org/triamsec/cleanlib/src/main/workstream-specs/05-app/app-scope-outline-rev4.md) §9 — HTTP surface contract
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-py
1
+ # cleanlib-sdk
2
2
 
3
3
  CleanLibrary Python SDK — `asyncio` + `httpx`; mirrors the Rust `cleanlib-client` HTTP surface.
4
4
 
5
- **Status**: `v0.1.0-substrate` (cycle-4 §D.1). Substrate-only `fetch_verdict` ships; remaining verbs (`scan` / `audit_recent` / `policy_preview` / `fetch_bytes`) iterate cycle-5+.
5
+ **Status**: `v0.4.3` — production-ready.
6
6
 
7
- ## Install (cycle-5+; not yet on PyPI)
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
- - [App workstream substrate spec](https://bitbucket.org/triamsec/cleanlib/src/main/workstream-specs/05-app/sdk-substrate-rev1.md) — canonical surface design
72
- - [Rust cleanlib-client](https://bitbucket.org/triamsec/cleanlib/src/main/cleanlib-client/) — reference implementation
73
- - [App customer endpoint contract](https://bitbucket.org/triamsec/cleanlib/src/main/workstream-specs/05-app/app-scope-outline-rev4.md) §9 — HTTP surface contract
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.2"
8
- description = "CleanLibrary Python SDK — HttpVerdictClient + HttpRemediationClient + HttpEnrichClient triad (sister-shape with @cleanstart/cleanlib-sdk v0.4.2)"
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://bitbucket.org/triamsec/cleanlib-sdk-py"
36
- Source = "https://bitbucket.org/triamsec/cleanlib-sdk-py"
37
- Documentation = "https://bitbucket.org/triamsec/cleanlib/src/main/workstream-specs/05-app/sdk-substrate-rev1.md"
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