adcp 2.12.0__py3-none-any.whl → 2.12.1__py3-none-any.whl
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.
- adcp/__init__.py +9 -8
- {adcp-2.12.0.dist-info → adcp-2.12.1.dist-info}/METADATA +1 -1
- {adcp-2.12.0.dist-info → adcp-2.12.1.dist-info}/RECORD +8 -8
- {adcp-2.12.0.data/data → adcp}/ADCP_VERSION +0 -0
- {adcp-2.12.0.dist-info → adcp-2.12.1.dist-info}/WHEEL +0 -0
- {adcp-2.12.0.dist-info → adcp-2.12.1.dist-info}/entry_points.txt +0 -0
- {adcp-2.12.0.dist-info → adcp-2.12.1.dist-info}/licenses/LICENSE +0 -0
- {adcp-2.12.0.dist-info → adcp-2.12.1.dist-info}/top_level.txt +0 -0
adcp/__init__.py
CHANGED
|
@@ -179,7 +179,7 @@ from adcp.validation import (
|
|
|
179
179
|
validate_publisher_properties_item,
|
|
180
180
|
)
|
|
181
181
|
|
|
182
|
-
__version__ = "2.12.
|
|
182
|
+
__version__ = "2.12.1"
|
|
183
183
|
|
|
184
184
|
|
|
185
185
|
def get_adcp_version() -> str:
|
|
@@ -191,15 +191,16 @@ def get_adcp_version() -> str:
|
|
|
191
191
|
of the AdCP specification.
|
|
192
192
|
|
|
193
193
|
Returns:
|
|
194
|
-
AdCP specification version (e.g., "
|
|
194
|
+
AdCP specification version (e.g., "2.5.0")
|
|
195
|
+
|
|
196
|
+
Raises:
|
|
197
|
+
FileNotFoundError: If ADCP_VERSION file is missing from package
|
|
195
198
|
"""
|
|
196
|
-
from
|
|
199
|
+
from importlib.resources import files
|
|
197
200
|
|
|
198
|
-
# Read from ADCP_VERSION file
|
|
199
|
-
version_file =
|
|
200
|
-
|
|
201
|
-
return version_file.read_text().strip()
|
|
202
|
-
return "v1" # Fallback
|
|
201
|
+
# Read from ADCP_VERSION file in package
|
|
202
|
+
version_file = files("adcp") / "ADCP_VERSION"
|
|
203
|
+
return version_file.read_text().strip()
|
|
203
204
|
|
|
204
205
|
__all__ = [
|
|
205
206
|
# Version functions
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
adcp/
|
|
1
|
+
adcp/ADCP_VERSION,sha256=cy9k2HT5B4jAGZsMGb_Zs7ZDbhQBFOU-RigyUy10xhw,6
|
|
2
|
+
adcp/__init__.py,sha256=rcNJLjYSDM9ODt00Jmm_JwlruENFINxubTY3kHKkU_U,9932
|
|
2
3
|
adcp/__main__.py,sha256=8v-j_W9IIWDIcvhaR1yuZAhBCDRfehUyN0tusstzyfQ,15139
|
|
3
4
|
adcp/adagents.py,sha256=o-vTBmdZvu9aER-TAlLLL3s-WGYY8N67jnrAH24lST8,22333
|
|
4
5
|
adcp/client.py,sha256=PQsmfpL-j2msTbWZkOcH0ZFGzPP9hh0QOPZ2fFrm8Q8,37149
|
|
@@ -167,10 +168,9 @@ adcp/utils/__init__.py,sha256=uetvSJB19CjQbtwEYZiTnumJG11GsafQmXm5eR3hL7E,153
|
|
|
167
168
|
adcp/utils/operation_id.py,sha256=wQX9Bb5epXzRq23xoeYPTqzu5yLuhshg7lKJZihcM2k,294
|
|
168
169
|
adcp/utils/preview_cache.py,sha256=rZTZfrN2MOvIWsvyyiNhrc2iVxoaFV_QaB1DlfsUH-Y,18668
|
|
169
170
|
adcp/utils/response_parser.py,sha256=uPk2vIH-RYZmq7y3i8lC4HTMQ3FfKdlgXKTjgJ1955M,6253
|
|
170
|
-
adcp-2.12.
|
|
171
|
-
adcp-2.12.
|
|
172
|
-
adcp-2.12.
|
|
173
|
-
adcp-2.12.
|
|
174
|
-
adcp-2.12.
|
|
175
|
-
adcp-2.12.
|
|
176
|
-
adcp-2.12.0.dist-info/RECORD,,
|
|
171
|
+
adcp-2.12.1.dist-info/licenses/LICENSE,sha256=PF39NR3Ae8PLgBhg3Uxw6ju7iGVIf8hfv9LRWQdii_U,629
|
|
172
|
+
adcp-2.12.1.dist-info/METADATA,sha256=Z25uIb6_OJcimm0HJv6IB-kERob63z50L9vFrpH8j7M,31358
|
|
173
|
+
adcp-2.12.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
174
|
+
adcp-2.12.1.dist-info/entry_points.txt,sha256=DQKpcGsJX8DtVI_SGApQ7tNvqUB4zkTLaTAEpFgmi3U,44
|
|
175
|
+
adcp-2.12.1.dist-info/top_level.txt,sha256=T1_NF0GefncFU9v_k56oDwKSJREyCqIM8lAwNZf0EOs,5
|
|
176
|
+
adcp-2.12.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|