ibee 0.4.2__tar.gz → 0.5.2__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 (433) hide show
  1. ibee-0.5.2/PKG-INFO +171 -0
  2. ibee-0.5.2/README.md +150 -0
  3. {ibee-0.4.2 → ibee-0.5.2}/pyproject.toml +1 -1
  4. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/__init__.py +261 -311
  5. ibee-0.4.2/src/ibee/client.py → ibee-0.5.2/src/ibee/base_client.py +10 -8
  6. {ibee-0.4.2/src/ibee/gpu_vms → ibee-0.5.2/src/ibee/billing}/__init__.py +4 -4
  7. ibee-0.5.2/src/ibee/billing/client.py +193 -0
  8. ibee-0.5.2/src/ibee/billing/raw_client.py +360 -0
  9. {ibee-0.4.2/src/ibee/cloud_vms → ibee-0.5.2/src/ibee/billing/types}/__init__.py +5 -4
  10. ibee-0.4.2/src/ibee/types/billing_eligibility_operation.py → ibee-0.5.2/src/ibee/billing/types/billing_eligibility_request_operation.py +2 -2
  11. ibee-0.5.2/src/ibee/billing/types/billing_eligibility_request_resource_type.py +19 -0
  12. ibee-0.5.2/src/ibee/block_storage/__init__.py +58 -0
  13. ibee-0.5.2/src/ibee/block_storage/client.py +1035 -0
  14. ibee-0.5.2/src/ibee/block_storage/raw_client.py +2056 -0
  15. ibee-0.5.2/src/ibee/block_storage/types/__init__.py +56 -0
  16. ibee-0.5.2/src/ibee/block_storage/types/attach_block_volume_request_mode.py +5 -0
  17. ibee-0.5.2/src/ibee/block_storage/types/attach_block_volume_request_vm_state.py +5 -0
  18. ibee-0.5.2/src/ibee/block_storage/types/attach_block_volume_request_vm_type.py +5 -0
  19. ibee-0.5.2/src/ibee/block_storage/types/create_block_volume_request_volume_class.py +5 -0
  20. ibee-0.5.2/src/ibee/block_storage/types/detach_block_volume_request_vm_state.py +5 -0
  21. ibee-0.5.2/src/ibee/block_storage/types/detach_block_volume_request_vm_type.py +5 -0
  22. ibee-0.5.2/src/ibee/block_storage/types/resize_block_volume_request_vm_state.py +5 -0
  23. ibee-0.5.2/src/ibee/cdn/__init__.py +52 -0
  24. ibee-0.5.2/src/ibee/cdn/client.py +1627 -0
  25. ibee-0.5.2/src/ibee/cdn/raw_client.py +3474 -0
  26. ibee-0.5.2/src/ibee/cdn/types/__init__.py +50 -0
  27. ibee-0.5.2/src/ibee/cdn/types/create_cdn_distribution_request_cache_policy.py +7 -0
  28. ibee-0.5.2/src/ibee/cdn/types/create_cdn_distribution_request_origin_type.py +5 -0
  29. ibee-0.5.2/src/ibee/cdn/types/generate_cdn_url_request_disposition.py +5 -0
  30. ibee-0.5.2/src/ibee/cdn/types/purge_cdn_cache_request_mode.py +5 -0
  31. ibee-0.5.2/src/ibee/cdn/types/update_cdn_distribution_request_cache_policy.py +7 -0
  32. ibee-0.5.2/src/ibee/client.py +126 -0
  33. ibee-0.5.2/src/ibee/cloud_vms/__init__.py +49 -0
  34. ibee-0.5.2/src/ibee/cloud_vms/client.py +4934 -0
  35. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/cloud_vms/raw_client.py +1984 -415
  36. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/cloud_vms/types/__init__.py +10 -1
  37. ibee-0.5.2/src/ibee/cloud_vms/types/create_cloud_vm_request_network_connectivity.py +5 -0
  38. ibee-0.5.2/src/ibee/cloud_vms/types/create_cloud_vm_request_vpc_attachment_mode.py +5 -0
  39. {ibee-0.4.2/src/ibee/firewalls → ibee-0.5.2/src/ibee/compute_catalog}/__init__.py +1 -0
  40. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/compute_catalog/client.py +32 -32
  41. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/compute_catalog/raw_client.py +89 -22
  42. ibee-0.5.2/src/ibee/core/api_error.py +91 -0
  43. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/core/client_wrapper.py +4 -9
  44. ibee-0.5.2/src/ibee/core/http_client.py +843 -0
  45. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/core/jsonable_encoder.py +2 -5
  46. ibee-0.5.2/src/ibee/environment.py +8 -0
  47. ibee-0.5.2/src/ibee/errors/__init__.py +71 -0
  48. ibee-0.5.2/src/ibee/errors/gateway_timeout_error.py +11 -0
  49. ibee-0.5.2/src/ibee/errors/locked_error.py +11 -0
  50. ibee-0.5.2/src/ibee/errors/too_many_requests_error.py +11 -0
  51. ibee-0.5.2/src/ibee/errors/unprocessable_entity_error.py +11 -0
  52. {ibee-0.4.2/src/ibee/reserved_ips → ibee-0.5.2/src/ibee/firewalls}/__init__.py +1 -0
  53. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/firewalls/client.py +461 -387
  54. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/firewalls/raw_client.py +507 -69
  55. ibee-0.5.2/src/ibee/gpu_vms/__init__.py +49 -0
  56. ibee-0.5.2/src/ibee/gpu_vms/client.py +4861 -0
  57. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/gpu_vms/raw_client.py +1939 -400
  58. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/gpu_vms/types/__init__.py +10 -1
  59. ibee-0.5.2/src/ibee/gpu_vms/types/create_gpu_vm_request_network_connectivity.py +5 -0
  60. ibee-0.5.2/src/ibee/gpu_vms/types/create_gpu_vm_request_vpc_attachment_mode.py +5 -0
  61. ibee-0.5.2/src/ibee/held.py +565 -0
  62. ibee-0.5.2/src/ibee/load_balancers/client.py +1037 -0
  63. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/load_balancers/raw_client.py +396 -52
  64. ibee-0.5.2/src/ibee/object_storage/client.py +977 -0
  65. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/object_storage/raw_client.py +400 -58
  66. {ibee-0.4.2/src/ibee/compute_catalog → ibee-0.5.2/src/ibee/reserved_ips}/__init__.py +1 -0
  67. ibee-0.5.2/src/ibee/reserved_ips/client.py +877 -0
  68. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/reserved_ips/raw_client.py +408 -54
  69. ibee-0.5.2/src/ibee/secret_store/client.py +3695 -0
  70. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/secret_store/raw_client.py +1726 -252
  71. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/tests/test_aiohttp_autodetect.py +5 -5
  72. ibee-0.5.2/src/ibee/transport.py +208 -0
  73. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/__init__.py +163 -101
  74. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/backup_policy_enable_request.py +6 -0
  75. ibee-0.5.2/src/ibee/types/billing_catalog_selection.py +45 -0
  76. ibee-0.4.2/src/ibee/types/error_detail.py → ibee-0.5.2/src/ibee/types/billing_catalog_selection_product_id.py +1 -1
  77. ibee-0.5.2/src/ibee/types/billing_catalog_selection_sku_id.py +5 -0
  78. ibee-0.5.2/src/ibee/types/billing_eligibility.py +60 -0
  79. ibee-0.5.2/src/ibee/types/block_volume.py +38 -0
  80. ibee-0.5.2/src/ibee/types/block_volume_action.py +22 -0
  81. ibee-0.5.2/src/ibee/types/block_volume_attachment.py +26 -0
  82. ibee-0.5.2/src/ibee/types/block_volume_attachment_mode.py +5 -0
  83. ibee-0.5.2/src/ibee/types/block_volume_delete.py +22 -0
  84. ibee-0.5.2/src/ibee/types/block_volume_delete_status.py +5 -0
  85. ibee-0.5.2/src/ibee/types/block_volume_metadata.py +23 -0
  86. ibee-0.5.2/src/ibee/types/block_volume_operation.py +31 -0
  87. ibee-0.5.2/src/ibee/types/block_volume_operation_operation.py +7 -0
  88. ibee-0.5.2/src/ibee/types/block_volume_operation_status.py +5 -0
  89. ibee-0.5.2/src/ibee/types/block_volume_state.py +7 -0
  90. ibee-0.5.2/src/ibee/types/block_volume_volume_class.py +5 -0
  91. ibee-0.5.2/src/ibee/types/cdn_cache_purge.py +23 -0
  92. ibee-0.5.2/src/ibee/types/cdn_cache_purge_mode.py +5 -0
  93. ibee-0.4.2/src/ibee/types/bucket_stats.py → ibee-0.5.2/src/ibee/types/cdn_custom_domain.py +7 -5
  94. ibee-0.5.2/src/ibee/types/cdn_custom_domain_list.py +22 -0
  95. ibee-0.5.2/src/ibee/types/cdn_custom_domain_status.py +7 -0
  96. ibee-0.5.2/src/ibee/types/cdn_custom_domain_verification.py +23 -0
  97. ibee-0.5.2/src/ibee/types/cdn_custom_domain_verification_status.py +7 -0
  98. ibee-0.5.2/src/ibee/types/cdn_distribution.py +33 -0
  99. ibee-0.4.2/src/ibee/types/attach_network_request.py → ibee-0.5.2/src/ibee/types/cdn_distribution_list.py +4 -5
  100. ibee-0.5.2/src/ibee/types/cdn_distribution_origin_type.py +5 -0
  101. ibee-0.5.2/src/ibee/types/cdn_distribution_status.py +5 -0
  102. ibee-0.5.2/src/ibee/types/cdn_website_config.py +24 -0
  103. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/cloud_vm.py +2 -10
  104. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/compute_plan.py +4 -0
  105. ibee-0.5.2/src/ibee/types/error.py +57 -0
  106. ibee-0.5.2/src/ibee/types/error_detail.py +5 -0
  107. ibee-0.5.2/src/ibee/types/generated_cdn_url.py +21 -0
  108. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/gpu_vm.py +2 -10
  109. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/load_balancer.py +1 -6
  110. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/manual_backup_run_request.py +6 -0
  111. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/nat_gateway.py +1 -13
  112. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/nat_port_forwarding_rule.py +1 -9
  113. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/reserved_ip.py +1 -14
  114. ibee-0.5.2/src/ibee/types/s3credential.py +26 -0
  115. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/snapshot_create_request.py +6 -0
  116. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/vm_attach_volume_request.py +6 -0
  117. ibee-0.5.2/src/ibee/types/vm_delete_request.py +38 -0
  118. ibee-0.5.2/src/ibee/types/vm_delete_request_public_ip_action.py +5 -0
  119. ibee-0.4.2/src/ibee/types/update_vm_request.py → ibee-0.5.2/src/ibee/types/vm_delete_request_reserved_ip_billing_catalog.py +5 -5
  120. ibee-0.5.2/src/ibee/types/vm_delete_request_reserved_ip_billing_catalog_sku_id.py +5 -0
  121. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/vm_resize_plan_request.py +6 -0
  122. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/vm_resize_root_disk_request.py +6 -0
  123. ibee-0.5.2/src/ibee/types/vpc_connectivity_type.py +5 -0
  124. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/vm_console/client.py +58 -50
  125. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/vm_console/raw_client.py +163 -20
  126. ibee-0.5.2/src/ibee/vpcs/client.py +2453 -0
  127. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/vpcs/raw_client.py +1008 -134
  128. ibee-0.5.2/src/ibee/vpcs/types/create_vpc_request_connectivity_type.py +5 -0
  129. ibee-0.5.2/src/ibee.egg-info/PKG-INFO +171 -0
  130. {ibee-0.4.2 → ibee-0.5.2}/src/ibee.egg-info/SOURCES.txt +64 -69
  131. ibee-0.5.2/tests/test_client_config.py +130 -0
  132. ibee-0.5.2/tests/test_held.py +303 -0
  133. ibee-0.5.2/tests/test_transport.py +286 -0
  134. ibee-0.4.2/PKG-INFO +0 -783
  135. ibee-0.4.2/README.md +0 -762
  136. ibee-0.4.2/src/ibee/billing/__init__.py +0 -55
  137. ibee-0.4.2/src/ibee/billing/admission.py +0 -65
  138. ibee-0.4.2/src/ibee/billing/client.py +0 -187
  139. ibee-0.4.2/src/ibee/billing/messages.py +0 -175
  140. ibee-0.4.2/src/ibee/billing/models.py +0 -20
  141. ibee-0.4.2/src/ibee/billing/raw_client.py +0 -137
  142. ibee-0.4.2/src/ibee/block_storage/__init__.py +0 -3
  143. ibee-0.4.2/src/ibee/block_storage/client.py +0 -727
  144. ibee-0.4.2/src/ibee/cdn/__init__.py +0 -3
  145. ibee-0.4.2/src/ibee/cdn/client.py +0 -525
  146. ibee-0.4.2/src/ibee/cloud_vms/client.py +0 -5021
  147. ibee-0.4.2/src/ibee/compute_workflows.py +0 -1552
  148. ibee-0.4.2/src/ibee/core/api_error.py +0 -227
  149. ibee-0.4.2/src/ibee/core/http_client.py +0 -748
  150. ibee-0.4.2/src/ibee/environment.py +0 -36
  151. ibee-0.4.2/src/ibee/errors/__init__.py +0 -128
  152. ibee-0.4.2/src/ibee/errors/api_errors.py +0 -131
  153. ibee-0.4.2/src/ibee/errors/billing_eligibility_error.py +0 -33
  154. ibee-0.4.2/src/ibee/errors/billing_errors.py +0 -128
  155. ibee-0.4.2/src/ibee/errors/compute_errors.py +0 -66
  156. ibee-0.4.2/src/ibee/errors/factory.py +0 -298
  157. ibee-0.4.2/src/ibee/errors/ibee_error.py +0 -28
  158. ibee-0.4.2/src/ibee/errors/networking_errors.py +0 -50
  159. ibee-0.4.2/src/ibee/errors/operation_errors.py +0 -69
  160. ibee-0.4.2/src/ibee/errors/secret_store_errors.py +0 -225
  161. ibee-0.4.2/src/ibee/errors/storage_errors.py +0 -52
  162. ibee-0.4.2/src/ibee/gpu_vms/client.py +0 -4978
  163. ibee-0.4.2/src/ibee/idempotency.py +0 -201
  164. ibee-0.4.2/src/ibee/load_balancers/client.py +0 -926
  165. ibee-0.4.2/src/ibee/networking_workflows.py +0 -1320
  166. ibee-0.4.2/src/ibee/object_storage/client.py +0 -765
  167. ibee-0.4.2/src/ibee/operations.py +0 -288
  168. ibee-0.4.2/src/ibee/pagination.py +0 -179
  169. ibee-0.4.2/src/ibee/reserved_ips/client.py +0 -836
  170. ibee-0.4.2/src/ibee/retry.py +0 -140
  171. ibee-0.4.2/src/ibee/secret_store/client.py +0 -1199
  172. ibee-0.4.2/src/ibee/secret_store_workflows.py +0 -546
  173. ibee-0.4.2/src/ibee/storage_workflows.py +0 -821
  174. ibee-0.4.2/src/ibee/tests/test_billing_eligibility.py +0 -120
  175. ibee-0.4.2/src/ibee/tests/test_cloud_vms_v03.py +0 -230
  176. ibee-0.4.2/src/ibee/tests/test_compute_catalog_v03.py +0 -62
  177. ibee-0.4.2/src/ibee/tests/test_networking_resources.py +0 -136
  178. ibee-0.4.2/src/ibee/tests/test_object_storage_v03.py +0 -121
  179. ibee-0.4.2/src/ibee/tests/test_single_call_creates.py +0 -91
  180. ibee-0.4.2/src/ibee/tests/test_vm_lifecycle_v03.py +0 -418
  181. ibee-0.4.2/src/ibee/types/billing_catalog_selection.py +0 -42
  182. ibee-0.4.2/src/ibee/types/billing_eligibility.py +0 -74
  183. ibee-0.4.2/src/ibee/types/billing_eligibility_enforcement_source.py +0 -7
  184. ibee-0.4.2/src/ibee/types/billing_eligibility_service_enforcement_state.py +0 -7
  185. ibee-0.4.2/src/ibee/types/bucket_summary.py +0 -21
  186. ibee-0.4.2/src/ibee/types/error.py +0 -20
  187. ibee-0.4.2/src/ibee/types/firewall_group_summary.py +0 -33
  188. ibee-0.4.2/src/ibee/types/load_balancer_custom_domain.py +0 -22
  189. ibee-0.4.2/src/ibee/types/network_interface.py +0 -26
  190. ibee-0.4.2/src/ibee/types/network_interface_status.py +0 -5
  191. ibee-0.4.2/src/ibee/types/s3credential.py +0 -38
  192. ibee-0.4.2/src/ibee/types/vpc_connectivity_type.py +0 -5
  193. ibee-0.4.2/src/ibee/types/vpc_virtual_ip.py +0 -40
  194. ibee-0.4.2/src/ibee/validation/__init__.py +0 -534
  195. ibee-0.4.2/src/ibee/validation/billing_catalog.py +0 -382
  196. ibee-0.4.2/src/ibee/validation/compute.py +0 -1000
  197. ibee-0.4.2/src/ibee/validation/network_services.py +0 -852
  198. ibee-0.4.2/src/ibee/validation/networking.py +0 -1144
  199. ibee-0.4.2/src/ibee/validation/recovery.py +0 -737
  200. ibee-0.4.2/src/ibee/validation/secret_store.py +0 -691
  201. ibee-0.4.2/src/ibee/validation/storage.py +0 -858
  202. ibee-0.4.2/src/ibee/vpcs/client.py +0 -2669
  203. ibee-0.4.2/src/ibee/vpcs/types/create_vpc_request_connectivity_type.py +0 -5
  204. ibee-0.4.2/src/ibee.egg-info/PKG-INFO +0 -783
  205. ibee-0.4.2/tests/test_authoritative_mutations.py +0 -95
  206. ibee-0.4.2/tests/test_billing_preflight_v04.py +0 -230
  207. ibee-0.4.2/tests/test_block_storage_cdn_v03.py +0 -93
  208. ibee-0.4.2/tests/test_compute_v04.py +0 -660
  209. ibee-0.4.2/tests/test_compute_validation_v04.py +0 -169
  210. ibee-0.4.2/tests/test_errors_v04.py +0 -227
  211. ibee-0.4.2/tests/test_network_services_v04.py +0 -470
  212. ibee-0.4.2/tests/test_networking_surface.py +0 -38
  213. ibee-0.4.2/tests/test_networking_v04.py +0 -615
  214. ibee-0.4.2/tests/test_object_storage.py +0 -83
  215. ibee-0.4.2/tests/test_operations_pagination_v04.py +0 -346
  216. ibee-0.4.2/tests/test_parity_alignment_v04.py +0 -238
  217. ibee-0.4.2/tests/test_recovery_v04.py +0 -530
  218. ibee-0.4.2/tests/test_retry_idempotency_v04.py +0 -315
  219. ibee-0.4.2/tests/test_review_fixes_v04.py +0 -391
  220. ibee-0.4.2/tests/test_secret_store.py +0 -286
  221. ibee-0.4.2/tests/test_secret_store_v04.py +0 -719
  222. ibee-0.4.2/tests/test_storage_v04.py +0 -724
  223. ibee-0.4.2/tests/test_validation_v04.py +0 -330
  224. ibee-0.4.2/tests/test_vm_placement.py +0 -168
  225. ibee-0.4.2/tests/test_workspace_id_validation.py +0 -73
  226. {ibee-0.4.2 → ibee-0.5.2}/LICENSE +0 -0
  227. {ibee-0.4.2 → ibee-0.5.2}/setup.cfg +0 -0
  228. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/_default_clients.py +0 -0
  229. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/cloud_vms/types/create_cloud_vm_request_os_type.py +0 -0
  230. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/cloud_vms/types/get_cloud_vm_metrics_timeseries_request_range.py +0 -0
  231. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/core/__init__.py +0 -0
  232. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/core/datetime_utils.py +0 -0
  233. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/core/file.py +0 -0
  234. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/core/force_multipart.py +0 -0
  235. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/core/http_response.py +0 -0
  236. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/core/http_sse/__init__.py +0 -0
  237. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/core/http_sse/_api.py +0 -0
  238. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/core/http_sse/_decoders.py +0 -0
  239. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/core/http_sse/_exceptions.py +0 -0
  240. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/core/http_sse/_models.py +0 -0
  241. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/core/logging.py +0 -0
  242. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/core/parse_error.py +0 -0
  243. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/core/pydantic_utilities.py +0 -0
  244. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/core/query_encoder.py +0 -0
  245. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/core/remove_none_from_dict.py +0 -0
  246. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/core/request_options.py +0 -0
  247. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/core/serialization.py +0 -0
  248. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/errors/bad_gateway_error.py +0 -0
  249. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/errors/bad_request_error.py +0 -0
  250. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/errors/conflict_error.py +0 -0
  251. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/errors/forbidden_error.py +0 -0
  252. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/errors/not_found_error.py +0 -0
  253. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/errors/payment_required_error.py +0 -0
  254. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/errors/service_unavailable_error.py +0 -0
  255. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/errors/unauthorized_error.py +0 -0
  256. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/gpu_vms/types/create_gpu_vm_request_os_type.py +0 -0
  257. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/gpu_vms/types/get_gpu_vm_metrics_timeseries_request_range.py +0 -0
  258. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/load_balancers/__init__.py +0 -0
  259. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/load_balancers/types/__init__.py +0 -0
  260. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/load_balancers/types/create_l4load_balancer_request_protocol.py +0 -0
  261. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/load_balancers/types/create_l7load_balancer_request_custom_domain.py +0 -0
  262. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/load_balancers/types/create_l7load_balancer_request_protocol.py +0 -0
  263. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/load_balancers/types/list_load_balancers_request_layer.py +0 -0
  264. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/load_balancers/types/update_l7load_balancer_request_custom_domain.py +0 -0
  265. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/object_storage/__init__.py +0 -0
  266. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/object_storage/types/__init__.py +0 -0
  267. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/object_storage/types/create_s3credential_request_bucket_scope.py +0 -0
  268. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/secret_store/__init__.py +0 -0
  269. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/secret_store/types/__init__.py +0 -0
  270. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/secret_store/types/create_secret_identity_request_auth_method.py +0 -0
  271. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/secret_store/types/create_secret_identity_request_token_policy_mode.py +0 -0
  272. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/secret_store/types/create_secret_identity_scope_request_access_mode.py +0 -0
  273. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/secret_store/types/update_secret_identity_request_token_policy_mode.py +0 -0
  274. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/secret_store/types/update_secret_identity_scope_request_access_mode.py +0 -0
  275. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/tests/conftest.py +0 -0
  276. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/attach_reserved_ip_request.py +0 -0
  277. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/backup_frequency.py +0 -0
  278. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/backup_policy.py +0 -0
  279. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/backup_policy_disable_request.py +0 -0
  280. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/backup_policy_next_run_request.py +0 -0
  281. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/backup_policy_schedule.py +0 -0
  282. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/backup_policy_update_request.py +0 -0
  283. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/backup_restore_request.py +0 -0
  284. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/backup_run.py +0 -0
  285. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/backup_run_backup_type.py +0 -0
  286. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/backup_run_capture_scope.py +0 -0
  287. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/backup_run_list.py +0 -0
  288. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/backup_run_recovery_point_type.py +0 -0
  289. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/backup_run_trigger.py +0 -0
  290. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/backup_status.py +0 -0
  291. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/batch_create_secret_item.py +0 -0
  292. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/batch_create_secret_result.py +0 -0
  293. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/batch_create_secret_result_status.py +0 -0
  294. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/batch_create_secrets_response.py +0 -0
  295. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/billing_eligibility_billing_mode.py +0 -0
  296. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/billing_eligibility_billing_state.py +0 -0
  297. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/billing_interval.py +0 -0
  298. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/bucket.py +0 -0
  299. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/bucket_list.py +0 -0
  300. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/cloud_vm_status.py +0 -0
  301. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/compute_image.py +0 -0
  302. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/compute_image_list.py +0 -0
  303. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/compute_image_os_type.py +0 -0
  304. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/compute_plan_list.py +0 -0
  305. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/compute_plan_pricing_status.py +0 -0
  306. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/compute_site.py +0 -0
  307. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/compute_site_list.py +0 -0
  308. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/create_firewall_rule_request.py +0 -0
  309. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/create_nat_port_forwarding_rule_request.py +0 -0
  310. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/create_nat_port_forwarding_rule_request_protocol.py +0 -0
  311. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/default_retention.py +0 -0
  312. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/default_retention_mode.py +0 -0
  313. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/delete_response.py +0 -0
  314. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/firewall_attachment.py +0 -0
  315. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/firewall_group.py +0 -0
  316. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/firewall_rule.py +0 -0
  317. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/firewall_rule_fields.py +0 -0
  318. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/firewall_rule_fields_action.py +0 -0
  319. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/firewall_rule_fields_direction.py +0 -0
  320. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/firewall_rule_fields_protocol.py +0 -0
  321. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/gpu_vm_status.py +0 -0
  322. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/live_drift_summary.py +0 -0
  323. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/load_balancer_backend.py +0 -0
  324. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/load_balancer_backend_type.py +0 -0
  325. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/load_balancer_endpoint.py +0 -0
  326. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/load_balancer_layer.py +0 -0
  327. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/load_balancer_protocol.py +0 -0
  328. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/load_balancer_routing.py +0 -0
  329. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/load_balancer_routing_algorithm.py +0 -0
  330. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/load_balancer_rule.py +0 -0
  331. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/load_balancer_status.py +0 -0
  332. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/load_balancer_status_response.py +0 -0
  333. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/load_balancer_tls.py +0 -0
  334. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/load_balancer_tls_mode.py +0 -0
  335. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/mount_guidance_acknowledge.py +0 -0
  336. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/mount_guidance_acknowledge_request.py +0 -0
  337. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/nat_pricing.py +0 -0
  338. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/network_allocation.py +0 -0
  339. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/network_allocation_connectivity.py +0 -0
  340. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/networking_resource_status.py +0 -0
  341. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/networking_site.py +0 -0
  342. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/operation_accepted.py +0 -0
  343. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/operation_status.py +0 -0
  344. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/operation_status_action.py +0 -0
  345. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/operation_status_status.py +0 -0
  346. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/power_action_request.py +0 -0
  347. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/recovery_point_summary.py +0 -0
  348. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/recovery_restore.py +0 -0
  349. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/recovery_restore_recovery_point_type.py +0 -0
  350. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/recovery_restore_request.py +0 -0
  351. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/recovery_restore_request_target_bandwidth_tb.py +0 -0
  352. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/recovery_restore_request_target_mode.py +0 -0
  353. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/recovery_restore_target_mode.py +0 -0
  354. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/recovery_volume_manifest_item.py +0 -0
  355. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/recovery_volume_manifest_item_role.py +0 -0
  356. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/reserved_ip_reservation_type.py +0 -0
  357. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/s3credential_created.py +0 -0
  358. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/s3credential_list.py +0 -0
  359. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/s3credential_revoked.py +0 -0
  360. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/s3credential_status.py +0 -0
  361. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/secret.py +0 -0
  362. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/secret_identity.py +0 -0
  363. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/secret_identity_access.py +0 -0
  364. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/secret_identity_access_auth_method.py +0 -0
  365. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/secret_identity_action_status.py +0 -0
  366. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/secret_identity_action_status_status.py +0 -0
  367. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/secret_identity_auth_method.py +0 -0
  368. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/secret_identity_list.py +0 -0
  369. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/secret_identity_scope.py +0 -0
  370. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/secret_identity_scope_access_mode.py +0 -0
  371. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/secret_identity_scope_list.py +0 -0
  372. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/secret_identity_status.py +0 -0
  373. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/secret_identity_token_policy_mode.py +0 -0
  374. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/secret_lifecycle_status.py +0 -0
  375. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/secret_lifecycle_status_status.py +0 -0
  376. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/secret_list.py +0 -0
  377. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/secret_status.py +0 -0
  378. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/secret_store.py +0 -0
  379. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/secret_store_list.py +0 -0
  380. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/secret_store_status.py +0 -0
  381. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/secret_value.py +0 -0
  382. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/secret_version.py +0 -0
  383. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/secret_version_summary.py +0 -0
  384. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/secret_versions.py +0 -0
  385. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/secret_versions_request.py +0 -0
  386. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/snapshot_create_request_mode.py +0 -0
  387. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/snapshot_delete_result.py +0 -0
  388. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/snapshot_delete_result_status.py +0 -0
  389. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/snapshot_set.py +0 -0
  390. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/snapshot_set_capture_scope.py +0 -0
  391. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/snapshot_set_list.py +0 -0
  392. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/snapshot_set_recovery_point_type.py +0 -0
  393. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/ssh_key_secret_ref.py +0 -0
  394. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/subnet.py +0 -0
  395. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/vm_access_update_request.py +0 -0
  396. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/vm_access_update_request_ssh_key_mode.py +0 -0
  397. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/vm_attach_volume_request_mode.py +0 -0
  398. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/vm_bandwidth_summary.py +0 -0
  399. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/vm_console_close.py +0 -0
  400. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/vm_console_session.py +0 -0
  401. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/vm_console_session_console_type.py +0 -0
  402. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/vm_console_session_status.py +0 -0
  403. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/vm_console_session_status_console_type.py +0 -0
  404. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/vm_console_state.py +0 -0
  405. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/vm_detach_volume_request.py +0 -0
  406. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/vm_event.py +0 -0
  407. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/vm_metrics.py +0 -0
  408. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/vm_metrics_monitoring_status.py +0 -0
  409. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/vm_metrics_timeseries.py +0 -0
  410. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/vm_metrics_timeseries_range.py +0 -0
  411. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/vm_metrics_timeseries_resolution.py +0 -0
  412. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/vm_metrics_vm_type.py +0 -0
  413. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/vm_resize_precheck.py +0 -0
  414. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/vm_resize_precheck_decision.py +0 -0
  415. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/vm_resize_precheck_mode.py +0 -0
  416. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/vm_resize_request.py +0 -0
  417. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/vm_resize_shape.py +0 -0
  418. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/vm_type.py +0 -0
  419. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/vpc.py +0 -0
  420. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/vpc_attached_node.py +0 -0
  421. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/vpc_attached_node_connectivity.py +0 -0
  422. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/vpc_detail.py +0 -0
  423. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/types/vpc_summary.py +0 -0
  424. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/vm_console/__init__.py +0 -0
  425. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/vm_console/types/__init__.py +0 -0
  426. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/vm_console/types/vm_console_session_create_request_console_type.py +0 -0
  427. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/vpcs/__init__.py +0 -0
  428. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/vpcs/types/__init__.py +0 -0
  429. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/vpcs/types/attach_vpc_node_request_connectivity.py +0 -0
  430. {ibee-0.4.2 → ibee-0.5.2}/src/ibee/vpcs/types/update_nat_port_forwarding_rule_request_protocol.py +0 -0
  431. {ibee-0.4.2 → ibee-0.5.2}/src/ibee.egg-info/dependency_links.txt +0 -0
  432. {ibee-0.4.2 → ibee-0.5.2}/src/ibee.egg-info/requires.txt +0 -0
  433. {ibee-0.4.2 → ibee-0.5.2}/src/ibee.egg-info/top_level.txt +0 -0
