honua-admin 0.3.2__tar.gz → 0.3.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.
@@ -10,6 +10,14 @@
10
10
 
11
11
  - Replace `layer unpublish` with `layer disable` in `honua-admin` and in `honua` when this admin package is installed. The command disables serving and retains the Layer definition; `layer enable` restores serving. Update scripts to use `disable`. The `datasource` command path remains unchanged and manages Connections.
12
12
 
13
+ ## [0.3.3](https://github.com/honua-io/honua-sdk-python/compare/python-admin-v0.3.2...python-admin-v0.3.3) (2026-11-23)
14
+
15
+
16
+ ### Documentation
17
+
18
+ * repair published package guidance and runnable admin example ([#408](https://github.com/honua-io/honua-sdk-python/issues/408)) ([bfc2d53](https://github.com/honua-io/honua-sdk-python/commit/bfc2d534d5d51e99c7eb3be57ba89114997aabd0))
19
+ * verify the installed wheel attestation ([#420](https://github.com/honua-io/honua-sdk-python/issues/420)) ([d16faec](https://github.com/honua-io/honua-sdk-python/commit/d16faecd6a29ef137e3b85fb2148f3bb6e6d998d)), closes [#419](https://github.com/honua-io/honua-sdk-python/issues/419)
20
+
13
21
  ## [0.3.2](https://github.com/honua-io/honua-sdk-python/compare/python-admin-v0.3.1...python-admin-v0.3.2) (2026-11-13)
14
22
 
15
23
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: honua-admin
3
- Version: 0.3.2
3
+ Version: 0.3.3
4
4
  Summary: Admin / control-plane client for Honua geospatial server
5
5
  Project-URL: Homepage, https://honua.io
6
6
  Project-URL: Documentation, https://honua-io.github.io/honua-sdk-python/latest/
@@ -21,7 +21,7 @@ Classifier: Programming Language :: Python :: 3.13
21
21
  Classifier: Topic :: Scientific/Engineering :: GIS
22
22
  Classifier: Typing :: Typed
23
23
  Requires-Python: >=3.11
24
- Requires-Dist: honua-sdk<0.4,>=0.3.2
24
+ Requires-Dist: honua-sdk<0.4,>=0.3.3
25
25
  Description-Content-Type: text/markdown
26
26
 
27
27
  # honua-admin
@@ -103,19 +103,26 @@ accepts (e.g. `RefreshableBearerTokenProvider`) works here unchanged.
103
103
  ### Async
104
104
 
105
105
  ```python
106
+ import asyncio
107
+
106
108
  from honua_admin import AsyncHonuaAdminClient
107
109
 
108
- async with AsyncHonuaAdminClient(
109
- "https://your-honua-server.com",
110
- api_key="honua-api-key",
111
- ) as admin:
112
- compatibility = await admin.check_compatibility()
113
- if not compatibility.supported:
114
- raise RuntimeError("; ".join(compatibility.reasons))
115
110
 
116
- services = await admin.list_services()
117
- for svc in services:
118
- print(f"{svc.service_name}: {svc.layer_count} layers")
111
+ async def main() -> None:
112
+ async with AsyncHonuaAdminClient(
113
+ "https://your-honua-server.com",
114
+ api_key="honua-api-key",
115
+ ) as admin:
116
+ compatibility = await admin.check_compatibility()
117
+ if not compatibility.supported:
118
+ raise RuntimeError("; ".join(compatibility.reasons))
119
+
120
+ services = await admin.list_services()
121
+ for svc in services:
122
+ print(f"{svc.service_name}: {svc.layer_count} layers")
123
+
124
+
125
+ asyncio.run(main())
119
126
  ```
120
127
 
121
128
  The async client mirrors the sync method surface (CRUD helpers, manifest
@@ -150,10 +157,13 @@ Related: [honua-sdk](https://github.com/honua-io/honua-sdk-python/tree/trunk/pac
150
157
  From 0.2.1, each PyPI release is built by this repository's publication workflow, which attaches
151
158
  the same wheel and sdist to the matching GitHub release and records a build-provenance attestation
152
159
  for them. 0.2.0 was published without an attestation; use 0.2.1 or later when you need to verify
153
- provenance. To check a downloaded file:
160
+ provenance. After this package is installed, download that same version and check the wheel:
154
161
 
155
162
  ```bash
156
- gh attestation verify honua_admin-<version>-py3-none-any.whl --repo honua-io/honua-sdk-python
163
+ version="$(python3 -c 'import importlib.metadata as metadata; print(metadata.version("honua-admin"))')"
164
+ mkdir -p ./honua-wheels
165
+ pip download "honua-admin==${version}" --no-deps --dest ./honua-wheels
166
+ gh attestation verify "./honua-wheels/honua_admin-${version}-py3-none-any.whl" --repo honua-io/honua-sdk-python
157
167
  ```
158
168
 
159
169
  ## License
@@ -77,19 +77,26 @@ accepts (e.g. `RefreshableBearerTokenProvider`) works here unchanged.
77
77
  ### Async
78
78
 
79
79
  ```python
80
+ import asyncio
81
+
80
82
  from honua_admin import AsyncHonuaAdminClient
81
83
 
82
- async with AsyncHonuaAdminClient(
83
- "https://your-honua-server.com",
84
- api_key="honua-api-key",
85
- ) as admin:
86
- compatibility = await admin.check_compatibility()
87
- if not compatibility.supported:
88
- raise RuntimeError("; ".join(compatibility.reasons))
89
84
 
90
- services = await admin.list_services()
91
- for svc in services:
92
- print(f"{svc.service_name}: {svc.layer_count} layers")
85
+ async def main() -> None:
86
+ async with AsyncHonuaAdminClient(
87
+ "https://your-honua-server.com",
88
+ api_key="honua-api-key",
89
+ ) as admin:
90
+ compatibility = await admin.check_compatibility()
91
+ if not compatibility.supported:
92
+ raise RuntimeError("; ".join(compatibility.reasons))
93
+
94
+ services = await admin.list_services()
95
+ for svc in services:
96
+ print(f"{svc.service_name}: {svc.layer_count} layers")
97
+
98
+
99
+ asyncio.run(main())
93
100
  ```
94
101
 
95
102
  The async client mirrors the sync method surface (CRUD helpers, manifest
@@ -124,10 +131,13 @@ Related: [honua-sdk](https://github.com/honua-io/honua-sdk-python/tree/trunk/pac
124
131
  From 0.2.1, each PyPI release is built by this repository's publication workflow, which attaches
125
132
  the same wheel and sdist to the matching GitHub release and records a build-provenance attestation
126
133
  for them. 0.2.0 was published without an attestation; use 0.2.1 or later when you need to verify
127
- provenance. To check a downloaded file:
134
+ provenance. After this package is installed, download that same version and check the wheel:
128
135
 
129
136
  ```bash
130
- gh attestation verify honua_admin-<version>-py3-none-any.whl --repo honua-io/honua-sdk-python
137
+ version="$(python3 -c 'import importlib.metadata as metadata; print(metadata.version("honua-admin"))')"
138
+ mkdir -p ./honua-wheels
139
+ pip download "honua-admin==${version}" --no-deps --dest ./honua-wheels
140
+ gh attestation verify "./honua-wheels/honua_admin-${version}-py3-none-any.whl" --repo honua-io/honua-sdk-python
131
141
  ```
132
142
 
133
143
  ## License
@@ -2187,7 +2187,7 @@ class AsyncHonuaAdminClient:
2187
2187
 
2188
2188
  Raises:
2189
2189
  HonuaHttpError: The server responded with a non-success status
2190
- (``404`` for an unknown or other-tenant proposal).
2190
+ (``404`` for an unknown or inaccessible proposal).
2191
2191
  HonuaTransportError: The request failed at the transport layer.
2192
2192
  """
2193
2193
  proposal_id = encode_path_segment(id)
@@ -2188,7 +2188,7 @@ class HonuaAdminClient:
2188
2188
 
2189
2189
  Raises:
2190
2190
  HonuaHttpError: The server responded with a non-success status
2191
- (``404`` for an unknown or other-tenant proposal).
2191
+ (``404`` for an unknown or inaccessible proposal).
2192
2192
  HonuaTransportError: The request failed at the transport layer.
2193
2193
  """
2194
2194
  proposal_id = encode_path_segment(id)
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "honua-admin"
7
- version = "0.3.2"
7
+ version = "0.3.3"
8
8
  description = "Admin / control-plane client for Honua geospatial server"
9
9
  readme = "README.md"
10
10
  license = "Apache-2.0"
@@ -27,7 +27,7 @@ classifiers = [
27
27
  dependencies = [
28
28
  # The floor tracks the honua-sdk release (release-please generic updater on the line
29
29
  # below) so honua-admin always requires the SDK it was released with.
30
- "honua-sdk>=0.3.2,<0.4", # x-release-please-version
30
+ "honua-sdk>=0.3.3,<0.4", # x-release-please-version
31
31
  ]
32
32
 
33
33
  [project.scripts]
File without changes
File without changes