udl-sdk 0.1.0a8__py3-none-any.whl → 0.1.0a9__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.
- {udl_sdk-0.1.0a8.dist-info → udl_sdk-0.1.0a9.dist-info}/METADATA +1 -1
- {udl_sdk-0.1.0a8.dist-info → udl_sdk-0.1.0a9.dist-info}/RECORD +9 -9
- unifieddatalibrary/_client.py +2 -0
- unifieddatalibrary/_version.py +1 -1
- unifieddatalibrary/resources/analytic_imagery.py +6 -2
- unifieddatalibrary/resources/ground_imagery/ground_imagery.py +6 -2
- unifieddatalibrary/resources/sky_imagery/sky_imagery.py +6 -2
- {udl_sdk-0.1.0a8.dist-info → udl_sdk-0.1.0a9.dist-info}/WHEEL +0 -0
- {udl_sdk-0.1.0a8.dist-info → udl_sdk-0.1.0a9.dist-info}/licenses/LICENSE +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: udl-sdk
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.0a9
|
4
4
|
Summary: The official Python library for the unifieddatalibrary API
|
5
5
|
Project-URL: Homepage, https://github.com/Bluestaq/udl-python-sdk
|
6
6
|
Project-URL: Repository, https://github.com/Bluestaq/udl-python-sdk
|
@@ -1,6 +1,6 @@
|
|
1
1
|
unifieddatalibrary/__init__.py,sha256=IQJ0lugf6YFNng4Oxk60bb4qC-4P6lJvLyCUT7-Ykpg,2677
|
2
2
|
unifieddatalibrary/_base_client.py,sha256=HSUV2RzHsJDeoAvH8nZiyz9ztizISvplahmb8xw5a_Q,64856
|
3
|
-
unifieddatalibrary/_client.py,sha256=
|
3
|
+
unifieddatalibrary/_client.py,sha256=FKYttEFm3XjiTV3LBrTuCvocM8pJJWwmBAhRR4LkYEM,136774
|
4
4
|
unifieddatalibrary/_compat.py,sha256=VWemUKbj6DDkQ-O4baSpHVLJafotzeXmCQGJugfVTIw,6580
|
5
5
|
unifieddatalibrary/_constants.py,sha256=S14PFzyN9-I31wiV7SmIlL5Ga0MLHxdvegInGdXH7tM,462
|
6
6
|
unifieddatalibrary/_exceptions.py,sha256=rkk8r4oyqb4bxjMtx0OFWsh1m8gsMfrnIGnNPO6zRz0,3244
|
@@ -11,7 +11,7 @@ unifieddatalibrary/_resource.py,sha256=Ik-pULzkvFIY2OgB9Ra7mIQKCle38FSP36dWWCH9v
|
|
11
11
|
unifieddatalibrary/_response.py,sha256=hdekMRMvxTvYdKfYIPvAxSpdiuRILRCYd5Dwcye-icg,28890
|
12
12
|
unifieddatalibrary/_streaming.py,sha256=LwKrocz7ZRmYd47TA3q-PLXwgdTgjANE-TCIRZB958s,10148
|
13
13
|
unifieddatalibrary/_types.py,sha256=Ig7yl6V3WuOW7nf5r9vmMDvds0bSTpM5nCI-OnuurP8,6155
|
14
|
-
unifieddatalibrary/_version.py,sha256=
|
14
|
+
unifieddatalibrary/_version.py,sha256=vA-YGZkGgEvxk0T_0RXlVLBFFmfdLG8wDkx3XuZe10g,178
|
15
15
|
unifieddatalibrary/pagination.py,sha256=Uuf4Q1bzJIgeFOadEoqFrzO8xbzmvTR6RJmO0cYM6zw,2415
|
16
16
|
unifieddatalibrary/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
17
17
|
unifieddatalibrary/_utils/__init__.py,sha256=PNZ_QJuzZEgyYXqkO1HVhGkj5IU9bglVUcw7H-Knjzw,2062
|
@@ -41,7 +41,7 @@ unifieddatalibrary/resources/airfields.py,sha256=VHG0yIzQwz0Ejr-Bzut0ZERKSWFerCU
|
|
41
41
|
unifieddatalibrary/resources/airload_plans.py,sha256=DbX79dMMYu93cKwUfC236H4ph-yTM2WQ6URZbecZoao,42712
|
42
42
|
unifieddatalibrary/resources/airspace_control_orders.py,sha256=yKv4QiFxxiShiGkCN3-iz2rF2M6hfKz4XKDNXXWVh1c,47311
|
43
43
|
unifieddatalibrary/resources/ais_objects.py,sha256=YkWIqa-fEI4qIfBWlJD8rreH195eX7jzM8gYg9Yu-5E,6852
|
44
|
-
unifieddatalibrary/resources/analytic_imagery.py,sha256=
|
44
|
+
unifieddatalibrary/resources/analytic_imagery.py,sha256=tqdkFitzIim7M-YGYKit1-GllQms6Ce0POdcsUo_jeM,55147
|
45
45
|
unifieddatalibrary/resources/antennas.py,sha256=GNsikLKUZR38PBHvgn954SNjX_5vHl3I4RrhHiaFPzY,40196
|
46
46
|
unifieddatalibrary/resources/attitude_data.py,sha256=hV0B1wSi_I2aR1QRcmrR24pjXkaSCjZ1a8WKcXnxMUU,11485
|
47
47
|
unifieddatalibrary/resources/attitudesets.py,sha256=5yGJuMogu3nzN0dX8Gh7AczqG3Lc6fbiQxoQBpyGnaw,7139
|
@@ -212,7 +212,7 @@ unifieddatalibrary/resources/gnss_raw_if/__init__.py,sha256=tHqhnd4YMeuHntE4VyhE
|
|
212
212
|
unifieddatalibrary/resources/gnss_raw_if/gnss_raw_if.py,sha256=4RZ6obdO-9Nn9qFP2J1C5Wynu291sEvjzwjcrHjMFeg,3764
|
213
213
|
unifieddatalibrary/resources/gnss_raw_if/history.py,sha256=LNEb7EGqGBWOnnStgtvkgqT-gVi969NSYqszueh2y_E,20547
|
214
214
|
unifieddatalibrary/resources/ground_imagery/__init__.py,sha256=z_QD5mPpv-bNKpuk0nGgOd_nJGPDid5wpyD_Lqnz1ic,1107
|
215
|
-
unifieddatalibrary/resources/ground_imagery/ground_imagery.py,sha256=
|
215
|
+
unifieddatalibrary/resources/ground_imagery/ground_imagery.py,sha256=izKp-sXf2iwjYB524XRpQR1tl5EEjHCG-qztNNrSgmU,61545
|
216
216
|
unifieddatalibrary/resources/ground_imagery/history.py,sha256=XESxe_ipv89lyAOeryceLs4Iv_7zucr4RL9rT3qUzrc,12850
|
217
217
|
unifieddatalibrary/resources/h3_geo/__init__.py,sha256=r5Gi74zHH9GOf9frEb-1ZZFEJcS9-CZCTrzFhYkv1Bo,1003
|
218
218
|
unifieddatalibrary/resources/h3_geo/h3_geo.py,sha256=d6oYF8VdCBGj4BIiYl5253b4ofFz3HPzamAVEbfjYN8,37028
|
@@ -336,7 +336,7 @@ unifieddatalibrary/resources/site_status/history.py,sha256=KTXqU_jbbf6PwcxA9l8Wo
|
|
336
336
|
unifieddatalibrary/resources/site_status/site_status.py,sha256=D3XwaqpQoDzT2pAu-4P88IM035H_BYuL6R9ClZBOSyY,78025
|
337
337
|
unifieddatalibrary/resources/sky_imagery/__init__.py,sha256=S35uuC6GAeQx40av44NGyUQXfpbr70ED1Atj4YDa8oU,1068
|
338
338
|
unifieddatalibrary/resources/sky_imagery/history.py,sha256=mwlFTlPtRk4pEj2_69OXfN01I5vfLIIgeLkXa80EcDg,20655
|
339
|
-
unifieddatalibrary/resources/sky_imagery/sky_imagery.py,sha256=
|
339
|
+
unifieddatalibrary/resources/sky_imagery/sky_imagery.py,sha256=qG_rKmHuNGfvA9AjYD4T0kl59gfCTYKt3ovYYWLK3KY,37590
|
340
340
|
unifieddatalibrary/resources/soi_observation_set/__init__.py,sha256=HA0u_PpHxDTTu34nmuvTUGKBysNuMSJWgLnUyeAqFDU,1160
|
341
341
|
unifieddatalibrary/resources/soi_observation_set/history.py,sha256=0yZBBZAU9eUYp6iDpv0VAPM9tkvkoFglJd3S4AIfkEI,20648
|
342
342
|
unifieddatalibrary/resources/soi_observation_set/soi_observation_set.py,sha256=YGIdsVotSnXNaureIKrFkjeUe1CNSb6SB9uoYUtCpLk,76737
|
@@ -2460,7 +2460,7 @@ unifieddatalibrary/types/weather_report/history_count_params.py,sha256=KFXFsL7q4
|
|
2460
2460
|
unifieddatalibrary/types/weather_report/history_count_response.py,sha256=ZAHTF5IoOvMAg9GyvtMvgeowh-ythtIJhcWtMbcM8wk,202
|
2461
2461
|
unifieddatalibrary/types/weather_report/history_list_params.py,sha256=JUd53E70wjtn7HlQ7LOZ7lUJREDJkaDYHv2eYW60T3Q,1019
|
2462
2462
|
unifieddatalibrary/types/weather_report/weather_report_full.py,sha256=iv7fHg9aQh6ztvl0ztve5Z3_8Ww-efPMBgrS0n5gXvM,20751
|
2463
|
-
udl_sdk-0.1.
|
2464
|
-
udl_sdk-0.1.
|
2465
|
-
udl_sdk-0.1.
|
2466
|
-
udl_sdk-0.1.
|
2463
|
+
udl_sdk-0.1.0a9.dist-info/METADATA,sha256=F-k9iWQCfzsEVfnmhKrUrjoqcY6SbqT5j-iBlyRGWqQ,17530
|
2464
|
+
udl_sdk-0.1.0a9.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
2465
|
+
udl_sdk-0.1.0a9.dist-info/licenses/LICENSE,sha256=YBMC8KbJHXtxIo1-d_G5WdWjtiwFyrcZ5jAsRwN4POI,11348
|
2466
|
+
udl_sdk-0.1.0a9.dist-info/RECORD,,
|
unifieddatalibrary/_client.py
CHANGED
@@ -428,6 +428,7 @@ class Unifieddatalibrary(SyncAPIClient):
|
|
428
428
|
|
429
429
|
if base_url is None:
|
430
430
|
base_url = os.environ.get("UNIFIEDDATALIBRARY_BASE_URL")
|
431
|
+
self._base_url_overridden = base_url is not None
|
431
432
|
if base_url is None:
|
432
433
|
base_url = f"https://unifieddatalibrary.com"
|
433
434
|
|
@@ -937,6 +938,7 @@ class AsyncUnifieddatalibrary(AsyncAPIClient):
|
|
937
938
|
|
938
939
|
if base_url is None:
|
939
940
|
base_url = os.environ.get("UNIFIEDDATALIBRARY_BASE_URL")
|
941
|
+
self._base_url_overridden = base_url is not None
|
940
942
|
if base_url is None:
|
941
943
|
base_url = f"https://unifieddatalibrary.com"
|
942
944
|
|
unifieddatalibrary/_version.py
CHANGED
@@ -580,7 +580,9 @@ class AnalyticImageryResource(SyncAPIResource):
|
|
580
580
|
# multipart/form-data; boundary=---abc--
|
581
581
|
extra_headers["Content-Type"] = "multipart/form-data"
|
582
582
|
return self._post(
|
583
|
-
"/filedrop/udl-analyticimagery"
|
583
|
+
"/filedrop/udl-analyticimagery"
|
584
|
+
if self._client._base_url_overridden
|
585
|
+
else "https://imagery.unifieddatalibrary.com/filedrop/udl-analyticimagery",
|
584
586
|
body=maybe_transform(
|
585
587
|
body, analytic_imagery_unvalidated_publish_params.AnalyticImageryUnvalidatedPublishParams
|
586
588
|
),
|
@@ -1126,7 +1128,9 @@ class AsyncAnalyticImageryResource(AsyncAPIResource):
|
|
1126
1128
|
# multipart/form-data; boundary=---abc--
|
1127
1129
|
extra_headers["Content-Type"] = "multipart/form-data"
|
1128
1130
|
return await self._post(
|
1129
|
-
"/filedrop/udl-analyticimagery"
|
1131
|
+
"/filedrop/udl-analyticimagery"
|
1132
|
+
if self._client._base_url_overridden
|
1133
|
+
else "https://imagery.unifieddatalibrary.com/filedrop/udl-analyticimagery",
|
1130
1134
|
body=await async_maybe_transform(
|
1131
1135
|
body, analytic_imagery_unvalidated_publish_params.AnalyticImageryUnvalidatedPublishParams
|
1132
1136
|
),
|
@@ -649,7 +649,9 @@ class GroundImageryResource(SyncAPIResource):
|
|
649
649
|
# multipart/form-data; boundary=---abc--
|
650
650
|
extra_headers["Content-Type"] = "multipart/form-data"
|
651
651
|
return self._post(
|
652
|
-
"/filedrop/udl-groundimagery"
|
652
|
+
"/filedrop/udl-groundimagery"
|
653
|
+
if self._client._base_url_overridden
|
654
|
+
else "https://imagery.unifieddatalibrary.com/filedrop/udl-groundimagery",
|
653
655
|
body=maybe_transform(body, ground_imagery_upload_zip_params.GroundImageryUploadZipParams),
|
654
656
|
files=files,
|
655
657
|
options=make_request_options(
|
@@ -1255,7 +1257,9 @@ class AsyncGroundImageryResource(AsyncAPIResource):
|
|
1255
1257
|
# multipart/form-data; boundary=---abc--
|
1256
1258
|
extra_headers["Content-Type"] = "multipart/form-data"
|
1257
1259
|
return await self._post(
|
1258
|
-
"/filedrop/udl-groundimagery"
|
1260
|
+
"/filedrop/udl-groundimagery"
|
1261
|
+
if self._client._base_url_overridden
|
1262
|
+
else "https://imagery.unifieddatalibrary.com/filedrop/udl-groundimagery",
|
1259
1263
|
body=await async_maybe_transform(body, ground_imagery_upload_zip_params.GroundImageryUploadZipParams),
|
1260
1264
|
files=files,
|
1261
1265
|
options=make_request_options(
|
@@ -405,7 +405,9 @@ class SkyImageryResource(SyncAPIResource):
|
|
405
405
|
# multipart/form-data; boundary=---abc--
|
406
406
|
extra_headers["Content-Type"] = "multipart/form-data"
|
407
407
|
return self._post(
|
408
|
-
"/filedrop/udl-skyimagery"
|
408
|
+
"/filedrop/udl-skyimagery"
|
409
|
+
if self._client._base_url_overridden
|
410
|
+
else "https://imagery.unifieddatalibrary.com/filedrop/udl-skyimagery",
|
409
411
|
body=maybe_transform(body, sky_imagery_upload_zip_params.SkyImageryUploadZipParams),
|
410
412
|
files=files,
|
411
413
|
options=make_request_options(
|
@@ -770,7 +772,9 @@ class AsyncSkyImageryResource(AsyncAPIResource):
|
|
770
772
|
# multipart/form-data; boundary=---abc--
|
771
773
|
extra_headers["Content-Type"] = "multipart/form-data"
|
772
774
|
return await self._post(
|
773
|
-
"/filedrop/udl-skyimagery"
|
775
|
+
"/filedrop/udl-skyimagery"
|
776
|
+
if self._client._base_url_overridden
|
777
|
+
else "https://imagery.unifieddatalibrary.com/filedrop/udl-skyimagery",
|
774
778
|
body=await async_maybe_transform(body, sky_imagery_upload_zip_params.SkyImageryUploadZipParams),
|
775
779
|
files=files,
|
776
780
|
options=make_request_options(
|
File without changes
|
File without changes
|