ibee-0.5.2/PKG-INFO ADDED
@@ -0,0 +1,171 @@
1
+ Metadata-Version: 2.4
2
+ Name: ibee
3
+ Version: 0.5.2
4
+ Summary: Official Python SDK for the IBEE Solutions API
5
+ Author-email: IBEE Solutions <support@ibee.ai>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://ibee.ai
8
+ Project-URL: Documentation, https://ibee.ai/docs/api-reference
9
+ Project-URL: Repository, https://github.com/devs-ibee/ibee-python
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Operating System :: OS Independent
12
+ Requires-Python: >=3.10
13
+ Description-Content-Type: text/markdown
14
+ License-File: LICENSE
15
+ Requires-Dist: httpx>=0.21.2
16
+ Requires-Dist: pydantic>=1.9.2
17
+ Requires-Dist: typing_extensions>=4.0.0
18
+ Provides-Extra: aiohttp
19
+ Requires-Dist: httpx-aiohttp; extra == "aiohttp"
20
+ Dynamic: license-file
21
+
22
+ # IBEE Solutions Python SDK
23
+
24
+ Official Python SDK for the IBEE Solutions API: cloud and GPU VMs, VPC networking,
25
+ Reserved IPs, firewalls, load balancers, object storage, Block Storage, CDN and
26
+ Secret Store.
27
+
28
+ The SDK is generated from the public API contract
29
+ ([reference](https://ibee.ai/docs/api-reference)); every operation is one method,
30
+ sync (`Ibee`) and async (`AsyncIbee`). A small hand-written layer adds configuration
31
+ from the environment, safe retries, automatic idempotency keys and errors that carry
32
+ the server's answer unchanged. The server decides everything else (prices,
33
+ eligibility, limits, states).
34
+
35
+ ## Install
36
+
37
+ ```bash
38
+ pip install ibee
39
+ ```
40
+
41
+ Python 3.10 or later.
42
+
43
+ ## Authenticate
44
+
45
+ Create a platform API token in the portal under Settings > API Tokens.
46
+
47
+ ```python
48
+ from ibee import Ibee
49
+
50
+ client = Ibee(token="ibee_prod_key_...", workspace_id="710995")
51
+ ```
52
+
53
+ Or from the environment, first match wins:
54
+
55
+ | Setting | Argument | Environment |
56
+ | --- | --- | --- |
57
+ | Token | `token=` | `IBEE_API_TOKEN`, then `IBEE_TOKEN` |
58
+ | Workspace | `workspace_id=` (each call may pass its own) | `IBEE_WORKSPACE_ID` |
59
+ | Endpoint | `base_url=`, `environment=IbeeEnvironment.DEVELOPMENT` | `IBEE_BASE_URL`, `IBEE_ENDPOINT`, then `IBEE_ENV` (`dev` or `prod`) |
60
+
61
+ The default endpoint is production, `https://api.ibee.ai/v1`. A base URL must be
62
+ `https` (`http` only for localhost). A development token is not sent to production,
63
+ or a production token to development.
64
+
65
+ ## Example
66
+
67
+ ```python
68
+ from ibee import Ibee
69
+
70
+ client = Ibee() # IBEE_API_TOKEN and IBEE_WORKSPACE_ID from the environment
71
+
72
+ sites = client.compute_catalog.list_compute_sites()
73
+ plans = client.compute_catalog.list_compute_plans(vm_type="cloud", site_id="site-1")
74
+
75
+ operation = client.cloud_vms.create_cloud_vm(
76
+ name="web-1",
77
+ site_id="site-1",
78
+ plan_id=plans.plans[0].plan_id,
79
+ template_id="ubuntu-24-04",
80
+ billing_term="HOURLY",
81
+ ssh_keys=["ssh-ed25519 AAAA... me"],
82
+ )
83
+ status = client.cloud_vms.get_compute_operation(operation.operation_id)
84
+ print(status.status) # accepted, running, ..., succeeded, failed
85
+ ```
86
+
87
+ Until the server resolves VM SKUs itself, `create_cloud_vm` and `create_gpu_vm` look
88
+ up the plan and image to fill `cpu`, `ram_mb`, `disk_gb`, `os_type`, `os_distro` and
89
+ the plan's `billing_catalog` for `billing_term`. The other temporary behaviours are
90
+ listed in [`src/ibee/held.py`](src/ibee/held.py) and the CHANGELOG.
91
+
92
+ The full method list is in [`src/ibee/reference.md`](src/ibee/reference.md).
93
+
94
+ ## Errors
95
+
96
+ Every HTTP error raises the status-named class from `ibee.errors`
97
+ (`BadRequestError`, `UnauthorizedError`, `PaymentRequiredError`, `ForbiddenError`,
98
+ `NotFoundError`, `ConflictError`, `UnprocessableEntityError`, `LockedError`,
99
+ `TooManyRequestsError`, `BadGatewayError`, `ServiceUnavailableError`,
100
+ `GatewayTimeoutError`), or `ApiError` for any other status. All of them subclass
101
+ `ibee.core.api_error.ApiError` and carry the server's answer as received:
102
+
103
+ ```python
104
+ from ibee.core.api_error import ApiError
105
+
106
+ try:
107
+ client.cloud_vms.create_cloud_vm(name="web-1", plan_id="p1", template_id="t1")
108
+ except ApiError as error:
109
+ print(error.status_code) # 402
110
+ print(error.code) # "billing_denied" (the gateway's error, or detail.code)
111
+ print(error.billing_reason) # "resource_limit_reached"
112
+ print(error.message) # the server's message, or None when it sent none
113
+ print(error.admission_context_id) # billing admission context, when present
114
+ print(error.request_id) # the x-request-id response header
115
+ print(error.body) # the body exactly as received
116
+ print(error.idempotency_key) # the key sent, to retry the same write
117
+ ```
118
+
119
+ The SDK adds no wording of its own. Bad configuration (a missing token, an unsafe base
120
+ URL, a token for the other environment) raises `ibee.client.IbeeValidationError`, a
121
+ `ValueError`, before anything is sent.
122
+
123
+ ## Retries and idempotency
124
+
125
+ - Where the contract has the `X-Idempotency-Key` header and you pass no
126
+ `idempotency_key`, the SDK sends a random one and reuses it on every retry.
127
+ - Reads (GET, HEAD, OPTIONS) are retried on 429, 502, 503 and 504.
128
+ - Writes are retried only when they carry an idempotency key, and only on 429 and
129
+ 503. VM creates (cloud and GPU) are never retried.
130
+ - A response with a billing or admission answer (`billing_reason`,
131
+ `admission_context_id`, or a billing, admission, catalog or quote code) is never
132
+ retried, and neither is any other status.
133
+ - A failed connection is retried; other network errors follow the rules above.
134
+ - At most `max_retries` retries (default 2; `Ibee(max_retries=0)` or
135
+ `request_options={"max_retries": 0}` turns them off), with exponential backoff that
136
+ honours `Retry-After`.
137
+
138
+ ## Async
139
+
140
+ ```python
141
+ import asyncio
142
+ from ibee import AsyncIbee
143
+
144
+ async def main() -> None:
145
+ client = AsyncIbee()
146
+ print(await client.cloud_vms.list_cloud_vms())
147
+
148
+ asyncio.run(main())
149
+ ```
150
+
151
+ ## Development
152
+
153
+ `src/ibee` is generated by Fern from `contract/ibee-cloud.yaml`, an exact copy of
154
+ `fern/openapi/ibee-cloud.yaml` in platform-docs, with the settings in `fern/`. The
155
+ hand-written files are listed in `src/ibee/.fernignore`. Regenerate with
156
+ `scripts/regenerate.sh` (Fern CLI 5.45.3 and Docker). Run the tests with
157
+ `pip install -e . pytest && pytest -q`.
158
+
159
+ CI checks every pull request:
160
+
161
+ - `scripts/check_generated.sh`: regenerating from `contract/ibee-cloud.yaml` gives the
162
+ committed `src/ibee` (the hand-written files aside).
163
+ - `scripts/check_contract_calls.py`: the hand-written files call only operations and
164
+ paths of `contract/ibee-cloud.yaml`.
165
+
166
+ A pull request that changes `contract/**` gets the regenerated code pushed to its
167
+ branch (`.github/workflows/regenerate.yml`).
168
+
169
+ ## License
170
+
171
+ MIT
ibee-0.5.2/README.md ADDED
@@ -0,0 +1,150 @@
1
+ # IBEE Solutions Python SDK
2
+
3
+ Official Python SDK for the IBEE Solutions API: cloud and GPU VMs, VPC networking,
4
+ Reserved IPs, firewalls, load balancers, object storage, Block Storage, CDN and
5
+ Secret Store.
6
+
7
+ The SDK is generated from the public API contract
8
+ ([reference](https://ibee.ai/docs/api-reference)); every operation is one method,
9
+ sync (`Ibee`) and async (`AsyncIbee`). A small hand-written layer adds configuration
10
+ from the environment, safe retries, automatic idempotency keys and errors that carry
11
+ the server's answer unchanged. The server decides everything else (prices,
12
+ eligibility, limits, states).
13
+
14
+ ## Install
15
+
16
+ ```bash
17
+ pip install ibee
18
+ ```
19
+
20
+ Python 3.10 or later.
21
+
22
+ ## Authenticate
23
+
24
+ Create a platform API token in the portal under Settings > API Tokens.
25
+
26
+ ```python
27
+ from ibee import Ibee
28
+
29
+ client = Ibee(token="ibee_prod_key_...", workspace_id="710995")
30
+ ```
31
+
32
+ Or from the environment, first match wins:
33
+
34
+ | Setting | Argument | Environment |
35
+ | --- | --- | --- |
36
+ | Token | `token=` | `IBEE_API_TOKEN`, then `IBEE_TOKEN` |
37
+ | Workspace | `workspace_id=` (each call may pass its own) | `IBEE_WORKSPACE_ID` |
38
+ | Endpoint | `base_url=`, `environment=IbeeEnvironment.DEVELOPMENT` | `IBEE_BASE_URL`, `IBEE_ENDPOINT`, then `IBEE_ENV` (`dev` or `prod`) |
39
+
40
+ The default endpoint is production, `https://api.ibee.ai/v1`. A base URL must be
41
+ `https` (`http` only for localhost). A development token is not sent to production,
42
+ or a production token to development.
43
+
44
+ ## Example
45
+
46
+ ```python
47
+ from ibee import Ibee
48
+
49
+ client = Ibee() # IBEE_API_TOKEN and IBEE_WORKSPACE_ID from the environment
50
+
51
+ sites = client.compute_catalog.list_compute_sites()
52
+ plans = client.compute_catalog.list_compute_plans(vm_type="cloud", site_id="site-1")
53
+
54
+ operation = client.cloud_vms.create_cloud_vm(
55
+ name="web-1",
56
+ site_id="site-1",
57
+ plan_id=plans.plans[0].plan_id,
58
+ template_id="ubuntu-24-04",
59
+ billing_term="HOURLY",
60
+ ssh_keys=["ssh-ed25519 AAAA... me"],
61
+ )
62
+ status = client.cloud_vms.get_compute_operation(operation.operation_id)
63
+ print(status.status) # accepted, running, ..., succeeded, failed
64
+ ```
65
+
66
+ Until the server resolves VM SKUs itself, `create_cloud_vm` and `create_gpu_vm` look
67
+ up the plan and image to fill `cpu`, `ram_mb`, `disk_gb`, `os_type`, `os_distro` and
68
+ the plan's `billing_catalog` for `billing_term`. The other temporary behaviours are
69
+ listed in [`src/ibee/held.py`](src/ibee/held.py) and the CHANGELOG.
70
+
71
+ The full method list is in [`src/ibee/reference.md`](src/ibee/reference.md).
72
+
73
+ ## Errors
74
+
75
+ Every HTTP error raises the status-named class from `ibee.errors`
76
+ (`BadRequestError`, `UnauthorizedError`, `PaymentRequiredError`, `ForbiddenError`,
77
+ `NotFoundError`, `ConflictError`, `UnprocessableEntityError`, `LockedError`,
78
+ `TooManyRequestsError`, `BadGatewayError`, `ServiceUnavailableError`,
79
+ `GatewayTimeoutError`), or `ApiError` for any other status. All of them subclass
80
+ `ibee.core.api_error.ApiError` and carry the server's answer as received:
81
+
82
+ ```python
83
+ from ibee.core.api_error import ApiError
84
+
85
+ try:
86
+ client.cloud_vms.create_cloud_vm(name="web-1", plan_id="p1", template_id="t1")
87
+ except ApiError as error:
88
+ print(error.status_code) # 402
89
+ print(error.code) # "billing_denied" (the gateway's error, or detail.code)
90
+ print(error.billing_reason) # "resource_limit_reached"
91
+ print(error.message) # the server's message, or None when it sent none
92
+ print(error.admission_context_id) # billing admission context, when present
93
+ print(error.request_id) # the x-request-id response header
94
+ print(error.body) # the body exactly as received
95
+ print(error.idempotency_key) # the key sent, to retry the same write
96
+ ```
97
+
98
+ The SDK adds no wording of its own. Bad configuration (a missing token, an unsafe base
99
+ URL, a token for the other environment) raises `ibee.client.IbeeValidationError`, a
100
+ `ValueError`, before anything is sent.
101
+
102
+ ## Retries and idempotency
103
+
104
+ - Where the contract has the `X-Idempotency-Key` header and you pass no
105
+ `idempotency_key`, the SDK sends a random one and reuses it on every retry.
106
+ - Reads (GET, HEAD, OPTIONS) are retried on 429, 502, 503 and 504.
107
+ - Writes are retried only when they carry an idempotency key, and only on 429 and
108
+ 503. VM creates (cloud and GPU) are never retried.
109
+ - A response with a billing or admission answer (`billing_reason`,
110
+ `admission_context_id`, or a billing, admission, catalog or quote code) is never
111
+ retried, and neither is any other status.
112
+ - A failed connection is retried; other network errors follow the rules above.
113
+ - At most `max_retries` retries (default 2; `Ibee(max_retries=0)` or
114
+ `request_options={"max_retries": 0}` turns them off), with exponential backoff that
115
+ honours `Retry-After`.
116
+
117
+ ## Async
118
+
119
+ ```python
120
+ import asyncio
121
+ from ibee import AsyncIbee
122
+
123
+ async def main() -> None:
124
+ client = AsyncIbee()
125
+ print(await client.cloud_vms.list_cloud_vms())
126
+
127
+ asyncio.run(main())
128
+ ```
129
+
130
+ ## Development
131
+
132
+ `src/ibee` is generated by Fern from `contract/ibee-cloud.yaml`, an exact copy of
133
+ `fern/openapi/ibee-cloud.yaml` in platform-docs, with the settings in `fern/`. The
134
+ hand-written files are listed in `src/ibee/.fernignore`. Regenerate with
135
+ `scripts/regenerate.sh` (Fern CLI 5.45.3 and Docker). Run the tests with
136
+ `pip install -e . pytest && pytest -q`.
137
+
138
+ CI checks every pull request:
139
+
140
+ - `scripts/check_generated.sh`: regenerating from `contract/ibee-cloud.yaml` gives the
141
+ committed `src/ibee` (the hand-written files aside).
142
+ - `scripts/check_contract_calls.py`: the hand-written files call only operations and
143
+ paths of `contract/ibee-cloud.yaml`.
144
+
145
+ A pull request that changes `contract/**` gets the regenerated code pushed to its
146
+ branch (`.github/workflows/regenerate.yml`).
147
+
148
+ ## License
149
+
150
+ MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "ibee"
7
- version = "0.4.2"
7
+ version = "0.5.2"
8
8
  description = "Official Python SDK for the IBEE Solutions API"
9
9
  readme = "README.md"
10
10
  license = "MIT"