capo-location 0.1.0__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 (435) hide show
  1. capo_location-0.1.0/LICENSE +21 -0
  2. capo_location-0.1.0/PKG-INFO +33 -0
  3. capo_location-0.1.0/README.md +7 -0
  4. capo_location-0.1.0/pyproject.toml +60 -0
  5. capo_location-0.1.0/setup.cfg +4 -0
  6. capo_location-0.1.0/src/capo_location/__init__.py +70 -0
  7. capo_location-0.1.0/src/capo_location/_async.py +25 -0
  8. capo_location-0.1.0/src/capo_location/_auth/_identity.py +16 -0
  9. capo_location-0.1.0/src/capo_location/_auth/_providers.py +886 -0
  10. capo_location-0.1.0/src/capo_location/_auth/_signers.py +88 -0
  11. capo_location-0.1.0/src/capo_location/_auth/_sigv4.py +434 -0
  12. capo_location-0.1.0/src/capo_location/_auth/_zapros_handler.py +80 -0
  13. capo_location-0.1.0/src/capo_location/_iter.py +113 -0
  14. capo_location-0.1.0/src/capo_location/_operations/location_service/associate_tracker_consumer.py +171 -0
  15. capo_location-0.1.0/src/capo_location/_operations/location_service/batch_delete_device_position_history.py +172 -0
  16. capo_location-0.1.0/src/capo_location/_operations/location_service/batch_delete_geofence.py +170 -0
  17. capo_location-0.1.0/src/capo_location/_operations/location_service/batch_evaluate_geofences.py +174 -0
  18. capo_location-0.1.0/src/capo_location/_operations/location_service/batch_get_device_position.py +168 -0
  19. capo_location-0.1.0/src/capo_location/_operations/location_service/batch_put_geofence.py +175 -0
  20. capo_location-0.1.0/src/capo_location/_operations/location_service/batch_update_device_position.py +167 -0
  21. capo_location-0.1.0/src/capo_location/_operations/location_service/calculate_route.py +179 -0
  22. capo_location-0.1.0/src/capo_location/_operations/location_service/calculate_route_matrix.py +176 -0
  23. capo_location-0.1.0/src/capo_location/_operations/location_service/cancel_job.py +155 -0
  24. capo_location-0.1.0/src/capo_location/_operations/location_service/create_geofence_collection.py +170 -0
  25. capo_location-0.1.0/src/capo_location/_operations/location_service/create_key.py +168 -0
  26. capo_location-0.1.0/src/capo_location/_operations/location_service/create_map.py +168 -0
  27. capo_location-0.1.0/src/capo_location/_operations/location_service/create_place_index.py +175 -0
  28. capo_location-0.1.0/src/capo_location/_operations/location_service/create_route_calculator.py +170 -0
  29. capo_location-0.1.0/src/capo_location/_operations/location_service/create_tracker.py +172 -0
  30. capo_location-0.1.0/src/capo_location/_operations/location_service/delete_geofence_collection.py +157 -0
  31. capo_location-0.1.0/src/capo_location/_operations/location_service/delete_key.py +153 -0
  32. capo_location-0.1.0/src/capo_location/_operations/location_service/delete_map.py +151 -0
  33. capo_location-0.1.0/src/capo_location/_operations/location_service/delete_place_index.py +157 -0
  34. capo_location-0.1.0/src/capo_location/_operations/location_service/delete_route_calculator.py +157 -0
  35. capo_location-0.1.0/src/capo_location/_operations/location_service/delete_tracker.py +155 -0
  36. capo_location-0.1.0/src/capo_location/_operations/location_service/describe_geofence_collection.py +163 -0
  37. capo_location-0.1.0/src/capo_location/_operations/location_service/describe_key.py +166 -0
  38. capo_location-0.1.0/src/capo_location/_operations/location_service/describe_map.py +166 -0
  39. capo_location-0.1.0/src/capo_location/_operations/location_service/describe_place_index.py +164 -0
  40. capo_location-0.1.0/src/capo_location/_operations/location_service/describe_route_calculator.py +163 -0
  41. capo_location-0.1.0/src/capo_location/_operations/location_service/describe_tracker.py +167 -0
  42. capo_location-0.1.0/src/capo_location/_operations/location_service/disassociate_tracker_consumer.py +161 -0
  43. capo_location-0.1.0/src/capo_location/_operations/location_service/forecast_geofence_events.py +174 -0
  44. capo_location-0.1.0/src/capo_location/_operations/location_service/get_device_position.py +173 -0
  45. capo_location-0.1.0/src/capo_location/_operations/location_service/get_device_position_history.py +171 -0
  46. capo_location-0.1.0/src/capo_location/_operations/location_service/get_geofence.py +170 -0
  47. capo_location-0.1.0/src/capo_location/_operations/location_service/get_job.py +164 -0
  48. capo_location-0.1.0/src/capo_location/_operations/location_service/get_map_glyphs.py +176 -0
  49. capo_location-0.1.0/src/capo_location/_operations/location_service/get_map_sprites.py +170 -0
  50. capo_location-0.1.0/src/capo_location/_operations/location_service/get_map_style_descriptor.py +175 -0
  51. capo_location-0.1.0/src/capo_location/_operations/location_service/get_map_tile.py +172 -0
  52. capo_location-0.1.0/src/capo_location/_operations/location_service/get_place.py +165 -0
  53. capo_location-0.1.0/src/capo_location/_operations/location_service/list_device_positions.py +164 -0
  54. capo_location-0.1.0/src/capo_location/_operations/location_service/list_geofence_collections.py +159 -0
  55. capo_location-0.1.0/src/capo_location/_operations/location_service/list_geofences.py +171 -0
  56. capo_location-0.1.0/src/capo_location/_operations/location_service/list_jobs.py +157 -0
  57. capo_location-0.1.0/src/capo_location/_operations/location_service/list_keys.py +157 -0
  58. capo_location-0.1.0/src/capo_location/_operations/location_service/list_maps.py +156 -0
  59. capo_location-0.1.0/src/capo_location/_operations/location_service/list_place_indexes.py +163 -0
  60. capo_location-0.1.0/src/capo_location/_operations/location_service/list_route_calculators.py +159 -0
  61. capo_location-0.1.0/src/capo_location/_operations/location_service/list_tags_for_resource.py +162 -0
  62. capo_location-0.1.0/src/capo_location/_operations/location_service/list_tracker_consumers.py +168 -0
  63. capo_location-0.1.0/src/capo_location/_operations/location_service/list_trackers.py +161 -0
  64. capo_location-0.1.0/src/capo_location/_operations/location_service/put_geofence.py +178 -0
  65. capo_location-0.1.0/src/capo_location/_operations/location_service/search_place_index_for_position.py +172 -0
  66. capo_location-0.1.0/src/capo_location/_operations/location_service/search_place_index_for_suggestions.py +175 -0
  67. capo_location-0.1.0/src/capo_location/_operations/location_service/search_place_index_for_text.py +173 -0
  68. capo_location-0.1.0/src/capo_location/_operations/location_service/start_job.py +160 -0
  69. capo_location-0.1.0/src/capo_location/_operations/location_service/tag_resource.py +159 -0
  70. capo_location-0.1.0/src/capo_location/_operations/location_service/untag_resource.py +158 -0
  71. capo_location-0.1.0/src/capo_location/_operations/location_service/update_geofence_collection.py +166 -0
  72. capo_location-0.1.0/src/capo_location/_operations/location_service/update_key.py +164 -0
  73. capo_location-0.1.0/src/capo_location/_operations/location_service/update_map.py +164 -0
  74. capo_location-0.1.0/src/capo_location/_operations/location_service/update_place_index.py +171 -0
  75. capo_location-0.1.0/src/capo_location/_operations/location_service/update_route_calculator.py +166 -0
  76. capo_location-0.1.0/src/capo_location/_operations/location_service/update_tracker.py +168 -0
  77. capo_location-0.1.0/src/capo_location/_operations/location_service/verify_device_position.py +171 -0
  78. capo_location-0.1.0/src/capo_location/_pagination.py +21 -0
  79. capo_location-0.1.0/src/capo_location/_protocol/__init__.py +1 -0
  80. capo_location-0.1.0/src/capo_location/_protocol/errors.py +93 -0
  81. capo_location-0.1.0/src/capo_location/_protocol/eventstream.py +238 -0
  82. capo_location-0.1.0/src/capo_location/_protocol/serialize.py +47 -0
  83. capo_location-0.1.0/src/capo_location/_protocol/xml.py +33 -0
  84. capo_location-0.1.0/src/capo_location/_resources/location_service/api_key_resource.py +638 -0
  85. capo_location-0.1.0/src/capo_location/_resources/location_service/generic_resource.py +337 -0
  86. capo_location-0.1.0/src/capo_location/_resources/location_service/geofence_collection_resource.py +1414 -0
  87. capo_location-0.1.0/src/capo_location/_resources/location_service/job_resource.py +492 -0
  88. capo_location-0.1.0/src/capo_location/_resources/location_service/map_resource.py +1056 -0
  89. capo_location-0.1.0/src/capo_location/_resources/location_service/place_index_resource.py +1206 -0
  90. capo_location-0.1.0/src/capo_location/_resources/location_service/route_calculator_resource.py +1001 -0
  91. capo_location-0.1.0/src/capo_location/_resources/location_service/tracker_resource.py +1795 -0
  92. capo_location-0.1.0/src/capo_location/_rule_engine/__init__.py +0 -0
  93. capo_location-0.1.0/src/capo_location/_rule_engine/_aws_partition.py +160 -0
  94. capo_location-0.1.0/src/capo_location/_rule_engine/_endpoint_rule_set.py +136 -0
  95. capo_location-0.1.0/src/capo_location/_rule_engine/_endpoint_runtime.py +389 -0
  96. capo_location-0.1.0/src/capo_location/_services/_aws_config.py +160 -0
  97. capo_location-0.1.0/src/capo_location/_services/_pipeline.py +198 -0
  98. capo_location-0.1.0/src/capo_location/_services/async_location.py +152 -0
  99. capo_location-0.1.0/src/capo_location/_services/location.py +146 -0
  100. capo_location-0.1.0/src/capo_location/errors/__init__.py +36 -0
  101. capo_location-0.1.0/src/capo_location/errors/_base.py +94 -0
  102. capo_location-0.1.0/src/capo_location/errors/access_denied_exception.py +47 -0
  103. capo_location-0.1.0/src/capo_location/errors/conflict_exception.py +45 -0
  104. capo_location-0.1.0/src/capo_location/errors/internal_server_exception.py +47 -0
  105. capo_location-0.1.0/src/capo_location/errors/resource_not_found_exception.py +47 -0
  106. capo_location-0.1.0/src/capo_location/errors/service_quota_exceeded_exception.py +50 -0
  107. capo_location-0.1.0/src/capo_location/errors/throttling_exception.py +45 -0
  108. capo_location-0.1.0/src/capo_location/errors/validation_exception.py +77 -0
  109. capo_location-0.1.0/src/capo_location/py.typed +0 -0
  110. capo_location-0.1.0/src/capo_location/types/_prelude/blob.py +12 -0
  111. capo_location-0.1.0/src/capo_location/types/_prelude/timestamp.py +17 -0
  112. capo_location-0.1.0/src/capo_location/types/android_app.py +41 -0
  113. capo_location-0.1.0/src/capo_location/types/android_app_list.py +29 -0
  114. capo_location-0.1.0/src/capo_location/types/android_package_name.py +5 -0
  115. capo_location-0.1.0/src/capo_location/types/api_key.py +5 -0
  116. capo_location-0.1.0/src/capo_location/types/api_key_action.py +5 -0
  117. capo_location-0.1.0/src/capo_location/types/api_key_action_list.py +17 -0
  118. capo_location-0.1.0/src/capo_location/types/api_key_filter.py +28 -0
  119. capo_location-0.1.0/src/capo_location/types/api_key_restrictions.py +108 -0
  120. capo_location-0.1.0/src/capo_location/types/apple_app.py +31 -0
  121. capo_location-0.1.0/src/capo_location/types/apple_app_list.py +29 -0
  122. capo_location-0.1.0/src/capo_location/types/apple_bundle_id.py +5 -0
  123. capo_location-0.1.0/src/capo_location/types/arn.py +5 -0
  124. capo_location-0.1.0/src/capo_location/types/arn_list.py +17 -0
  125. capo_location-0.1.0/src/capo_location/types/associate_tracker_consumer_request.py +36 -0
  126. capo_location-0.1.0/src/capo_location/types/associate_tracker_consumer_response.py +18 -0
  127. capo_location-0.1.0/src/capo_location/types/base64_encoded_geobuf.py +15 -0
  128. capo_location-0.1.0/src/capo_location/types/batch_delete_device_position_history_error.py +48 -0
  129. capo_location-0.1.0/src/capo_location/types/batch_delete_device_position_history_error_list.py +39 -0
  130. capo_location-0.1.0/src/capo_location/types/batch_delete_device_position_history_request.py +44 -0
  131. capo_location-0.1.0/src/capo_location/types/batch_delete_device_position_history_response.py +45 -0
  132. capo_location-0.1.0/src/capo_location/types/batch_delete_geofence_error.py +45 -0
  133. capo_location-0.1.0/src/capo_location/types/batch_delete_geofence_error_list.py +33 -0
  134. capo_location-0.1.0/src/capo_location/types/batch_delete_geofence_request.py +42 -0
  135. capo_location-0.1.0/src/capo_location/types/batch_delete_geofence_response.py +41 -0
  136. capo_location-0.1.0/src/capo_location/types/batch_evaluate_geofences_error.py +61 -0
  137. capo_location-0.1.0/src/capo_location/types/batch_evaluate_geofences_error_list.py +35 -0
  138. capo_location-0.1.0/src/capo_location/types/batch_evaluate_geofences_request.py +50 -0
  139. capo_location-0.1.0/src/capo_location/types/batch_evaluate_geofences_response.py +43 -0
  140. capo_location-0.1.0/src/capo_location/types/batch_get_device_position_error.py +45 -0
  141. capo_location-0.1.0/src/capo_location/types/batch_get_device_position_error_list.py +35 -0
  142. capo_location-0.1.0/src/capo_location/types/batch_get_device_position_request.py +40 -0
  143. capo_location-0.1.0/src/capo_location/types/batch_get_device_position_response.py +63 -0
  144. capo_location-0.1.0/src/capo_location/types/batch_item_error.py +34 -0
  145. capo_location-0.1.0/src/capo_location/types/batch_item_error_code.py +5 -0
  146. capo_location-0.1.0/src/capo_location/types/batch_put_geofence_error.py +45 -0
  147. capo_location-0.1.0/src/capo_location/types/batch_put_geofence_error_list.py +31 -0
  148. capo_location-0.1.0/src/capo_location/types/batch_put_geofence_request.py +46 -0
  149. capo_location-0.1.0/src/capo_location/types/batch_put_geofence_request_entry.py +62 -0
  150. capo_location-0.1.0/src/capo_location/types/batch_put_geofence_request_entry_list.py +35 -0
  151. capo_location-0.1.0/src/capo_location/types/batch_put_geofence_response.py +63 -0
  152. capo_location-0.1.0/src/capo_location/types/batch_put_geofence_success.py +62 -0
  153. capo_location-0.1.0/src/capo_location/types/batch_put_geofence_success_list.py +33 -0
  154. capo_location-0.1.0/src/capo_location/types/batch_update_device_position_error.py +63 -0
  155. capo_location-0.1.0/src/capo_location/types/batch_update_device_position_error_list.py +37 -0
  156. capo_location-0.1.0/src/capo_location/types/batch_update_device_position_request.py +44 -0
  157. capo_location-0.1.0/src/capo_location/types/batch_update_device_position_response.py +43 -0
  158. capo_location-0.1.0/src/capo_location/types/bounding_box.py +25 -0
  159. capo_location-0.1.0/src/capo_location/types/calculate_route_car_mode_options.py +34 -0
  160. capo_location-0.1.0/src/capo_location/types/calculate_route_matrix_request.py +144 -0
  161. capo_location-0.1.0/src/capo_location/types/calculate_route_matrix_response.py +100 -0
  162. capo_location-0.1.0/src/capo_location/types/calculate_route_matrix_summary.py +52 -0
  163. capo_location-0.1.0/src/capo_location/types/calculate_route_request.py +190 -0
  164. capo_location-0.1.0/src/capo_location/types/calculate_route_response.py +51 -0
  165. capo_location-0.1.0/src/capo_location/types/calculate_route_summary.py +85 -0
  166. capo_location-0.1.0/src/capo_location/types/calculate_route_truck_mode_options.py +62 -0
  167. capo_location-0.1.0/src/capo_location/types/cancel_job_request.py +31 -0
  168. capo_location-0.1.0/src/capo_location/types/cancel_job_response.py +47 -0
  169. capo_location-0.1.0/src/capo_location/types/cell_signals.py +41 -0
  170. capo_location-0.1.0/src/capo_location/types/circle.py +51 -0
  171. capo_location-0.1.0/src/capo_location/types/client_token.py +5 -0
  172. capo_location-0.1.0/src/capo_location/types/country_code3.py +5 -0
  173. capo_location-0.1.0/src/capo_location/types/country_code3_or_empty.py +5 -0
  174. capo_location-0.1.0/src/capo_location/types/country_code_list.py +17 -0
  175. capo_location-0.1.0/src/capo_location/types/create_geofence_collection_request.py +73 -0
  176. capo_location-0.1.0/src/capo_location/types/create_geofence_collection_response.py +61 -0
  177. capo_location-0.1.0/src/capo_location/types/create_key_request.py +88 -0
  178. capo_location-0.1.0/src/capo_location/types/create_key_response.py +63 -0
  179. capo_location-0.1.0/src/capo_location/types/create_map_request.py +74 -0
  180. capo_location-0.1.0/src/capo_location/types/create_map_response.py +55 -0
  181. capo_location-0.1.0/src/capo_location/types/create_place_index_request.py +86 -0
  182. capo_location-0.1.0/src/capo_location/types/create_place_index_response.py +55 -0
  183. capo_location-0.1.0/src/capo_location/types/create_route_calculator_request.py +67 -0
  184. capo_location-0.1.0/src/capo_location/types/create_route_calculator_response.py +59 -0
  185. capo_location-0.1.0/src/capo_location/types/create_tracker_request.py +94 -0
  186. capo_location-0.1.0/src/capo_location/types/create_tracker_response.py +55 -0
  187. capo_location-0.1.0/src/capo_location/types/custom_layer.py +5 -0
  188. capo_location-0.1.0/src/capo_location/types/custom_layer_list.py +17 -0
  189. capo_location-0.1.0/src/capo_location/types/data_source_configuration.py +28 -0
  190. capo_location-0.1.0/src/capo_location/types/delete_geofence_collection_request.py +24 -0
  191. capo_location-0.1.0/src/capo_location/types/delete_geofence_collection_response.py +18 -0
  192. capo_location-0.1.0/src/capo_location/types/delete_key_request.py +26 -0
  193. capo_location-0.1.0/src/capo_location/types/delete_key_response.py +18 -0
  194. capo_location-0.1.0/src/capo_location/types/delete_map_request.py +24 -0
  195. capo_location-0.1.0/src/capo_location/types/delete_map_response.py +18 -0
  196. capo_location-0.1.0/src/capo_location/types/delete_place_index_request.py +24 -0
  197. capo_location-0.1.0/src/capo_location/types/delete_place_index_response.py +18 -0
  198. capo_location-0.1.0/src/capo_location/types/delete_route_calculator_request.py +24 -0
  199. capo_location-0.1.0/src/capo_location/types/delete_route_calculator_response.py +18 -0
  200. capo_location-0.1.0/src/capo_location/types/delete_tracker_request.py +24 -0
  201. capo_location-0.1.0/src/capo_location/types/delete_tracker_response.py +18 -0
  202. capo_location-0.1.0/src/capo_location/types/describe_geofence_collection_request.py +24 -0
  203. capo_location-0.1.0/src/capo_location/types/describe_geofence_collection_response.py +125 -0
  204. capo_location-0.1.0/src/capo_location/types/describe_key_request.py +24 -0
  205. capo_location-0.1.0/src/capo_location/types/describe_key_response.py +128 -0
  206. capo_location-0.1.0/src/capo_location/types/describe_map_request.py +24 -0
  207. capo_location-0.1.0/src/capo_location/types/describe_map_response.py +119 -0
  208. capo_location-0.1.0/src/capo_location/types/describe_place_index_request.py +24 -0
  209. capo_location-0.1.0/src/capo_location/types/describe_place_index_response.py +127 -0
  210. capo_location-0.1.0/src/capo_location/types/describe_route_calculator_request.py +24 -0
  211. capo_location-0.1.0/src/capo_location/types/describe_route_calculator_response.py +115 -0
  212. capo_location-0.1.0/src/capo_location/types/describe_tracker_request.py +24 -0
  213. capo_location-0.1.0/src/capo_location/types/describe_tracker_response.py +132 -0
  214. capo_location-0.1.0/src/capo_location/types/device_ids_list.py +17 -0
  215. capo_location-0.1.0/src/capo_location/types/device_position.py +111 -0
  216. capo_location-0.1.0/src/capo_location/types/device_position_list.py +31 -0
  217. capo_location-0.1.0/src/capo_location/types/device_position_update.py +97 -0
  218. capo_location-0.1.0/src/capo_location/types/device_position_update_list.py +31 -0
  219. capo_location-0.1.0/src/capo_location/types/device_state.py +117 -0
  220. capo_location-0.1.0/src/capo_location/types/dimension_unit.py +5 -0
  221. capo_location-0.1.0/src/capo_location/types/disassociate_tracker_consumer_request.py +27 -0
  222. capo_location-0.1.0/src/capo_location/types/disassociate_tracker_consumer_response.py +18 -0
  223. capo_location-0.1.0/src/capo_location/types/distance_unit.py +5 -0
  224. capo_location-0.1.0/src/capo_location/types/earfcn.py +5 -0
  225. capo_location-0.1.0/src/capo_location/types/eutran_cell_id.py +5 -0
  226. capo_location-0.1.0/src/capo_location/types/filter_place_category_list.py +19 -0
  227. capo_location-0.1.0/src/capo_location/types/forecast_geofence_events_device_state.py +53 -0
  228. capo_location-0.1.0/src/capo_location/types/forecast_geofence_events_request.py +89 -0
  229. capo_location-0.1.0/src/capo_location/types/forecast_geofence_events_response.py +68 -0
  230. capo_location-0.1.0/src/capo_location/types/forecasted_event.py +102 -0
  231. capo_location-0.1.0/src/capo_location/types/forecasted_events_list.py +31 -0
  232. capo_location-0.1.0/src/capo_location/types/forecasted_geofence_event_type.py +5 -0
  233. capo_location-0.1.0/src/capo_location/types/geo_arn.py +5 -0
  234. capo_location-0.1.0/src/capo_location/types/geo_arn_list.py +17 -0
  235. capo_location-0.1.0/src/capo_location/types/geo_arn_v2.py +5 -0
  236. capo_location-0.1.0/src/capo_location/types/geofence_geometry.py +79 -0
  237. capo_location-0.1.0/src/capo_location/types/get_device_position_history_request.py +69 -0
  238. capo_location-0.1.0/src/capo_location/types/get_device_position_history_response.py +50 -0
  239. capo_location-0.1.0/src/capo_location/types/get_device_position_request.py +27 -0
  240. capo_location-0.1.0/src/capo_location/types/get_device_position_response.py +111 -0
  241. capo_location-0.1.0/src/capo_location/types/get_geofence_request.py +27 -0
  242. capo_location-0.1.0/src/capo_location/types/get_geofence_response.py +100 -0
  243. capo_location-0.1.0/src/capo_location/types/get_job_request.py +24 -0
  244. capo_location-0.1.0/src/capo_location/types/get_job_response.py +180 -0
  245. capo_location-0.1.0/src/capo_location/types/get_map_glyphs_request.py +31 -0
  246. capo_location-0.1.0/src/capo_location/types/get_map_glyphs_response.py +31 -0
  247. capo_location-0.1.0/src/capo_location/types/get_map_sprites_request.py +29 -0
  248. capo_location-0.1.0/src/capo_location/types/get_map_sprites_response.py +31 -0
  249. capo_location-0.1.0/src/capo_location/types/get_map_style_descriptor_request.py +27 -0
  250. capo_location-0.1.0/src/capo_location/types/get_map_style_descriptor_response.py +31 -0
  251. capo_location-0.1.0/src/capo_location/types/get_map_tile_request.py +34 -0
  252. capo_location-0.1.0/src/capo_location/types/get_map_tile_response.py +31 -0
  253. capo_location-0.1.0/src/capo_location/types/get_place_request.py +33 -0
  254. capo_location-0.1.0/src/capo_location/types/get_place_response.py +35 -0
  255. capo_location-0.1.0/src/capo_location/types/iam_role_arn.py +5 -0
  256. capo_location-0.1.0/src/capo_location/types/id.py +5 -0
  257. capo_location-0.1.0/src/capo_location/types/id_list.py +17 -0
  258. capo_location-0.1.0/src/capo_location/types/inferred_state.py +72 -0
  259. capo_location-0.1.0/src/capo_location/types/intended_use.py +5 -0
  260. capo_location-0.1.0/src/capo_location/types/job_action.py +5 -0
  261. capo_location-0.1.0/src/capo_location/types/job_action_options.py +42 -0
  262. capo_location-0.1.0/src/capo_location/types/job_error.py +48 -0
  263. capo_location-0.1.0/src/capo_location/types/job_error_code.py +5 -0
  264. capo_location-0.1.0/src/capo_location/types/job_error_message.py +5 -0
  265. capo_location-0.1.0/src/capo_location/types/job_error_messages_list.py +19 -0
  266. capo_location-0.1.0/src/capo_location/types/job_id.py +5 -0
  267. capo_location-0.1.0/src/capo_location/types/job_input_format.py +5 -0
  268. capo_location-0.1.0/src/capo_location/types/job_input_location.py +5 -0
  269. capo_location-0.1.0/src/capo_location/types/job_input_options.py +39 -0
  270. capo_location-0.1.0/src/capo_location/types/job_output_format.py +5 -0
  271. capo_location-0.1.0/src/capo_location/types/job_output_location.py +5 -0
  272. capo_location-0.1.0/src/capo_location/types/job_output_options.py +39 -0
  273. capo_location-0.1.0/src/capo_location/types/job_status.py +5 -0
  274. capo_location-0.1.0/src/capo_location/types/jobs_filter.py +28 -0
  275. capo_location-0.1.0/src/capo_location/types/kms_key_id.py +5 -0
  276. capo_location-0.1.0/src/capo_location/types/language_tag.py +5 -0
  277. capo_location-0.1.0/src/capo_location/types/large_token.py +5 -0
  278. capo_location-0.1.0/src/capo_location/types/leg.py +112 -0
  279. capo_location-0.1.0/src/capo_location/types/leg_geometry.py +36 -0
  280. capo_location-0.1.0/src/capo_location/types/leg_list.py +29 -0
  281. capo_location-0.1.0/src/capo_location/types/line_string.py +29 -0
  282. capo_location-0.1.0/src/capo_location/types/linear_ring.py +29 -0
  283. capo_location-0.1.0/src/capo_location/types/linear_rings.py +29 -0
  284. capo_location-0.1.0/src/capo_location/types/list_device_positions_request.py +58 -0
  285. capo_location-0.1.0/src/capo_location/types/list_device_positions_response.py +50 -0
  286. capo_location-0.1.0/src/capo_location/types/list_device_positions_response_entry.py +101 -0
  287. capo_location-0.1.0/src/capo_location/types/list_device_positions_response_entry_list.py +39 -0
  288. capo_location-0.1.0/src/capo_location/types/list_geofence_collections_request.py +34 -0
  289. capo_location-0.1.0/src/capo_location/types/list_geofence_collections_response.py +50 -0
  290. capo_location-0.1.0/src/capo_location/types/list_geofence_collections_response_entry.py +91 -0
  291. capo_location-0.1.0/src/capo_location/types/list_geofence_collections_response_entry_list.py +39 -0
  292. capo_location-0.1.0/src/capo_location/types/list_geofence_response_entry.py +100 -0
  293. capo_location-0.1.0/src/capo_location/types/list_geofence_response_entry_list.py +35 -0
  294. capo_location-0.1.0/src/capo_location/types/list_geofences_request.py +37 -0
  295. capo_location-0.1.0/src/capo_location/types/list_geofences_response.py +50 -0
  296. capo_location-0.1.0/src/capo_location/types/list_jobs_request.py +45 -0
  297. capo_location-0.1.0/src/capo_location/types/list_jobs_response.py +50 -0
  298. capo_location-0.1.0/src/capo_location/types/list_jobs_response_entry.py +169 -0
  299. capo_location-0.1.0/src/capo_location/types/list_jobs_response_entry_list.py +31 -0
  300. capo_location-0.1.0/src/capo_location/types/list_keys_request.py +49 -0
  301. capo_location-0.1.0/src/capo_location/types/list_keys_response.py +50 -0
  302. capo_location-0.1.0/src/capo_location/types/list_keys_response_entry.py +101 -0
  303. capo_location-0.1.0/src/capo_location/types/list_keys_response_entry_list.py +31 -0
  304. capo_location-0.1.0/src/capo_location/types/list_maps_request.py +34 -0
  305. capo_location-0.1.0/src/capo_location/types/list_maps_response.py +50 -0
  306. capo_location-0.1.0/src/capo_location/types/list_maps_response_entry.py +84 -0
  307. capo_location-0.1.0/src/capo_location/types/list_maps_response_entry_list.py +31 -0
  308. capo_location-0.1.0/src/capo_location/types/list_place_indexes_request.py +34 -0
  309. capo_location-0.1.0/src/capo_location/types/list_place_indexes_response.py +50 -0
  310. capo_location-0.1.0/src/capo_location/types/list_place_indexes_response_entry.py +84 -0
  311. capo_location-0.1.0/src/capo_location/types/list_place_indexes_response_entry_list.py +35 -0
  312. capo_location-0.1.0/src/capo_location/types/list_route_calculators_request.py +34 -0
  313. capo_location-0.1.0/src/capo_location/types/list_route_calculators_response.py +50 -0
  314. capo_location-0.1.0/src/capo_location/types/list_route_calculators_response_entry.py +94 -0
  315. capo_location-0.1.0/src/capo_location/types/list_route_calculators_response_entry_list.py +39 -0
  316. capo_location-0.1.0/src/capo_location/types/list_tags_for_resource_request.py +24 -0
  317. capo_location-0.1.0/src/capo_location/types/list_tags_for_resource_response.py +32 -0
  318. capo_location-0.1.0/src/capo_location/types/list_tracker_consumers_request.py +37 -0
  319. capo_location-0.1.0/src/capo_location/types/list_tracker_consumers_response.py +48 -0
  320. capo_location-0.1.0/src/capo_location/types/list_trackers_request.py +34 -0
  321. capo_location-0.1.0/src/capo_location/types/list_trackers_response.py +50 -0
  322. capo_location-0.1.0/src/capo_location/types/list_trackers_response_entry.py +83 -0
  323. capo_location-0.1.0/src/capo_location/types/list_trackers_response_entry_list.py +35 -0
  324. capo_location-0.1.0/src/capo_location/types/lte_cell_details.py +121 -0
  325. capo_location-0.1.0/src/capo_location/types/lte_cell_details_list.py +31 -0
  326. capo_location-0.1.0/src/capo_location/types/lte_local_id.py +37 -0
  327. capo_location-0.1.0/src/capo_location/types/lte_network_measurements.py +67 -0
  328. capo_location-0.1.0/src/capo_location/types/lte_network_measurements_list.py +31 -0
  329. capo_location-0.1.0/src/capo_location/types/map_configuration.py +53 -0
  330. capo_location-0.1.0/src/capo_location/types/map_configuration_update.py +45 -0
  331. capo_location-0.1.0/src/capo_location/types/map_style.py +5 -0
  332. capo_location-0.1.0/src/capo_location/types/multi_linear_rings.py +29 -0
  333. capo_location-0.1.0/src/capo_location/types/nearest_distance.py +5 -0
  334. capo_location-0.1.0/src/capo_location/types/optimization_mode.py +5 -0
  335. capo_location-0.1.0/src/capo_location/types/pci.py +5 -0
  336. capo_location-0.1.0/src/capo_location/types/place.py +171 -0
  337. capo_location-0.1.0/src/capo_location/types/place_category.py +5 -0
  338. capo_location-0.1.0/src/capo_location/types/place_category_list.py +17 -0
  339. capo_location-0.1.0/src/capo_location/types/place_geometry.py +32 -0
  340. capo_location-0.1.0/src/capo_location/types/place_id.py +5 -0
  341. capo_location-0.1.0/src/capo_location/types/place_index_search_result_limit.py +5 -0
  342. capo_location-0.1.0/src/capo_location/types/place_supplemental_category.py +5 -0
  343. capo_location-0.1.0/src/capo_location/types/place_supplemental_category_list.py +19 -0
  344. capo_location-0.1.0/src/capo_location/types/position.py +25 -0
  345. capo_location-0.1.0/src/capo_location/types/position_filtering.py +5 -0
  346. capo_location-0.1.0/src/capo_location/types/position_list.py +29 -0
  347. capo_location-0.1.0/src/capo_location/types/position_property_map.py +22 -0
  348. capo_location-0.1.0/src/capo_location/types/positional_accuracy.py +39 -0
  349. capo_location-0.1.0/src/capo_location/types/pricing_plan.py +5 -0
  350. capo_location-0.1.0/src/capo_location/types/property_map.py +22 -0
  351. capo_location-0.1.0/src/capo_location/types/put_geofence_request.py +60 -0
  352. capo_location-0.1.0/src/capo_location/types/put_geofence_response.py +62 -0
  353. capo_location-0.1.0/src/capo_location/types/referer_pattern.py +5 -0
  354. capo_location-0.1.0/src/capo_location/types/referer_pattern_list.py +19 -0
  355. capo_location-0.1.0/src/capo_location/types/resource_description.py +5 -0
  356. capo_location-0.1.0/src/capo_location/types/resource_name.py +5 -0
  357. capo_location-0.1.0/src/capo_location/types/route_matrix.py +29 -0
  358. capo_location-0.1.0/src/capo_location/types/route_matrix_entry.py +69 -0
  359. capo_location-0.1.0/src/capo_location/types/route_matrix_entry_error.py +37 -0
  360. capo_location-0.1.0/src/capo_location/types/route_matrix_error_code.py +5 -0
  361. capo_location-0.1.0/src/capo_location/types/route_matrix_row.py +31 -0
  362. capo_location-0.1.0/src/capo_location/types/rsrp.py +5 -0
  363. capo_location-0.1.0/src/capo_location/types/rsrq.py +5 -0
  364. capo_location-0.1.0/src/capo_location/types/search_for_position_result.py +58 -0
  365. capo_location-0.1.0/src/capo_location/types/search_for_position_result_list.py +33 -0
  366. capo_location-0.1.0/src/capo_location/types/search_for_suggestions_result.py +74 -0
  367. capo_location-0.1.0/src/capo_location/types/search_for_suggestions_result_list.py +35 -0
  368. capo_location-0.1.0/src/capo_location/types/search_for_text_result.py +71 -0
  369. capo_location-0.1.0/src/capo_location/types/search_for_text_result_list.py +31 -0
  370. capo_location-0.1.0/src/capo_location/types/search_place_index_for_position_request.py +61 -0
  371. capo_location-0.1.0/src/capo_location/types/search_place_index_for_position_response.py +65 -0
  372. capo_location-0.1.0/src/capo_location/types/search_place_index_for_position_summary.py +64 -0
  373. capo_location-0.1.0/src/capo_location/types/search_place_index_for_suggestions_request.py +122 -0
  374. capo_location-0.1.0/src/capo_location/types/search_place_index_for_suggestions_response.py +67 -0
  375. capo_location-0.1.0/src/capo_location/types/search_place_index_for_suggestions_summary.py +125 -0
  376. capo_location-0.1.0/src/capo_location/types/search_place_index_for_text_request.py +123 -0
  377. capo_location-0.1.0/src/capo_location/types/search_place_index_for_text_response.py +61 -0
  378. capo_location-0.1.0/src/capo_location/types/search_place_index_for_text_summary.py +140 -0
  379. capo_location-0.1.0/src/capo_location/types/sensitive_boolean.py +5 -0
  380. capo_location-0.1.0/src/capo_location/types/sensitive_double.py +5 -0
  381. capo_location-0.1.0/src/capo_location/types/sensitive_integer.py +5 -0
  382. capo_location-0.1.0/src/capo_location/types/sensitive_string.py +5 -0
  383. capo_location-0.1.0/src/capo_location/types/sha1_certificate_fingerprint.py +5 -0
  384. capo_location-0.1.0/src/capo_location/types/speed_unit.py +5 -0
  385. capo_location-0.1.0/src/capo_location/types/start_job_request.py +113 -0
  386. capo_location-0.1.0/src/capo_location/types/start_job_response.py +61 -0
  387. capo_location-0.1.0/src/capo_location/types/status.py +5 -0
  388. capo_location-0.1.0/src/capo_location/types/step.py +91 -0
  389. capo_location-0.1.0/src/capo_location/types/step_list.py +29 -0
  390. capo_location-0.1.0/src/capo_location/types/tag_key.py +5 -0
  391. capo_location-0.1.0/src/capo_location/types/tag_keys.py +14 -0
  392. capo_location-0.1.0/src/capo_location/types/tag_map.py +28 -0
  393. capo_location-0.1.0/src/capo_location/types/tag_resource_request.py +38 -0
  394. capo_location-0.1.0/src/capo_location/types/tag_resource_response.py +18 -0
  395. capo_location-0.1.0/src/capo_location/types/tag_value.py +5 -0
  396. capo_location-0.1.0/src/capo_location/types/time_zone.py +38 -0
  397. capo_location-0.1.0/src/capo_location/types/timestamp.py +20 -0
  398. capo_location-0.1.0/src/capo_location/types/token.py +5 -0
  399. capo_location-0.1.0/src/capo_location/types/tracking_filter_geometry.py +36 -0
  400. capo_location-0.1.0/src/capo_location/types/travel_mode.py +5 -0
  401. capo_location-0.1.0/src/capo_location/types/truck_dimensions.py +71 -0
  402. capo_location-0.1.0/src/capo_location/types/truck_weight.py +43 -0
  403. capo_location-0.1.0/src/capo_location/types/untag_resource_request.py +27 -0
  404. capo_location-0.1.0/src/capo_location/types/untag_resource_response.py +18 -0
  405. capo_location-0.1.0/src/capo_location/types/update_geofence_collection_request.py +46 -0
  406. capo_location-0.1.0/src/capo_location/types/update_geofence_collection_response.py +61 -0
  407. capo_location-0.1.0/src/capo_location/types/update_key_request.py +77 -0
  408. capo_location-0.1.0/src/capo_location/types/update_key_response.py +55 -0
  409. capo_location-0.1.0/src/capo_location/types/update_map_request.py +61 -0
  410. capo_location-0.1.0/src/capo_location/types/update_map_response.py +55 -0
  411. capo_location-0.1.0/src/capo_location/types/update_place_index_request.py +61 -0
  412. capo_location-0.1.0/src/capo_location/types/update_place_index_response.py +55 -0
  413. capo_location-0.1.0/src/capo_location/types/update_route_calculator_request.py +40 -0
  414. capo_location-0.1.0/src/capo_location/types/update_route_calculator_response.py +59 -0
  415. capo_location-0.1.0/src/capo_location/types/update_tracker_request.py +69 -0
  416. capo_location-0.1.0/src/capo_location/types/update_tracker_response.py +55 -0
  417. capo_location-0.1.0/src/capo_location/types/uuid.py +5 -0
  418. capo_location-0.1.0/src/capo_location/types/validate_address_action_options.py +42 -0
  419. capo_location-0.1.0/src/capo_location/types/validate_address_additional_feature.py +5 -0
  420. capo_location-0.1.0/src/capo_location/types/validate_address_additional_feature_list.py +19 -0
  421. capo_location-0.1.0/src/capo_location/types/validation_exception_field.py +33 -0
  422. capo_location-0.1.0/src/capo_location/types/validation_exception_field_list.py +33 -0
  423. capo_location-0.1.0/src/capo_location/types/validation_exception_reason.py +5 -0
  424. capo_location-0.1.0/src/capo_location/types/vehicle_weight_unit.py +5 -0
  425. capo_location-0.1.0/src/capo_location/types/verify_device_position_request.py +49 -0
  426. capo_location-0.1.0/src/capo_location/types/verify_device_position_response.py +92 -0
  427. capo_location-0.1.0/src/capo_location/types/waypoint_position_list.py +29 -0
  428. capo_location-0.1.0/src/capo_location/types/wi_fi_access_point.py +33 -0
  429. capo_location-0.1.0/src/capo_location/types/wi_fi_access_point_list.py +31 -0
  430. capo_location-0.1.0/src/capo_location.egg-info/PKG-INFO +33 -0
  431. capo_location-0.1.0/src/capo_location.egg-info/SOURCES.txt +433 -0
  432. capo_location-0.1.0/src/capo_location.egg-info/dependency_links.txt +1 -0
  433. capo_location-0.1.0/src/capo_location.egg-info/requires.txt +6 -0
  434. capo_location-0.1.0/src/capo_location.egg-info/top_level.txt +1 -0
  435. capo_location-0.1.0/tests/test_sigv4.py +557 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Karen Petrosyan
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,33 @@
1
+ Metadata-Version: 2.4
2
+ Name: capo-location
3
+ Version: 0.1.0
4
+ Summary: Python SDK for Location.
5
+ Classifier: Development Status :: 4 - Beta
6
+ Classifier: Intended Audience :: Developers
7
+ Classifier: License :: OSI Approved :: MIT License
8
+ Classifier: Operating System :: OS Independent
9
+ Classifier: Programming Language :: Python :: 3
10
+ Classifier: Programming Language :: Python :: 3.10
11
+ Classifier: Programming Language :: Python :: 3.11
12
+ Classifier: Programming Language :: Python :: 3.12
13
+ Classifier: Programming Language :: Python :: 3.13
14
+ Classifier: Programming Language :: Python :: 3.14
15
+ Classifier: Topic :: Software Development :: Code Generators
16
+ Classifier: Typing :: Typed
17
+ Requires-Python: >=3.10
18
+ Description-Content-Type: text/markdown
19
+ License-File: LICENSE
20
+ Requires-Dist: zapros>=0.13.0
21
+ Provides-Extra: sso
22
+ Requires-Dist: capo-sso>=0.2.0; extra == "sso"
23
+ Requires-Dist: capo-sso-oidc>=0.2.0; extra == "sso"
24
+ Requires-Dist: capo-sts>=0.3.0; extra == "sso"
25
+ Dynamic: license-file
26
+
27
+ # Getting Started
28
+
29
+ ## Installation
30
+
31
+ ```
32
+ pip install capo-location
33
+ ```
@@ -0,0 +1,7 @@
1
+ # Getting Started
2
+
3
+ ## Installation
4
+
5
+ ```
6
+ pip install capo-location
7
+ ```
@@ -0,0 +1,60 @@
1
+ [project]
2
+ name = "capo-location"
3
+ version = "0.1.0"
4
+ description = "Python SDK for Location."
5
+ readme = "README.md"
6
+ requires-python = ">=3.10"
7
+ classifiers = [
8
+ "Development Status :: 4 - Beta",
9
+ "Intended Audience :: Developers",
10
+ "License :: OSI Approved :: MIT License",
11
+ "Operating System :: OS Independent",
12
+ "Programming Language :: Python :: 3",
13
+ "Programming Language :: Python :: 3.10",
14
+ "Programming Language :: Python :: 3.11",
15
+ "Programming Language :: Python :: 3.12",
16
+ "Programming Language :: Python :: 3.13",
17
+ "Programming Language :: Python :: 3.14",
18
+ "Topic :: Software Development :: Code Generators",
19
+ "Typing :: Typed",
20
+ ]
21
+ dependencies = [
22
+ "zapros>=0.13.0",
23
+ ]
24
+
25
+ [project.optional-dependencies]
26
+ # IAM Identity Center (SSO), assume-role and web-identity credentials providers
27
+ sso = [
28
+ "capo-sso>=0.2.0",
29
+ "capo-sso-oidc>=0.2.0",
30
+ "capo-sts>=0.3.0",
31
+ ]
32
+
33
+ [tool.pytest.ini_options]
34
+ pythonpath = ["src"]
35
+ testpaths = ["tests"]
36
+
37
+ [tool.ty.environment]
38
+ python-version = "3.14"
39
+ root = ["./src"]
40
+
41
+ [tool.ty.src]
42
+ include = ["src", "tests"]
43
+
44
+ [tool.ty.rules]
45
+ missing-typed-dict-key = "ignore"
46
+ unused-type-ignore-comment = "ignore"
47
+
48
+ [tool.ruff.lint]
49
+ select = ["E", "F", "I"]
50
+ ignore = ["E501", "E741"]
51
+
52
+ [dependency-groups]
53
+ dev = [
54
+ "inline-snapshot>=0.33.0",
55
+ # TODO: fix for 0.0.69
56
+ "ty==0.0.68",
57
+ "pytest>=9.0.3",
58
+ "ruff>=0.15.14",
59
+ "trio",
60
+ ]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,70 @@
1
+ from __future__ import annotations
2
+
3
+ from . import _iter as _iter
4
+ from . import _protocol as _protocol
5
+ from ._auth._identity import Credentials as Credentials
6
+ from ._auth._identity import Identity as Identity
7
+ from ._auth._providers import (
8
+ AssumeRoleCredentialsProvider as AssumeRoleCredentialsProvider,
9
+ )
10
+ from ._auth._providers import (
11
+ AssumeRoleError as AssumeRoleError,
12
+ )
13
+ from ._auth._providers import (
14
+ CachedProvider as CachedProvider,
15
+ )
16
+ from ._auth._providers import (
17
+ ChainedProvider as ChainedProvider,
18
+ )
19
+ from ._auth._providers import (
20
+ CredentialsProvider as CredentialsProvider,
21
+ )
22
+ from ._auth._providers import (
23
+ EnvCredentialsProvider as EnvCredentialsProvider,
24
+ )
25
+ from ._auth._providers import (
26
+ IdentityNotFound as IdentityNotFound,
27
+ )
28
+ from ._auth._providers import (
29
+ IdentityProvider as IdentityProvider,
30
+ )
31
+ from ._auth._providers import (
32
+ MissingDependencyError as MissingDependencyError,
33
+ )
34
+ from ._auth._providers import (
35
+ ProfileCredentialsProvider as ProfileCredentialsProvider,
36
+ )
37
+ from ._auth._providers import (
38
+ SsoCredentialsProvider as SsoCredentialsProvider,
39
+ )
40
+ from ._auth._providers import (
41
+ SSOError as SSOError,
42
+ )
43
+ from ._auth._providers import (
44
+ StaticAwsCredentialsProvider as StaticAwsCredentialsProvider,
45
+ )
46
+ from ._auth._providers import (
47
+ WebIdentityCredentialsProvider as WebIdentityCredentialsProvider,
48
+ )
49
+ from ._auth._signers import Signer as Signer
50
+ from ._auth._signers import SigV4Signer as SigV4Signer
51
+ from ._services._pipeline import (
52
+ AsyncOperationOptions as AsyncOperationOptions,
53
+ )
54
+ from ._services._pipeline import (
55
+ AsyncOperationRequest as AsyncOperationRequest,
56
+ )
57
+ from ._services._pipeline import (
58
+ AsyncOperationResponse as AsyncOperationResponse,
59
+ )
60
+ from ._services._pipeline import (
61
+ OperationOptions as OperationOptions,
62
+ )
63
+ from ._services._pipeline import (
64
+ OperationRequest as OperationRequest,
65
+ )
66
+ from ._services._pipeline import (
67
+ OperationResponse as OperationResponse,
68
+ )
69
+ from ._services.async_location import AsyncLocationClient as AsyncLocationClient
70
+ from ._services.location import LocationClient as LocationClient
@@ -0,0 +1,25 @@
1
+ from __future__ import annotations
2
+
3
+ import asyncio
4
+ from typing import TYPE_CHECKING
5
+
6
+ if TYPE_CHECKING:
7
+ import trio
8
+ else:
9
+ try:
10
+ import trio
11
+ except ImportError:
12
+ trio = None
13
+
14
+
15
+ def in_trio_run() -> bool:
16
+ if trio is None:
17
+ return False
18
+ return trio.lowlevel.in_trio_run()
19
+
20
+
21
+ async def anysleep(delay: float) -> None:
22
+ if in_trio_run():
23
+ await trio.sleep(delay)
24
+ else:
25
+ await asyncio.sleep(delay)
@@ -0,0 +1,16 @@
1
+ from __future__ import annotations
2
+
3
+ from datetime import datetime
4
+ from typing import TypedDict
5
+
6
+ from typing_extensions import NotRequired
7
+
8
+
9
+ class Identity(TypedDict):
10
+ expiration: NotRequired[datetime | None]
11
+
12
+
13
+ class Credentials(Identity):
14
+ access_key: str
15
+ secret_key: str
16
+ session_token: NotRequired[str | None]